org.gcube.indexmanagement.forwardindexmanagement.impl
Class ForwardIndexManagementService

java.lang.Object
  extended by org.gcube.indexmanagement.forwardindexmanagement.impl.ForwardIndexManagementService

public class ForwardIndexManagementService
extends java.lang.Object

The ForwardIndex Service is the implementation of the ForwardIndex wsdl interface. It implements methods for creating indexes, and for adding data in the rowset format to an index.


Constructor Summary
ForwardIndexManagementService()
          Constructor - sets up some variables and creates a logging instance
 
Method Summary
 VOID addCollections(StringArray collectionIDs)
          Adds a String id to the collectionID resource property
 VOID addFields(StringArray fields)
          Adds a String field to the Fields resource property
 DestroyPartiallyResponse destroyPartially(DestroyPartially empty)
          Removes the index resource from the container without removing any data stored by the resource (e.g.
 GetIndexInformationResponse getIndexInformation(GetIndexInformation empty)
          Method to get the index information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardIndexManagementService

public ForwardIndexManagementService()
Constructor - sets up some variables and creates a logging instance

Throws:
IndexException - in case of an error.
Method Detail

getIndexInformation

public GetIndexInformationResponse getIndexInformation(GetIndexInformation empty)
                                                throws GCUBEFault
Method to get the index information.

Parameters:
empty - - the empty request.
Returns:
GetIndexInformationResponse the index information
Throws:
IndexInformation - - in case of failure.
GCUBEFault

destroyPartially

public DestroyPartiallyResponse destroyPartially(DestroyPartially empty)
                                          throws GCUBEFault
Removes the index resource from the container without removing any data stored by the resource (e.g. CMS objects, local files, etc).

Parameters:
empty - empty stub request
Returns:
empty stub response
Throws:
GCUBEFault

addCollections

public VOID addCollections(StringArray collectionIDs)
                    throws GCUBEFault
Adds a String id to the collectionID resource property

Parameters:
collectionIDs - StringArray -the IDs to be added
Returns:
AddCollectionsResponse - empty instance
Throws:
GCUBEFault

addFields

public VOID addFields(StringArray fields)
               throws GCUBEFault
Adds a String field to the Fields resource property

Parameters:
fields - StringArray -the fields to be added
Returns:
AddFieldsResponse - empty instance
Throws:
GCUBEFault