org.gcube.portlets.user.codelistlibrary.curation
Class D4ScienceCurationServiceInterface
java.lang.Object
org.gcube.portlets.user.codelistlibrary.curation.D4ScienceCurationServiceInterface
public class D4ScienceCurationServiceInterface
- extends java.lang.Object
- Author:
- "Federico De Faveri defaveri@isti.cnr.it"
Method Summary |
void |
cancelEditSession()
|
void |
closeEditSession()
|
int |
countErrors(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedColumnId)
|
int |
countErrors(java.lang.String columnId,
ValueType valueType)
|
java.lang.String |
getCodeAsJson(int offset,
int length,
java.lang.String sortColumn,
Order order)
|
java.util.List<CurationColumn> |
getColumns()
|
CurationColumn |
getColumnUnderEdit()
|
CurationCreationState |
getCreationState()
|
java.lang.String |
getDataAsJson(int offset,
int length,
java.lang.String sortColumn,
Order order)
|
EditSessionOpeningState |
getEditSessionOpeningState()
|
long |
getErrorCount()
|
java.lang.String |
getId()
|
long |
getSize()
|
boolean |
isEditSessionOpen()
|
void |
modifyEntryId(long rowId,
java.lang.String columnId,
long id)
|
void |
modifyEntryValue(int rowId,
java.lang.String columnId,
java.lang.String value)
|
void |
openEditSession(java.lang.String columnId,
ColumnType columnType)
|
void |
openEditSession(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedCodeListId)
|
void |
openEditSession(java.lang.String columnId,
ColumnType columnType,
ValueType valueType)
|
void |
removeAllErrors()
|
void |
removeColumn(java.lang.String columnId)
|
void |
setColumnLabel(java.lang.String columnId,
java.lang.String label)
|
void |
setColumnType(java.lang.String columnId,
ColumnType type)
|
void |
setColumnType(java.lang.String columnId,
ColumnType type,
java.lang.String referencedCodeListId)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D4ScienceCurationServiceInterface
public D4ScienceCurationServiceInterface(CodelistCurationCall serviceInterface,
java.lang.String id)
getId
public java.lang.String getId()
getSize
public long getSize()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
getColumns
public java.util.List<CurationColumn> getColumns()
throws java.lang.Exception
- Throws:
java.lang.Exception
getDataAsJson
public java.lang.String getDataAsJson(int offset,
int length,
java.lang.String sortColumn,
Order order)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCodeAsJson
public java.lang.String getCodeAsJson(int offset,
int length,
java.lang.String sortColumn,
Order order)
throws java.lang.Exception
- Throws:
java.lang.Exception
cancelEditSession
public void cancelEditSession()
throws java.lang.Exception
- Throws:
java.lang.Exception
getErrorCount
public long getErrorCount()
throws java.lang.Exception
- Throws:
java.lang.Exception
isEditSessionOpen
public boolean isEditSessionOpen()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
getColumnUnderEdit
public CurationColumn getColumnUnderEdit()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
closeEditSession
public void closeEditSession()
throws java.lang.Exception
- Throws:
java.lang.Exception
modifyEntryValue
public void modifyEntryValue(int rowId,
java.lang.String columnId,
java.lang.String value)
throws java.lang.Exception
- Throws:
java.lang.Exception
modifyEntryId
public void modifyEntryId(long rowId,
java.lang.String columnId,
long id)
throws java.lang.Exception
- Throws:
java.lang.Exception
openEditSession
public void openEditSession(java.lang.String columnId,
ColumnType columnType,
ValueType valueType)
throws java.lang.Exception
- Throws:
java.lang.Exception
openEditSession
public void openEditSession(java.lang.String columnId,
ColumnType columnType)
throws java.lang.Exception
- Throws:
java.lang.Exception
openEditSession
public void openEditSession(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedCodeListId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getEditSessionOpeningState
public EditSessionOpeningState getEditSessionOpeningState()
throws java.lang.Exception
- Throws:
java.lang.Exception
removeAllErrors
public void removeAllErrors()
throws java.lang.Exception
- Throws:
java.lang.Exception
removeColumn
public void removeColumn(java.lang.String columnId)
throws java.lang.Exception
- Throws:
java.lang.Exception
setColumnLabel
public void setColumnLabel(java.lang.String columnId,
java.lang.String label)
throws java.lang.Exception
- Throws:
java.lang.Exception
countErrors
public int countErrors(java.lang.String columnId,
ValueType valueType)
throws java.lang.Exception
- Throws:
java.lang.Exception
countErrors
public int countErrors(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedColumnId)
throws java.lang.Exception
- Throws:
java.lang.Exception
setColumnType
public void setColumnType(java.lang.String columnId,
ColumnType type)
throws java.lang.Exception
- Throws:
java.lang.Exception
setColumnType
public void setColumnType(java.lang.String columnId,
ColumnType type,
java.lang.String referencedCodeListId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCreationState
public CurationCreationState getCreationState()
throws java.lang.Exception
- Throws:
java.lang.Exception