|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.timeseriesservice.impl.editing.EditProxy
org.gcube.contentmanagement.timeseriesservice.impl.editing.Edit
public abstract class Edit
| Nested Class Summary | |
|---|---|
static class |
Edit.TYPE
|
| Constructor Summary | |
|---|---|
Edit(java.lang.String resourceId,
java.lang.String fieldId,
SimpleTable resourceTable,
int[] fieldlength,
boolean withoutError,
java.lang.String... rowIdLabel)
|
|
| Method Summary | |
|---|---|
abstract long |
check()
|
void |
dismiss()
exits from edit mode and removes all the temporary tables |
long |
errorCount()
return the number of errors for this column setting |
Edit.TYPE |
getEditorType()
|
java.lang.String |
getFieldId()
|
int[] |
getFieldLength()
|
java.util.LinkedList<CurationHistoryItem> |
getHistoryItems()
|
State |
getIsUnderInitialization()
set the state for the edit initialization |
java.lang.String |
getResultAsJson(Select query,
boolean onlyErrors)
allows user to retrieve all the information in the table as JSon |
void |
initialize()
|
int |
removeAllErrors()
|
int |
removeSingleError(long rowId)
|
void |
save()
saves the current set |
void |
setHistoryItems(java.util.LinkedList<CurationHistoryItem> historyEditorList)
|
void |
setIsUnderInitialization(State isUnderInitialization)
sets the initialization state |
long |
totalCount()
the total entries count |
| Methods inherited from class org.gcube.contentmanagement.timeseriesservice.impl.editing.EditProxy |
|---|
getDistinctErrors, getPossibleValues, getTemporaryColumnDefinition, modifyDistinctEntryId, modifyDistinctEntryValue, modifyEntryId, replaceDistinctIds, replaceDistinctValue, replaceEntryValueWithId, replaceIds, replaceValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Edit(java.lang.String resourceId,
java.lang.String fieldId,
SimpleTable resourceTable,
int[] fieldlength,
boolean withoutError,
java.lang.String... rowIdLabel)
| Method Detail |
|---|
public java.lang.String getFieldId()
public Edit.TYPE getEditorType()
public int[] getFieldLength()
public void initialize()
public abstract long check()
throws java.lang.Exception
java.lang.Exception
public void save()
throws java.lang.Exception
java.lang.Exception - -
public java.lang.String getResultAsJson(Select query,
boolean onlyErrors)
throws OperationNotSupportedException,
java.lang.Exception
limit - the query limitonlyErrors - if true the method returns only the wrong entries
java.lang.Exception - -
OperationNotSupportedException
public long errorCount()
throws java.lang.Exception
java.lang.Exception
public long totalCount()
throws java.lang.Exception
java.lang.Exceptionpublic void dismiss()
public State getIsUnderInitialization()
public void setIsUnderInitialization(State isUnderInitialization)
isUnderInitialization - the Statepublic java.util.LinkedList<CurationHistoryItem> getHistoryItems()
getHistoryItems in class EditProxypublic void setHistoryItems(java.util.LinkedList<CurationHistoryItem> historyEditorList)
historyEditorList -
public int removeAllErrors()
throws java.lang.Exception
java.lang.Exception
public int removeSingleError(long rowId)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||