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

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.impl.codelist.wrappers.CLManagerWrapper


Constructor Summary
CLManagerWrapper(java.lang.String codelistId, java.lang.String creator, GCUBEScope scope, java.lang.String... superUsers)
          
Method Summary
static CLManagerWrapper get(java.lang.String key)
          
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLManagerWrapper

public CLManagerWrapper(java.lang.String codelistId,
                        java.lang.String creator,
                        GCUBEScope scope,
                        java.lang.String... superUsers)
Method Detail

getSuperUsers

public java.lang.String[] getSuperUsers()
Returns:
the superUsers

getCreator

public java.lang.String getCreator()
Returns:
the creator

setSuperUsers

public void setSuperUsers(java.lang.String[] superUsers)
Parameters:
superUsers - the superUsers to set

getCodelistId

public java.lang.String getCodelistId()
Returns:
the codelistId

setCodelistId

public void setCodelistId(java.lang.String codelistId)
Parameters:
codelistId - the codelistId to set

getScope

public GCUBEScope getScope()
Returns:
the scope

setScope

public void setScope(GCUBEScope scope)
Parameters:
scope - the scope to set

getStatus

public State getStatus()
Returns:
the status

setStatus

public void setStatus(State status)
Parameters:
status - the status to set

getParentId

public java.lang.String getParentId()
Returns:
the parentId

getDataAsJson

public java.lang.String getDataAsJson(Select selectQuery)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getCodelist

public CodeList getCodelist()
                     throws java.lang.Exception
Throws:
java.lang.Exception

getColumnsDefinition

public CodelistColumnsDefinitionArray getColumnsDefinition()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setParentId

public void setParentId(java.lang.String parentId)
Parameters:
parentId - the parentId to set

remove

public boolean remove()

getAll

public static java.util.Iterator<CLManagerWrapper> getAll()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

store

public boolean store()

get

public static CLManagerWrapper get(java.lang.String key)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getByScope

public static java.util.Iterator<CLManagerWrapper> getByScope(GCUBEScope scope)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception