public interface ManagementService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
String |
createIndex(String indexID,
String collectionID,
String[] keyNames,
String[] indexTypeIDs,
String RIEPR)
Creates a new Index for a specified collection
|
void |
deleteIndexType(IndexTypeBean idxType)
Deletes an indexType from the IS.
|
Map<String,IndexTypeBean> |
getAllIndexTypes()
Retrieves all the indexType descriptions from the IS.
|
List<ForwardIndexTypeBean> |
getAvailableIndexTypeIDs()
A method to get FullTextIndexTypeBeans for every fulltext index type
available in the VO
|
List<CollectionBean> |
getCollections()
A method to get all collection beans of collections gathered from DIS
(real collections) along with all collection beans of collectionIDs
indices are stated to belong to (in their collectionID property) but
which do not exist in reality (fake collections)
|
IndexBean[] |
getIndices(String collectionID)
A method to get IndexBeans for every Index connected to a specific
Collection
|
MgmtPropertiesBean |
getResourceProperties(String indexID)
A method used to get information about the ResourceProperties of an Index
|
List<RunningInstanceBean> |
getRunningInstances()
A method to get all the available FullTextIndexManagement service running instances
|
List<String> |
query(String queryString,
String indexID) |
Boolean |
removeIndex(String indexID,
String collectionID)
Removes/destroys an Index
|
String |
saveIndexType(IndexTypeBean idxType)
Saves an indexType to the IS.
|
String |
updateIndex(String indexID,
String rsLocator) |
List<RunningInstanceBean> getRunningInstances()
Exception - -
Server side exception as dictated by GWTs RPC frameworkList<CollectionBean> getCollections()
Exception - -
Server side exception as dictated by GWTs RPC frameworkIndexBean[] getIndices(String collectionID)
indexID - -
the ID of the Collection to get the Indices fromException - -
Server side exception as dictated by GWTs RPC frameworkList<ForwardIndexTypeBean> getAvailableIndexTypeIDs()
Exception - - Server side exception as dictated by GWTs RPC frameworkMgmtPropertiesBean getResourceProperties(String indexID)
indexID - -
The ID of the Index of which to get the ResourcePropertiesException - -
Server side exception as dictated by GWTs RPC frameworkString createIndex(String indexID, String collectionID, String[] keyNames, String[] indexTypeIDs, String RIEPR)
indexID - -
The ID of the Index to be created. Null if an ID should be
asigned automatically.collectionID - -
the CollectionID of the Collection the Index should belong tokeyNames - -
the names of the keys of the Index to createindexTypeIDs - -
the IndexTypes of the keys of the Index to createcontentType - -
the Content Type of the Index to create (usually MetaData or
RealData)RIEPR - - the EPR of the Running Instance to use for the index creationException - -
Server side exception as dictated by GWTs RPC frameworkBoolean removeIndex(String indexID, String collectionID)
indexID - -
The ID of the Index to destroyException - -
Server side exception as dictated by GWTs RPC frameworkMap<String,IndexTypeBean> getAllIndexTypes()
Exception - -
Server side exception as dictated by GWTs RPC frameworkString saveIndexType(IndexTypeBean idxType)
idxType - the indexType descriptionException - -
Server side exception as dictated by GWTs RPC frameworkvoid deleteIndexType(IndexTypeBean idxType)
idxType - the indexType descriptionException - -
Server side exception as dictated by GWTs RPC frameworkCopyright © 2014. All Rights Reserved.