org.gcube.contentmanagement.timeseriesservice.impl.codelist.wrappers
Class CLImportItemWrapper

java.lang.Object
  extended by org.gcube.common.dbinterface.persistence.ObjectStateControl
      extended by org.gcube.contentmanagement.timeseriesservice.impl.codelist.wrappers.CLImportItemWrapper

public class CLImportItemWrapper
extends org.gcube.common.dbinterface.persistence.ObjectStateControl


Constructor Summary
CLImportItemWrapper(String owner, String codelistId, org.gcube.common.core.scope.GCUBEScope scope)
           
 
Method Summary
static CLImportItemWrapper get(String id)
           
static Iterator<CLImportItemWrapper> getAll()
           
static Iterator<CLImportItemWrapper> getByUser(String user)
           
 org.gcube.contentmanagement.codelistmanager.managers.CodeListImport getCodelist()
           
 String getCodelistId()
           
 String getOwner()
           
 org.gcube.common.core.scope.GCUBEScope getScope()
           
 org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getStatus()
           
 boolean remove()
           
 boolean store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLImportItemWrapper

public CLImportItemWrapper(String owner,
                           String codelistId,
                           org.gcube.common.core.scope.GCUBEScope scope)
Method Detail

getOwner

public String getOwner()
Returns:
the owner

getCodelistId

public String getCodelistId()
Returns:
the codelistId

getStatus

public org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getStatus()
                                                                           throws Exception
Throws:
Exception

getCodelist

public org.gcube.contentmanagement.codelistmanager.managers.CodeListImport getCodelist()
                                                                                throws Exception
Returns:
the codelistId
Throws:
Exception

getScope

public org.gcube.common.core.scope.GCUBEScope getScope()
Returns:
the scope

remove

public boolean remove()

store

public boolean store()

get

public static CLImportItemWrapper get(String id)
                               throws Exception
Throws:
Exception

getAll

public static Iterator<CLImportItemWrapper> getAll()
                                            throws Exception
Throws:
Exception

getByUser

public static Iterator<CLImportItemWrapper> getByUser(String user)
                                               throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.