|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.gcube.portlets.admin.fulltextindexportlet.gwt.server.ManagementServiceImpl
public class ManagementServiceImpl
A RemoteService implementation for the ManagementService following GWT RPC design. Used in order to communicate with Management Resources and for Management related queries towards DIS
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
perThreadRequest, perThreadResponse |
| Constructor Summary | |
|---|---|
ManagementServiceImpl()
Class constructor |
|
| Method Summary | |
|---|---|
String |
createIndex(String clusterID,
String collectionID,
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<FullTextIndexTypeBean> |
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) |
String |
getIndexTypeID(String indexID)
A method to get the IndexTypeID of an Index |
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)
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
|---|
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
| Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
|---|
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagementServiceImpl()
| Method Detail |
|---|
public List<RunningInstanceBean> getRunningInstances()
ManagementService
getRunningInstances in interface ManagementService
public List<String> query(String queryString,
String indexID)
query in interface ManagementServicepublic List<CollectionBean> getCollections()
ManagementService
getCollections in interface ManagementServicepublic IndexBean[] getIndices(String collectionID)
ManagementService
getIndices in interface ManagementServicepublic List<FullTextIndexTypeBean> getAvailableIndexTypeIDs()
ManagementService
getAvailableIndexTypeIDs in interface ManagementServicepublic String getIndexTypeID(String indexID)
ManagementService
getIndexTypeID in interface ManagementServiceindexID - - The ID of the Index of which to get the IndexTypeID
public MgmtPropertiesBean getResourceProperties(String indexID)
ManagementService
getResourceProperties in interface ManagementServiceindexID - -
The ID of the Index of which to get the ResourceProperties
public String createIndex(String clusterID,
String collectionID,
String RIEPR)
ManagementService
createIndex in interface ManagementServicecollectionID - -
the CollectionID of the Collection the Index should belong toRIEPR - - the EPR of the Running Instance to use for the index creation
public Boolean removeIndex(String indexID,
String collectionID)
ManagementService
removeIndex in interface ManagementServiceindexID - -
The ID of the Index to destroy
public Map<String,IndexTypeBean> getAllIndexTypes()
ManagementService
getAllIndexTypes in interface ManagementServicepublic String saveIndexType(IndexTypeBean idxType)
ManagementService
saveIndexType in interface ManagementServiceidxType - the indexType description
public void deleteIndexType(IndexTypeBean idxType)
ManagementService
deleteIndexType in interface ManagementServiceidxType - the indexType description
public String updateIndex(String indexID,
String rsLocator)
updateIndex in interface ManagementService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||