public class CatalogClient extends DiscoveryServiceClient
Constructor and Description |
---|
CatalogClient(java.lang.String sUri,
java.lang.String database,
ICatalogServiceDriver driver)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CatalogQuery |
createNewQuery()
This method is used to create a new Query
|
GetRecordsReply |
getRecords(CatalogQuery query,
int firstRecord) |
ServerData |
getServerData() |
void |
setServerData(ServerData serverData) |
createQuery, getAditionalSearchPanel, getCapabilities, getDriver, getProtocol, getSUri, getUri, serverIsReady, setDriver
public CatalogClient(java.lang.String sUri, java.lang.String database, ICatalogServiceDriver driver)
sUri
- The URI typed by the userdatabase
- The selected databasedriver
- The selected catalog driverpublic GetRecordsReply getRecords(CatalogQuery query, int firstRecord)
query
- It contains the values to do the query (title="XXX",abstract="YYY",...)firstRecord
- Number of the first record to retrievepublic CatalogQuery createNewQuery()
public ServerData getServerData()
public void setServerData(ServerData serverData)
serverData
- the serverData to set