org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist
Class CodelistCurationCall
java.lang.Object
org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist.CodeListCall
org.gcube.contentmanagement.timeseriesservice.stubs.calls.codelist.CodelistCurationCall
public class CodelistCurationCall
- extends CodeListCall
Constructor Summary |
CodelistCurationCall(java.lang.String user,
java.lang.String id,
GCUBEScope scope,
GCUBESecurityManager... securityManagers)
|
Method Summary |
void |
changeColumnType(java.lang.String fieldId,
CodelistColumnType columnType)
|
void |
changeColumnType(java.lang.String fieldId,
CodelistColumnType columnType,
java.lang.String codeListReferenceId)
|
boolean |
checkCodeListCurationFinished()
|
int |
checkCorrectness(java.lang.String fieldId,
CodelistColumnType columnType,
java.lang.String relatedCodelistId)
|
int |
checkCorrectness(java.lang.String fieldId,
DataType newType)
|
void |
edit(java.lang.String fieldId)
|
void |
edit(java.lang.String fieldId,
DataType newType)
|
java.lang.String |
getCodes(Limit limit,
Order order)
|
CodelistColumnDefinition |
getColumnInEditMode()
|
java.util.List<CodelistColumnDefinition> |
getColumnsDefinition()
|
State |
getCurationStatus()
|
java.lang.String |
getDataAsJson(Limit limit,
Order order)
|
State |
getEditingStatus()
|
int |
getErrorCount()
|
static CLUnderCurationItem |
getItem(java.lang.String id,
java.lang.String user,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
|
static java.util.List<CLUnderCurationItem> |
getItems(java.lang.String user,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
|
int |
getSize()
|
boolean |
isUnderEditing()
|
boolean |
remove()
|
void |
removeAllErrors()
|
void |
removeColumn(java.lang.String fieldId)
|
void |
removeEdit()
|
void |
removeRow(int... rows)
|
void |
replaceValue(java.lang.String newValue,
int rowId,
java.lang.String fieldId)
|
void |
saveEditing()
|
void |
setLabel(java.lang.String fieldId,
java.lang.String label)
|
void |
setProperties(java.lang.String agencyId,
java.lang.String description,
boolean isFinal,
java.lang.String name,
float version)
|
static void |
setPT(GCUBEScope scope,
org.apache.axis.message.addressing.EndpointReferenceType epr)
|
static java.lang.String |
startCurationMode(java.lang.String importId,
java.lang.String user,
CodeListType type,
GCUBEScope scope,
GCUBESecurityManager... securityManagers)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodelistCurationCall
public CodelistCurationCall(java.lang.String user,
java.lang.String id,
GCUBEScope scope,
GCUBESecurityManager... securityManagers)
throws NoServiceFoundException,
java.lang.Exception
- Throws:
NoServiceFoundException
java.lang.Exception
setPT
public static void setPT(GCUBEScope scope,
org.apache.axis.message.addressing.EndpointReferenceType epr)
throws NoServiceFoundException,
java.lang.Exception
- Parameters:
scope
- epr
-
- Throws:
NoServiceFoundException
java.lang.Exception
startCurationMode
public static java.lang.String startCurationMode(java.lang.String importId,
java.lang.String user,
CodeListType type,
GCUBEScope scope,
GCUBESecurityManager... securityManagers)
throws NoServiceFoundException,
java.lang.Exception
- Parameters:
importId
- user
- scope
- securityManagers
-
- Returns:
-
- Throws:
NoServiceFoundException
java.lang.Exception
getItems
public static java.util.List<CLUnderCurationItem> getItems(java.lang.String user,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
throws NoServiceFoundException,
java.lang.Exception
- Parameters:
user
- scope
- securityManager
-
- Returns:
-
- Throws:
NoServiceFoundException
java.lang.Exception
getItem
public static CLUnderCurationItem getItem(java.lang.String id,
java.lang.String user,
GCUBEScope scope,
GCUBESecurityManager... securityManager)
throws NoServiceFoundException,
java.lang.Exception
- Parameters:
id
- user
- scope
- securityManager
-
- Returns:
-
- Throws:
NoServiceFoundException
java.lang.Exception
removeColumn
public void removeColumn(java.lang.String fieldId)
throws java.lang.Exception
- Parameters:
fieldId
-
- Throws:
java.lang.Exception
removeRow
public void removeRow(int... rows)
throws java.lang.Exception
- Parameters:
rows
-
- Throws:
java.lang.Exception
checkCodeListCurationFinished
public boolean checkCodeListCurationFinished()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
remove
public boolean remove()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getColumnsDefinition
public java.util.List<CodelistColumnDefinition> getColumnsDefinition()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getDataAsJson
public java.lang.String getDataAsJson(Limit limit,
Order order)
throws java.lang.Exception
- Parameters:
limit
- order
-
- Returns:
-
- Throws:
java.lang.Exception
changeColumnType
public void changeColumnType(java.lang.String fieldId,
CodelistColumnType columnType)
throws java.lang.Exception
- Parameters:
fieldId
- columnType
-
- Throws:
java.lang.Exception
changeColumnType
public void changeColumnType(java.lang.String fieldId,
CodelistColumnType columnType,
java.lang.String codeListReferenceId)
throws java.lang.Exception
- Parameters:
fieldId
- columnType
-
- Throws:
java.lang.Exception
checkCorrectness
public int checkCorrectness(java.lang.String fieldId,
DataType newType)
throws java.lang.Exception
- Parameters:
fieldId
- newType
-
- Returns:
-
- Throws:
java.lang.Exception
checkCorrectness
public int checkCorrectness(java.lang.String fieldId,
CodelistColumnType columnType,
java.lang.String relatedCodelistId)
throws java.lang.Exception
- Throws:
java.lang.Exception
edit
public void edit(java.lang.String fieldId,
DataType newType)
throws java.lang.Exception
- Parameters:
fieldId
- newType
-
- Throws:
java.lang.Exception
edit
public void edit(java.lang.String fieldId)
throws java.lang.Exception
- Parameters:
fieldId
- newType
-
- Throws:
java.lang.Exception
getEditingStatus
public State getEditingStatus()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
isUnderEditing
public boolean isUnderEditing()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
removeEdit
public void removeEdit()
throws java.lang.Exception
- Throws:
java.lang.Exception
replaceValue
public void replaceValue(java.lang.String newValue,
int rowId,
java.lang.String fieldId)
throws java.lang.Exception
- Parameters:
newValue
- rowId
- fieldId
-
- Throws:
java.lang.Exception
getColumnInEditMode
public CodelistColumnDefinition getColumnInEditMode()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getErrorCount
public int getErrorCount()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
getSize
public int getSize()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
removeAllErrors
public void removeAllErrors()
throws java.lang.Exception
- Throws:
java.lang.Exception
saveEditing
public void saveEditing()
throws java.lang.Exception
- Throws:
java.lang.Exception
setLabel
public void setLabel(java.lang.String fieldId,
java.lang.String label)
throws java.lang.Exception
- Parameters:
fieldId
- label
-
- Throws:
java.lang.Exception
getCurationStatus
public State getCurationStatus()
throws java.lang.Exception
- Returns:
-
- Throws:
java.lang.Exception
setProperties
public void setProperties(java.lang.String agencyId,
java.lang.String description,
boolean isFinal,
java.lang.String name,
float version)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCodes
public java.lang.String getCodes(Limit limit,
Order order)
throws java.lang.Exception
- Throws:
java.lang.Exception