|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.fmts.rules.RuleUtil | +--ORG.oclc.fmts.rules.AddRecordData | +--ORG.oclc.fmts.rules.AddLocalHoldingsButton
The AddLocalHoldingsButton class is a record formatting rule that adds a hot-link button to go search the database's Holdings database to display any local holdings for the record. The HTML or Text specifications defined in the DisplayUserData object are used to delimit data found in the input record to create the formatted text.
The parameters this rule recognizes are:
&StyleTable.defaults.QueryCommand;
.
true
/false
value indicating whether any filtering
should be done by the formatting class on the data that goes into the
query anchor. The default value is true
.
&StyleTable.pages.holdingsDisplay;
.
&StyleTable.pages.holdingsDisplay;
.
&StyleTable.targets.recordDisplay;
.
BEFORE
indicates that the data from the field
gets stored in the format buffer first, then the anchor if matches.AFTER
indicates that the anchor is created, then the
data from the field gets stored in the format buffer.NO
indicates that only the anchor is created if
it matches the criteria.
beforeFieldLabel
.
fieldTrailer
.
afterFTAnchor
.
RuleSpec
,
FormatBerUtil
,
DisplayUserData
Constructor Summary | |
AddLocalHoldingsButton()
|
Method Summary | |
void |
doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
Creates a FETCH hot-link to display Full-Text for the input record based on the fields specified in the RuleSpec object and the matching criteria specified in the rules parameters. |
Methods inherited from class ORG.oclc.fmts.rules.RuleUtil |
appendEntityData,
getData,
getData,
getWrapperData,
getWrapperData,
getWrapperDataFromRuleParm,
labelMaker,
saveDataInEntity |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AddLocalHoldingsButton()
Method Detail |
public void doRule(DataDir dir, int recordNumber, RuleSpec ruleSpec, FormatBerUtil fmtUtil, DisplayUserData userData)
dir
- the DataDir object containing the data recordrecordNumber
- the record number of the item within the listruleSpec
- the field specification for locating the datafmtUtil
- the FormatBerUtil object containing the current formatted
data buffer and the formatting utilities.userData
- the DisplayUserData object containing the user's
context for formatting the data records.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |