public class ColumnEditor extends Edit
COUNT_ALIAS, CURATION_TABLE_ALIAS, DIMENSION_TABLE_ALIAS, editorType, fieldId, fieldlength, historyEditorList, internalColumndefinition, isUnderInitialization, resourceId, resourceTable, ROW_ID_LABEL, withoutErrors| Constructor and Description |
|---|
ColumnEditor(String resourceId,
String fieldId,
org.gcube.common.dbinterface.tables.SimpleTable resourceTable,
int[] fieldLength,
boolean withoutError,
org.gcube.common.dbinterface.types.Type type,
String... rowIdLabel) |
| Modifier and Type | Method and Description |
|---|---|
long |
check() |
org.gcube.common.dbinterface.types.Type |
getDataType() |
List<org.gcube.contentmanagement.timeseriesservice.stubs.ErrorPair> |
getDistinctErrors() |
String |
getPossibleValues(String word) |
org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition |
getTemporaryColumnDefinition(org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition oldColumnDefinition) |
void |
internalInitialize(org.gcube.common.dbinterface.pool.DBSession session) |
void |
modifyDistinctEntryId(String fieldId,
String newId,
long rowId,
String dimensionId,
String keyName) |
void |
modifyDistinctEntryValue(String fieldId,
long rowId,
String newValue) |
void |
modifyEntryId(String fieldId,
String newId,
long rowId) |
void |
replaceDistinctIds(String fieldId,
String oldId,
String newId,
String keyName) |
void |
replaceDistinctValue(String fieldId,
String newValue,
String oldValue) |
void |
replaceEntryValueWithId(String oldValue,
String newId,
String fieldId) |
void |
replaceIds(String fieldId,
String oldId,
String newId) |
void |
replaceValue(int rowId,
Object value) |
dismiss, errorCount, getCorrectsTable, getCorrectsTableName, getEditorType, getFieldId, getFieldLength, getHistoryItems, getIsUnderInitialization, getResultAsJson, getWrongsTable, getWrongsTableName, initialize, removeAllErrors, removeSingleError, save, setHistoryItems, setIsUnderInitialization, setIsUnderInitialization, totalCountpublic void internalInitialize(org.gcube.common.dbinterface.pool.DBSession session)
throws Exception
internalInitialize in class EditExceptionpublic void replaceValue(int rowId,
Object value)
throws Exception
replaceValue in class EditProxyExceptionpublic void modifyEntryId(String fieldId, String newId, long rowId) throws Exception
modifyEntryId in class EditProxyExceptionpublic void modifyDistinctEntryId(String fieldId, String newId, long rowId, String dimensionId, String keyName) throws Exception
modifyDistinctEntryId in class EditProxyExceptionpublic void modifyDistinctEntryValue(String fieldId, long rowId, String newValue) throws Exception
modifyDistinctEntryValue in class EditProxyExceptionpublic void replaceIds(String fieldId, String oldId, String newId) throws Exception
replaceIds in class EditProxyExceptionpublic void replaceDistinctValue(String fieldId, String newValue, String oldValue) throws Exception
replaceDistinctValue in class EditProxyExceptionpublic void replaceDistinctIds(String fieldId, String oldId, String newId, String keyName) throws Exception
replaceDistinctIds in class EditProxyExceptionpublic void replaceEntryValueWithId(String oldValue, String newId, String fieldId) throws Exception
replaceEntryValueWithId in class EditProxyExceptionpublic List<org.gcube.contentmanagement.timeseriesservice.stubs.ErrorPair> getDistinctErrors() throws Exception
getDistinctErrors in class EditProxyExceptionpublic String getPossibleValues(String word) throws Exception
getPossibleValues in class EditProxyExceptionpublic org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition getTemporaryColumnDefinition(org.gcube.contentmanagement.timeseriesservice.stubs.types.ColumnDefinition oldColumnDefinition)
throws Exception
getTemporaryColumnDefinition in class EditProxyExceptionpublic org.gcube.common.dbinterface.types.Type getDataType()
Copyright © 2015. All Rights Reserved.