|
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.TopicEntry
The TopicEntry class describes each Topic area defined in the JaSSI configuration file(s). This information is used to build lists Topic Areas as HTML for display in the interface.
Topics
,
IniFile
,
Db
Field Summary | |
String |
allDbNames
Space seperated sorted list of allowed dbnames |
Hashtable |
dbCheckBoxes
Hashtable of currently selected database name(s) for this TopicEntry |
Vector |
dbNames
Vector of allowed dbname(s) |
Vector |
disallowedNames
Vector of disallowed dbname(s) |
String |
longName
Long descriptive name of the Topic Area |
String |
topicName
Internal name of the Topic Area |
boolean |
userDefinedTopic
Flag to indicate for this user only |
Constructor Summary | |
TopicEntry()
Constructs a TopicEntry object. |
|
TopicEntry(String topicName,
IniFile ini)
Constructs a TopicEntry object by reading server configuration information from the input iniFile. |
|
TopicEntry(String topicName,
String longName,
Vector dbnames,
Vector disallowedNames,
String dbGroup)
Constructs a TopicEntry object by setting the longname and the dblist vector. |
|
TopicEntry(String topicName,
String longName,
Vector dbnames,
Vector disallowedNames,
String dbGroup,
boolean userDefinedTopic)
Constructs a TopicEntry object by setting the longname and the dblist vector. |
Method Summary | |
void |
addDbName(String dbname)
Add a database to this TopicEntry allowed database list |
String |
allDbNames()
Retrieves a space separated list of all the database names for this TopicEntry. |
String |
dbGroup()
Retrieves the dbGroup for this TopicEntry |
Vector |
dbNames()
Retrieves the Vector of allowed database names for this TopicEntry. |
void |
deleteDbName(String dbname)
Delete a database name from this TopicEnty's allowed list |
String |
longName()
Retrieves the long (descriptive) name of this TopicEntry |
String |
topicName()
Retrieves the internal name of a TopicEntry |
String |
toString()
Generates the String representation of this TopicEntry |
void |
updateDbs(Vector dbNames)
Replace the allowed database list for this TopicEntry |
void |
updateLongName(String name)
Change the longName of this TopicEntry |
boolean |
userDefinedTopic()
Check the user-defined (for this user only) charateristic for this TopicEntry. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public Vector dbNames
public Vector disallowedNames
public String longName
public String topicName
public String allDbNames
public boolean userDefinedTopic
public Hashtable dbCheckBoxes
Constructor Detail |
public TopicEntry()
public TopicEntry(String topicName, String longName, Vector dbnames, Vector disallowedNames, String dbGroup)
topicName
- the name of the topic arealongName
- the long name of the topic areadbnames
- a vector of database names for the TopicEntrydissallowedName
- a vector of database names that CANNOT be part
of the TopicEntrydbGroup
- the name of the Database Group Definition to use for
searching this topicpublic TopicEntry(String topicName, String longName, Vector dbnames, Vector disallowedNames, String dbGroup, boolean userDefinedTopic)
topicName
- the name of the topic arealongName
- the long name of the topic areadbnames
- a vector of database names for the TopicEntrydissallowedName
- a vector of database names that CANNOT be part
of the TopicEntrydbGroup
- the name of the Database Group Definition to use for
searching this topicuserDefinedTopic
- boolean to indicate if this TopicEntry is for
this user onlypublic TopicEntry(String topicName, IniFile ini)
topicName
- the topic area nameini
- the JaSSI configuration ini fileMethod Detail |
public String allDbNames()
public void addDbName(String dbname)
dbname
- the name to addpublic void updateDbs(Vector dbNames)
dbNames
- the new Vector of database namespublic void updateLongName(String name)
name
- the new long name of the topic areapublic void deleteDbName(String dbname)
dbname
- the name to deletepublic String dbGroup()
public Vector dbNames()
public String longName()
public String topicName()
public boolean userDefinedTopic()
public String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |