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 |
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, 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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.globus.wsrf.PersistenceCallback |
store |
ImportResource
public ImportResource()
getPropertyNames
public java.lang.String[] getPropertyNames()
-
- Overrides:
getPropertyNames
in class org.gcube.common.core.state.GCUBEWSResource
getId
public java.lang.String getId()
throws org.globus.wsrf.ResourceException
- Returns the id.
- Returns:
- the id.
- Throws:
org.globus.wsrf.ResourceException
setId
public void setId(java.lang.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
remove
public void remove()
throws org.globus.wsrf.ResourceException
- Throws:
org.globus.wsrf.ResourceException
getTableDefinition
public java.lang.String[] getTableDefinition()
setTableDefinition
public void setTableDefinition(java.lang.String[] columnDefinition)
getDataAsJson
public java.lang.String getDataAsJson(Limit limit)
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getFieldLenght
public java.util.Map<java.lang.String,int[]> getFieldLenght()
setFieldLenght
public void setFieldLenght(java.util.Map<java.lang.String,int[]> fieldLenght)
getTable
public SimpleTable getTable()
throws java.lang.Exception
- Throws:
java.lang.Exception
setTable
public void setTable(SimpleTable table)