org.gcube.contentmanagement.timeseriesservice.impl.editing
Class CodeListRelationEdit

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.impl.editing.EditProxy
      extended by org.gcube.contentmanagement.timeseriesservice.impl.editing.Edit
          extended by org.gcube.contentmanagement.timeseriesservice.impl.editing.ColumnEditor
              extended by org.gcube.contentmanagement.timeseriesservice.impl.editing.CodeListRelationEdit
All Implemented Interfaces:
Serializable

public class CodeListRelationEdit
extends ColumnEditor

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.contentmanagement.timeseriesservice.impl.editing.Edit
Edit.TYPE
 
Field Summary
 
Fields inherited from class org.gcube.contentmanagement.timeseriesservice.impl.editing.Edit
COUNT_ALIAS, CURATION_TABLE_ALIAS, DIMENSION_TABLE_ALIAS, editorType, fieldId, fieldlength, historyEditorList, internalColumndefinition, isUnderInitialization, resourceId, resourceTable, ROW_ID_LABEL, withoutErrors
 
Constructor Summary
CodeListRelationEdit(String resourceId, String fieldId, org.gcube.common.dbinterface.tables.SimpleTable resourceTable, int[] fieldLength, boolean withoutError, String codeFieldId, org.gcube.common.dbinterface.tables.SimpleTable relationTable, String... rowIdLabel)
           
CodeListRelationEdit(String resourceId, String fieldId, org.gcube.common.dbinterface.tables.SimpleTable resourceTable, int[] fieldLength, boolean withoutError, String codeFieldId, String... rowIdLabel)
           
 
Method Summary
 long check()
           
 void internalInitialize(org.gcube.common.dbinterface.pool.DBSession session)
           
 void replaceValue(int rowId, Object value)
           
 
Methods inherited from class org.gcube.contentmanagement.timeseriesservice.impl.editing.ColumnEditor
getDataType, getDistinctErrors, getPossibleValues, getTemporaryColumnDefinition, modifyDistinctEntryId, modifyDistinctEntryValue, modifyEntryId, replaceDistinctIds, replaceDistinctValue, replaceEntryValueWithId, replaceIds
 
Methods inherited from class org.gcube.contentmanagement.timeseriesservice.impl.editing.Edit
dismiss, errorCount, getCorrectsTable, getCorrectsTableName, getEditorType, getFieldId, getFieldLength, getHistoryItems, getIsUnderInitialization, getResultAsJson, getWrongsTable, getWrongsTableName, initialize, removeAllErrors, removeSingleError, save, setHistoryItems, setIsUnderInitialization, totalCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeListRelationEdit

public CodeListRelationEdit(String resourceId,
                            String fieldId,
                            org.gcube.common.dbinterface.tables.SimpleTable resourceTable,
                            int[] fieldLength,
                            boolean withoutError,
                            String codeFieldId,
                            org.gcube.common.dbinterface.tables.SimpleTable relationTable,
                            String... rowIdLabel)
                     throws Exception
Throws:
Exception

CodeListRelationEdit

public CodeListRelationEdit(String resourceId,
                            String fieldId,
                            org.gcube.common.dbinterface.tables.SimpleTable resourceTable,
                            int[] fieldLength,
                            boolean withoutError,
                            String codeFieldId,
                            String... rowIdLabel)
                     throws Exception
Throws:
Exception
Method Detail

internalInitialize

public void internalInitialize(org.gcube.common.dbinterface.pool.DBSession session)
                        throws Exception
Overrides:
internalInitialize in class ColumnEditor
Throws:
Exception

check

public long check()
           throws Exception
Overrides:
check in class ColumnEditor
Throws:
Exception

replaceValue

public void replaceValue(int rowId,
                         Object value)
                  throws Exception
Overrides:
replaceValue in class ColumnEditor
Throws:
Exception


Copyright © 2012. All Rights Reserved.