|
||||||||||
| 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.forwardindexportlet.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 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)
|
| 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 ManagementServicepublic List<CollectionBean> getCollections()
getCollections in interface ManagementServicepublic IndexBean[] getIndices(String collectionID)
getIndices in interface ManagementServicepublic List<ForwardIndexTypeBean> getAvailableIndexTypeIDs()
ManagementService
getAvailableIndexTypeIDs in interface ManagementServicepublic MgmtPropertiesBean getResourceProperties(String indexID)
getResourceProperties in interface ManagementServiceindexID - -
The ID of the Index of which to get the ResourceProperties
public 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 creation
public Boolean removeIndex(String indexID,
String collectionID)
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)
throws com.google.gwt.user.client.rpc.InvocationException
updateIndex in interface ManagementServicecom.google.gwt.user.client.rpc.InvocationException
public List<String> query(String queryString,
String indexID)
query in interface ManagementService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||