|
||||||||||
| 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)
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()
throws Exception
ManagementService
getRunningInstances in interface ManagementServiceException - -
Server side exception as dictated by GWTs RPC framework
public List<String> query(String queryString,
String indexID)
throws Exception
query in interface ManagementServiceException
public List<CollectionBean> getCollections()
throws Exception
getCollections in interface ManagementServiceException - -
Server side exception as dictated by GWTs RPC framework
public IndexBean[] getIndices(String collectionID)
throws Exception
getIndices in interface ManagementServiceException - -
Server side exception as dictated by GWTs RPC framework
public List<FullTextIndexTypeBean> getAvailableIndexTypeIDs()
throws Exception
ManagementService
getAvailableIndexTypeIDs in interface ManagementServiceException - - Server side exception as dictated by GWTs RPC framework
public String getIndexTypeID(String indexID)
throws Exception
getIndexTypeID in interface ManagementServiceindexID - - The ID of the Index of which to get the IndexTypeID
Exception - - Server side exception as dictated by GWTs RPC framework
public MgmtPropertiesBean getResourceProperties(String indexID)
throws Exception
getResourceProperties in interface ManagementServiceindexID - -
The ID of the Index of which to get the ResourceProperties
Exception - -
Server side exception as dictated by GWTs RPC framework
public String createIndex(String clusterID,
String collectionID,
String RIEPR)
throws Exception
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
Exception - -
Server side exception as dictated by GWTs RPC framework
public Boolean removeIndex(String indexID)
throws Exception
removeIndex in interface ManagementServiceindexID - -
The ID of the Index to destroy
Exception - -
Server side exception as dictated by GWTs RPC framework
public Map<String,IndexTypeBean> getAllIndexTypes()
throws Exception
ManagementService
getAllIndexTypes in interface ManagementServiceException - -
Server side exception as dictated by GWTs RPC framework
public String saveIndexType(IndexTypeBean idxType)
throws Exception
ManagementService
saveIndexType in interface ManagementServiceidxType - the indexType description
Exception - -
Server side exception as dictated by GWTs RPC framework
public void deleteIndexType(IndexTypeBean idxType)
throws Exception
ManagementService
deleteIndexType in interface ManagementServiceidxType - the indexType description
Exception - -
Server side exception as dictated by GWTs RPC framework
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||