|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CurationServiceInterface
| Method Summary | |
|---|---|
void |
cancelEditSession()
Cancels the edit session, all modification will be lost. |
void |
closeEditSession()
Closes the edit session. |
int |
countErrors(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedColumnId)
|
int |
countErrors(java.lang.String columnId,
ValueType valueType)
Counts the number of errors for the specified column and the specified dimension. |
java.lang.String |
getCodeAsJson(int offset,
int length,
java.lang.String sortColumnId,
Order order)
|
java.util.List<CurationColumn> |
getColumns()
Get the columns definitions for this Curation. |
CurationColumn |
getColumnUnderEdit()
Returns the column currently under edit. |
CurationCreationState |
getCreationState()
|
java.lang.String |
getDataAsJson(int offset,
int length,
java.lang.String sortColumnId,
Order order)
Gets the curation data in JSON format. |
EditSessionOpeningState |
getEditSessionOpeningState()
Returns the EditSession opening state. |
long |
getErrorCount()
Returns the number of error for this edit session. |
java.lang.String |
getId()
|
boolean |
isEditSessionOpen()
|
void |
modifyEntryId(long rowId,
java.lang.String columnId,
long id)
Modifies an Id in the Curation. |
void |
modifyEntryValue(int rowId,
java.lang.String columnId,
java.lang.String value)
Modifies a value in the Curation |
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)
Open a new edit session. |
void |
removeAllErrors()
Removes all errors in the current edit session. |
void |
removeColumn(java.lang.String columnId)
Removes the specified column. |
void |
setColumnLabel(java.lang.String columnId,
java.lang.String label)
Sets a column label. |
void |
setColumnType(java.lang.String columnId,
ColumnType type)
Sets the column type. |
void |
setColumnType(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedCodeListId)
|
| Method Detail |
|---|
java.lang.String getId()
java.util.List<CurationColumn> getColumns()
throws java.lang.Exception
java.lang.Exception
java.lang.String getDataAsJson(int offset,
int length,
java.lang.String sortColumnId,
Order order)
throws java.lang.Exception
offset - length - sortColumnId - order - showOnlyErrors -
java.lang.Exception
java.lang.String getCodeAsJson(int offset,
int length,
java.lang.String sortColumnId,
Order order)
throws java.lang.Exception
java.lang.Exception
CurationCreationState getCreationState()
throws java.lang.Exception
java.lang.Exception
void removeColumn(java.lang.String columnId)
throws java.lang.Exception
columnId - the column id.
java.lang.Exception
void setColumnLabel(java.lang.String columnId,
java.lang.String label)
throws java.lang.Exception
columnId - the column id.label - the column label.
java.lang.Exception
int countErrors(java.lang.String columnId,
ValueType valueType)
throws java.lang.Exception
columnId - keyFamilyId - keyId -
java.lang.Exception
int countErrors(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedColumnId)
throws java.lang.Exception
java.lang.Exception
void setColumnType(java.lang.String columnId,
ColumnType type)
throws java.lang.Exception
columnId - type -
java.lang.Exception
void setColumnType(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedCodeListId)
throws java.lang.Exception
java.lang.Exception
void openEditSession(java.lang.String columnId,
ColumnType columnType,
ValueType valueType)
throws java.lang.Exception
columnId - the column to edit.keyFamilyId - the assigned family key.keyId - the assigned key.
java.lang.Exception
void openEditSession(java.lang.String columnId,
ColumnType columnType)
throws java.lang.Exception
java.lang.Exception
void openEditSession(java.lang.String columnId,
ColumnType columnType,
java.lang.String referencedCodeListId)
throws java.lang.Exception
java.lang.Exception
EditSessionOpeningState getEditSessionOpeningState()
throws java.lang.Exception
java.lang.Exception
boolean isEditSessionOpen()
throws java.lang.Exception
true if the curation is under edit mode, false otherwise.
java.lang.Exception
CurationColumn getColumnUnderEdit()
throws java.lang.Exception
java.lang.Exception
long getErrorCount()
throws java.lang.Exception
java.lang.Exception
void removeAllErrors()
throws java.lang.Exception
java.lang.Exception
void closeEditSession()
throws java.lang.Exception
java.lang.Exception
void cancelEditSession()
throws java.lang.Exception
java.lang.Exception
void modifyEntryValue(int rowId,
java.lang.String columnId,
java.lang.String value)
throws java.lang.Exception
rowId - the row number.columnId - the column.value - the new value
java.lang.Exception
void modifyEntryId(long rowId,
java.lang.String columnId,
long id)
throws java.lang.Exception
rowId - the row number.columnId - the column id.id - the new id.
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||