public class CLCurationWrapper extends Object
| Constructor and Description |
|---|
CLCurationWrapper(String owner,
String codelistId,
org.gcube.common.core.scope.GCUBEScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
edit(String fieldId) |
void |
edit(String fieldId,
org.gcube.common.dbinterface.types.Type type) |
static CLCurationWrapper |
get(String id) |
static Iterator<CLCurationWrapper> |
getAll() |
static Iterator<CLCurationWrapper> |
getByUser(String user) |
org.gcube.contentmanagement.codelistmanager.managers.CodeListCuration |
getCodelist() |
String |
getCodelistId() |
String |
getCodesAsJson(org.gcube.common.dbinterface.Limit limit,
org.gcube.common.dbinterface.Order order) |
org.gcube.contentmanagement.codelistmanager.entities.TableField |
getColumnInEditMode() |
String |
getDataAsJson(org.gcube.common.dbinterface.queries.Select query) |
Hashtable<String,org.gcube.contentmanagement.codelistmanager.entities.TableField> |
getEditModeColumnsDefinition() |
org.gcube.contentmanagement.timeseriesservice.stubs.types.Status |
getEditStatus() |
int |
getErrorCount() |
String |
getOwner() |
String |
getParentId() |
org.gcube.common.core.scope.GCUBEScope |
getScope() |
int |
getSize() |
org.gcube.contentmanagement.timeseriesservice.stubs.types.Status |
getStatus() |
boolean |
isUnderEditing() |
boolean |
remove() |
void |
removeAllErrors() |
void |
removeEdit() |
void |
replaceValue(String fieldId,
int row,
Object value) |
void |
saveEdit() |
void |
setOwner(String owner) |
void |
setScope(org.gcube.common.core.scope.GCUBEScope scope) |
void |
setStatus(org.gcube.contentmanagement.timeseriesservice.stubs.types.Status status) |
boolean |
store() |
public String getParentId()
public org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getStatus()
public void setStatus(org.gcube.contentmanagement.timeseriesservice.stubs.types.Status status)
status - the status to setpublic String getOwner()
public void setOwner(String owner)
owner - the owner to setpublic String getCodelistId()
public org.gcube.common.core.scope.GCUBEScope getScope()
public void setScope(org.gcube.common.core.scope.GCUBEScope scope)
scope - the scope to setpublic org.gcube.contentmanagement.codelistmanager.managers.CodeListCuration getCodelist()
throws Exception
Exceptionpublic void edit(String fieldId, org.gcube.common.dbinterface.types.Type type) throws Exception
Exceptionpublic org.gcube.contentmanagement.timeseriesservice.stubs.types.Status getEditStatus()
public boolean isUnderEditing()
public void removeEdit()
throws NotInEditModeException,
Exception
NotInEditModeExceptionExceptionpublic void saveEdit()
throws NotInEditModeException,
EditNotFinishedException,
Exception
public boolean remove()
public boolean store()
public static CLCurationWrapper get(String id) throws Exception
Exceptionpublic String getDataAsJson(org.gcube.common.dbinterface.queries.Select query) throws Exception
Exceptionpublic void replaceValue(String fieldId, int row, Object value) throws NotInEditModeException, Exception
NotInEditModeExceptionExceptionpublic org.gcube.contentmanagement.codelistmanager.entities.TableField getColumnInEditMode()
throws NotInEditModeException,
Exception
NotInEditModeExceptionExceptionpublic Hashtable<String,org.gcube.contentmanagement.codelistmanager.entities.TableField> getEditModeColumnsDefinition() throws Exception
Exceptionpublic int getErrorCount()
throws NotInEditModeException,
Exception
NotInEditModeExceptionExceptionpublic void removeAllErrors()
throws NotInEditModeException,
Exception
NotInEditModeExceptionExceptionpublic String getCodesAsJson(org.gcube.common.dbinterface.Limit limit, org.gcube.common.dbinterface.Order order) throws Exception
Exceptionpublic static Iterator<CLCurationWrapper> getByUser(String user) throws Exception
Exceptionpublic static Iterator<CLCurationWrapper> getAll() throws Exception
ExceptionCopyright © 2015. All Rights Reserved.