org.gcube.indexmanagement.forwardindexlookup
Class ForwardIndexLookupFactoryService

java.lang.Object
  extended by GCUBEPortType
      extended by org.gcube.indexmanagement.forwardindexlookup.ForwardIndexLookupFactoryService

public class ForwardIndexLookupFactoryService
extends GCUBEPortType

The ForwardIndexFactoryService class is a factory class in that creates Web Service Resource instances.

See Also:
ForwardIndexLookupService.java

Constructor Summary
ForwardIndexLookupFactoryService()
          Constructor that handles gCube startup.
 
Method Summary
 CreateResourceResponse createPartition(CreatePartition request)
          Creates the partition.
 CreateResourceResponse createResource(CreateResource request)
          The createResource creates the resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardIndexLookupFactoryService

public ForwardIndexLookupFactoryService()
Constructor that handles gCube startup.

Method Detail

createResource

public final CreateResourceResponse createResource(CreateResource request)
                                            throws GCUBEFault
The createResource creates the resource.

Parameters:
request - -The resource to be created
Returns:
the create resource response object
Throws:
IndexDoesNotExistException - - when the index does not exists.
UnsupportedTypeException - - when the type is not supported.
UnsupportedFormatException - - when the format is not supported.
RemoteExecption - - when the resource can not be created.
GCUBEFault

createPartition

public final CreateResourceResponse createPartition(CreatePartition request)
                                             throws GCUBEFault
Creates the partition.

Parameters:
request - -The resource to be created
Returns:
the create resource response object
Throws:
IndexDoesNotExistException - - when the index not exists.
UnsupportedTypeException - - when the type is not supported.
UnsupportedFormatException - - when the format is not supported.
RemoteExecption - - when the resource can not be created.
GCUBEFault