public class ManagementServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements ManagementService
| Constructor and Description |
|---|
ManagementServiceImpl()
Class constructor
|
| 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) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic List<RunningInstanceBean> getRunningInstances()
ManagementServicegetRunningInstances in interface ManagementServicepublic List<CollectionBean> getCollections()
getCollections in interface ManagementServicepublic IndexBean[] getIndices(String collectionID)
getIndices in interface ManagementServicepublic List<ForwardIndexTypeBean> getAvailableIndexTypeIDs()
ManagementServicegetAvailableIndexTypeIDs in interface ManagementServicepublic MgmtPropertiesBean getResourceProperties(String indexID)
getResourceProperties in interface ManagementServiceindexID - -
The ID of the Index of which to get the ResourcePropertiespublic String createIndex(String indexID, String collectionID, String[] keyNames, String[] indexTypeIDs, String RIEPR)
createIndex in interface ManagementServiceindexID - -
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 createRIEPR - - the EPR of the Running Instance to use for the index creationpublic Boolean removeIndex(String indexID, String collectionID)
removeIndex in interface ManagementServiceindexID - -
The ID of the Index to destroypublic Map<String,IndexTypeBean> getAllIndexTypes()
ManagementServicegetAllIndexTypes in interface ManagementServicepublic String saveIndexType(IndexTypeBean idxType)
ManagementServicesaveIndexType in interface ManagementServiceidxType - the indexType descriptionpublic void deleteIndexType(IndexTypeBean idxType)
ManagementServicedeleteIndexType in interface ManagementServiceidxType - the indexType descriptionpublic String updateIndex(String indexID, String rsLocator) throws com.google.gwt.user.client.rpc.InvocationException
updateIndex in interface ManagementServicecom.google.gwt.user.client.rpc.InvocationExceptionCopyright © 2014. All Rights Reserved.