org.gcube.index.forwardindexnode
Class Resource
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
org.gcube.common.core.state.GCUBEWSResource
org.gcube.indexmanagement.common.IndexWSResource
org.gcube.index.forwardindexnode.Resource
- All Implemented Interfaces:
- org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor
public class Resource
- extends org.gcube.indexmanagement.common.IndexWSResource
| Nested classes/interfaces inherited from class org.gcube.indexmanagement.common.IndexWSResource |
org.gcube.indexmanagement.common.IndexWSResource.DestructionMode |
| Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext |
| Fields inherited from class org.gcube.indexmanagement.common.IndexWSResource |
bInitializing, destructionMode, initLock, namespace, propNames, RP_COLLECTION_ID, RP_CREATED, RP_FIELDS, RP_INDEX_ID, RP_INDEX_TYPE_NAME, RP_MODIFIED, topicRegistrar |
| Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
uuidGen |
| Methods inherited from class org.gcube.indexmanagement.common.IndexWSResource |
addCollectionID, addField, createProperty, createProperty, createTopic, createTopic, filterFieldInfo, getCollectionID, getCreated, getDestructionMode, getFields, getIndexID, getIndexTypeName, getModified, getNamespace, getPropertyNames, initialise, isInitializing, isTopicRegistered, onResourceRemoval, publish, setCollectionID, setCreated, setDestructionMode, setFields, setIndexID, setIndexTypeName, setIsInitializing, setModified, store, waitUntilInitialized |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, setPortTypeContext, setTerminationTime, unpublish |
| Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl |
getPortTypeMap, setPortTypeMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQUALS
public static final String EQUALS
- See Also:
- Constant Field Values
RP_CONTENT_TYPE
public static final String RP_CONTENT_TYPE
- See Also:
- Constant Field Values
RP_INDEX_FORMAT
public static final String RP_INDEX_FORMAT
- See Also:
- Constant Field Values
RP_SUPPORTED_RELATIONS
public static final String RP_SUPPORTED_RELATIONS
- See Also:
- Constant Field Values
RP_CLUSTER_ID
public static final String RP_CLUSTER_ID
- See Also:
- Constant Field Values
RP_KEY_DESCRIPTION
public static final String RP_KEY_DESCRIPTION
- See Also:
- Constant Field Values
RPNames
protected static String[] RPNames
Resource
public Resource()
getForwardNodeClient
public ForwardNodeClient getForwardNodeClient()
getResourceKey
public String getResourceKey()
initialise
protected void initialise(Object... args)
throws Exception
- Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
- Throws:
Exception
onLoad
public void onLoad(ObjectInputStream ois,
boolean firstLoad)
throws Exception
- Overrides:
onLoad in class org.gcube.indexmanagement.common.IndexWSResource
- Throws:
Exception
onStore
public void onStore(ObjectOutputStream oos)
throws Exception
- Overrides:
onStore in class org.gcube.indexmanagement.common.IndexWSResource
- Throws:
Exception
setSupportedRelations
public void setSupportedRelations(String[] relations)
throws Exception
- Throws:
Exception
getClusterID
public String getClusterID()
getContentType
public String getContentType()
- Getter method for the ContentType Resource Property
- Returns:
String the requested ContentType identifier
getKeyDescription
public org.gcube.index.forwardindexnode.stubs.KeyDescriptionType[] getKeyDescription()
- Getter method for the KeyDescription Resource Property
- Returns:
KeyDescriptionType[] the KeyDscription of this Index
setKeyDescription
public void setKeyDescription(org.gcube.index.forwardindexnode.stubs.KeyDescriptionType[] keyDescription)
- Setter method for the KeyDescription Resource Property
- Parameters:
keyDescription - KeyDescriptionType[] the new keyDescription
Copyright © 2013. All Rights Reserved.