org.gcube.contentmanagement.timeseriesservice.impl.importer.state
Class ImportResource
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.contentmanagement.timeseriesservice.impl.importer.state.ImportResource
- 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 ImportResource
- extends org.gcube.common.core.state.GCUBEWSResource
| 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.common.core.state.GCUBEStatefulResource |
logger, uuidGen |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
| Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
getID, getLock, getScheduledTasks, getScope, launchTask, setID, setPersistenceDelegate, stopTask, store |
| 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 |
| Methods inherited from interface org.globus.wsrf.PersistenceCallback |
store |
RP_ID
protected static final String RP_ID
- See Also:
- Constant Field Values
RPNames
protected static String[] RPNames
ImportResource
public ImportResource()
getPropertyNames
public String[] getPropertyNames()
-
- Overrides:
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResource
initialise
protected void initialise(Object... initParameters)
throws Exception
- Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
- Throws:
Exception
getId
public String getId()
throws org.globus.wsrf.ResourceException
- Returns the id.
- Returns:
- the id.
- Throws:
org.globus.wsrf.ResourceException
setId
public void setId(String id)
throws org.globus.wsrf.ResourceException
- Parameters:
id -
- Throws:
org.globus.wsrf.ResourceException
getImporterReference
public ImporterItem getImporterReference()
throws org.globus.wsrf.ResourceException
- Throws:
org.globus.wsrf.ResourceException
onRemove
protected void onRemove()
throws org.globus.wsrf.ResourceException
- Overrides:
onRemove in class org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
- Throws:
org.globus.wsrf.ResourceException
remove
public void remove()
throws org.globus.wsrf.ResourceException
- Throws:
org.globus.wsrf.ResourceException
getTableDefinition
public String[] getTableDefinition()
setTableDefinition
public void setTableDefinition(String[] columnDefinition)
getDataAsJson
public String getDataAsJson(org.gcube.contentmanagement.timeseriesservice.stubs.types.Limit limit)
throws Exception
- Returns:
-
- Throws:
Exception
getFieldLenght
public Map<String,int[]> getFieldLenght()
setFieldLenght
public void setFieldLenght(Map<String,int[]> fieldLenght)
getTable
public org.gcube.common.dbinterface.tables.SimpleTable getTable()
throws Exception
- Throws:
Exception
setTable
public void setTable(org.gcube.common.dbinterface.tables.SimpleTable table)
Copyright © 2012. All Rights Reserved.