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

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

public class CLManagerWrapper
extends Object


Constructor Summary
CLManagerWrapper(String codelistId, String creator, org.gcube.common.core.scope.GCUBEScope scope, String... superUsers)
           
 
Method Summary
static CLManagerWrapper get(String key)
           
static Iterator<CLManagerWrapper> getAll()
           
static Iterator<CLManagerWrapper> getByScope(org.gcube.common.core.scope.GCUBEScope scope)
           
 org.gcube.contentmanagement.codelistmanager.entities.CodeList getCodelist()
           
 String getCodelistId()
           
 CodelistColumnsDefinitionArray getColumnsDefinition()
           
 String getCreator()
           
 String getDataAsJson(org.gcube.common.dbinterface.queries.Select selectQuery)
           
 String getParentId()
           
 org.gcube.common.core.scope.GCUBEScope getScope()
           
 Status getStatus()
           
 String[] getSuperUsers()
           
 boolean remove()
           
 void setCodelistId(String codelistId)
           
 void setParentId(String parentId)
           
 void setScope(org.gcube.common.core.scope.GCUBEScope scope)
           
 void setStatus(Status status)
           
 void setSuperUsers(String[] superUsers)
           
 boolean store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLManagerWrapper

public CLManagerWrapper(String codelistId,
                        String creator,
                        org.gcube.common.core.scope.GCUBEScope scope,
                        String... superUsers)
Method Detail

getSuperUsers

public String[] getSuperUsers()
Returns:
the superUsers

getCreator

public String getCreator()
Returns:
the creator

setSuperUsers

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

getCodelistId

public String getCodelistId()
Returns:
the codelistId

setCodelistId

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

getScope

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

setScope

public void setScope(org.gcube.common.core.scope.GCUBEScope scope)
Parameters:
scope - the scope to set

getStatus

public Status getStatus()
Returns:
the status

setStatus

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

getParentId

public String getParentId()
Returns:
the parentId

getDataAsJson

public String getDataAsJson(org.gcube.common.dbinterface.queries.Select selectQuery)
                     throws Exception
Throws:
Exception

getCodelist

public org.gcube.contentmanagement.codelistmanager.entities.CodeList getCodelist()
                                                                          throws Exception
Throws:
Exception

getColumnsDefinition

public CodelistColumnsDefinitionArray getColumnsDefinition()
                                                    throws Exception
Throws:
Exception

setParentId

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

remove

public boolean remove()

getAll

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

store

public boolean store()

get

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

getByScope

public static Iterator<CLManagerWrapper> getByScope(org.gcube.common.core.scope.GCUBEScope scope)
                                             throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.