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:
java.io.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
 
Constructor Summary
CodeListRelationEdit(java.lang.String resourceId, java.lang.String fieldId, SimpleTable resourceTable, int[] fieldLength, boolean withoutError, java.lang.String codeFieldId, SimpleTable relationTable, java.lang.String... rowIdLabel)
           
CodeListRelationEdit(java.lang.String resourceId, java.lang.String fieldId, SimpleTable resourceTable, int[] fieldLength, boolean withoutError, java.lang.String codeFieldId, java.lang.String... rowIdLabel)
           
 
Method Summary
 long check()
           
 void internalInitialize(DBSession session)
           
 void replaceValue(int rowId, java.lang.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, getEditorType, getFieldId, getFieldLength, getHistoryItems, getIsUnderInitialization, getResultAsJson, initialize, removeAllErrors, removeSingleError, save, setHistoryItems, setIsUnderInitialization, totalCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeListRelationEdit

public CodeListRelationEdit(java.lang.String resourceId,
                            java.lang.String fieldId,
                            SimpleTable resourceTable,
                            int[] fieldLength,
                            boolean withoutError,
                            java.lang.String codeFieldId,
                            SimpleTable relationTable,
                            java.lang.String... rowIdLabel)
                     throws java.lang.Exception
Throws:
java.lang.Exception

CodeListRelationEdit

public CodeListRelationEdit(java.lang.String resourceId,
                            java.lang.String fieldId,
                            SimpleTable resourceTable,
                            int[] fieldLength,
                            boolean withoutError,
                            java.lang.String codeFieldId,
                            java.lang.String... rowIdLabel)
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

internalInitialize

public void internalInitialize(DBSession session)
                        throws java.lang.Exception
Overrides:
internalInitialize in class ColumnEditor
Throws:
java.lang.Exception

check

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

replaceValue

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