|
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.obi.util.BookMarkEntry
The BookMarkEntry class describes a record that is being saved via the Extended Verb BookMark. A brief representation and some retrival information is stored aid in providing additional processing of the saved record.
DataPairs
,
BookMark
Field Summary | |
static int |
DBNAME
integer data type defining the fldid where the DBNAME gets added to the record. |
Vector |
duplicates
The duplicate records for the bookmark |
Constructor Summary | |
BookMarkEntry()
Constructs a null BookMark object. |
|
BookMarkEntry(DataPairs info,
Object data)
Constructs a BookMarkEntry object. |
|
BookMarkEntry(String dbName,
String fileName,
String resultSet,
int recno,
String elementSetName,
String fmtclass,
Object data)
Constructs a BookMarkEntry object. |
Method Summary | |
String |
dbName()
Retrieves the database name for the bookmark. |
String |
elementSetName()
Retrieves the elementSetName of the bookmark. |
String |
fileName()
Retrieves the Absolute filename for the bookmark. |
static BookMarkEntry |
findEntry(String resultset,
int record,
String dbname,
String ESN,
Vector userBookMarks)
Utility method that returns the BookMarkEntry object for the input resulset, recordnumber, database, and format from the user's bookmarks. |
String |
fmtClassName()
Retrieves the name of the fmt class used to format the brief bookmark. |
String |
formattedData()
Retrieves the formatted data (brief representation) for the bookmark. |
String |
get(String name)
Retrieves any of the data stored in the info DataPairs. |
DataPairs |
info()
Retrieves the bookmark's DataPairs (information used to describe the bookmark). |
String |
name()
Retrieves the file name for the bookmark. |
Object |
rawData()
Retrive the unformatted bookmark data (DataDir). |
String |
recno()
Retrieves the record number for the bookmark. |
String |
resultSet()
Retrieves the Z39.50 resultSet name for the bookmark. |
void |
saveDuplicate(String dbName,
String fileName)
Saves a duplicate record for this bookmarked entry |
void |
saveFormattedData(String data)
Updates the data field of the bookmark. NOTE: Generally this method is used to override the raw data with a brief String represetation of the data. |
String |
toString()
Generates the string representation of this object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int DBNAME
public Vector duplicates
Constructor Detail |
public BookMarkEntry()
public BookMarkEntry(String dbName, String fileName, String resultSet, int recno, String elementSetName, String fmtclass, Object data)
dbName
- the database name for the saved RecordresultSet
- the name of the resultSetrecno
- the record number within the resultSetelementSetName
- the saved record elementsetname used to
retrieve the bookmarked data.fmtclass
- the name of the formatting class used to display
the bookmarked data.data
- the raw data retrieved from the database (DataDir).public BookMarkEntry(DataPairs info, Object data)
info
- the prebuilt DataPairs object of info about the BookMarked
record.data
- the raw data retrieved from the database (DataDir).Method Detail |
public void saveDuplicate(String dbName, String fileName)
public DataPairs info()
public String formattedData()
public void saveFormattedData(String data)
data
- the raw data retrieved from the database (DataDir).public Object rawData()
public String get(String name)
name
- the of the bookmark descriptor.public String name()
public String dbName()
public String fileName()
public String elementSetName()
public String fmtClassName()
public String recno()
public String resultSet()
public String toString()
public static BookMarkEntry findEntry(String resultset, int record, String dbname, String ESN, Vector userBookMarks)
resultset
- the search resultset namerecord
- the record numberdbname
- the name of the database for the recordESN
- the element set name (e.g.: 'F', 'T')userBookMarks
- the currently saved records for the user.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |