public class TdbDatabaseList extends TdbControlObjectList
Constructor and Description |
---|
TdbDatabaseList(TdbSession session)
Request a list of all databases to which the calling process has at least
read access.
|
TdbDatabaseList(TdbSession session,
java.lang.String name)
Request a control object for a single, specific database, thesauri
or cluster to which the calling process has at least read access.
|
TdbDatabaseList(TdbSession session,
java.lang.String name,
boolean noBaf)
Request a control object for a single, specific database, thesauri
or cluster to which the calling process has at least read access.
|
TdbDatabaseList(TdbSession session,
TdbExtendedDatabaseType type)
Request a list of all databases of the stated type to which the calling process
has at least read access.
|
TdbDatabaseList(TdbSession session,
TdbExtendedDatabaseType type,
boolean noBaf)
Request a list of all databases of the stated type to which the calling process
has at least read access.
|
contains, contains, get, refresh, transform
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
cancel, getSession, isCancelable, setCancelable
public TdbDatabaseList(TdbSession session) throws TdbException
session
- Bounding sessionTdbException
public TdbDatabaseList(TdbSession session, TdbExtendedDatabaseType type) throws TdbException
session
- Bounding sessiontype
- Database typeTdbException
public TdbDatabaseList(TdbSession session, TdbExtendedDatabaseType type, boolean noBaf) throws TdbException
Setting the 'noBaf' parameter to true will result in the list being produced somewhat faster. However, information that is solely stored in the BAF file will not be returned. This includes the record count, which instead will be reported as the last total number of indexed records (any unindexed records will not be reported). Neither will the time for the last database update be reported.
Note that the 'noBaf' parameter requires TRIPsystem 7.0.1 or later, and that databases must be reindexed with in order for the count of indexed records to be reported.
session
- Bounding sessiontype
- Database typenoBaf
- Pass true to retrieve the list without accessing the BAF file of each databaseTdbException
public TdbDatabaseList(TdbSession session, java.lang.String name) throws TdbException
Setting the 'noBaf' parameter to true will result in the information being returned somewhat faster. However, information that is solely stored in the BAF file will not be returned. This includes the record count, which instead will be reported as the last total number of indexed records (any unindexed records will not be reported). Neither will the time for the last database update be reported.
Note that the 'noBaf' parameter requires TRIPsystem 7.0.1 or later, and that databases must be reindexed with in order for the count of indexed records to be reported.
session
- Bounding sessionname
- Database nameTdbException
public TdbDatabaseList(TdbSession session, java.lang.String name, boolean noBaf) throws TdbException
session
- Bounding sessionname
- Database namenoBaf
- Pass true to retrieve the list without accessing the BAF file of each databaseTdbException