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