ORG.oclc.fmts.rules
Class UpdateCurrecno
java.lang.Object
|
+--ORG.oclc.fmts.rules.RuleUtil
|
+--ORG.oclc.fmts.rules.UpdateCurrecno
- public class UpdateCurrecno
- extends RuleUtil
- implements DisplayRule
The UpdateCurrecno class is a record formatting rule that
updates the UserStateObject entity "currecno" with the current
value of the input record number. This is needed to provide
correct navigation of 'brief' or 'multifull' record displays.
- See Also:
RuleSpec
,
FormatBerUtil
,
DisplayUserData
Method Summary |
void |
doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
Updates the entity "currecno" in the UserStateObject for
the user to ensure proper interface record navigation of
brief or multifull record results in the
interface. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
UpdateCurrecno
public UpdateCurrecno()
doRule
public void doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
- Updates the entity "currecno" in the UserStateObject for
the user to ensure proper interface record navigation of
brief or multifull record results in the
interface.
- Specified by:
- doRule in interface DisplayRule
- Parameters:
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.