|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject jsdai.lang.SdaiEvent jsdai.lang.SdaiLoggingEvent
This class informs SDAI listeners about changes done in the undo/redo log file. The subclasses of this class support iterating over entity instances for which some changes (due to their modification, creation, deletion or substitution) were recorded in the log file for subsequent undo/redo operations. The records are divided into segments called groups. The subclasses allow iteration over records of one group in one of the two directions: from the first record to the last one, or vice versa.
Field Summary | |
static int |
DISABLED_LOGGING
Logging of data for subsequent undo/redo operations is disabled. |
static int |
EMPTIED_HISTORY
The undo/redo log file exists but is empty. |
static int |
ENABLED_LOGGING
Logging of data for subsequent undo/redo operations is enabled. |
static int |
ENDED_UNDO_GROUP
A group of records in undo/redo log file is ended. |
static int |
REDONE_GROUP
The redo operation is applied to one group of records in the undo/redo log file. |
static int |
STARTING_UNDO_GROUP
A group of records in undo/redo log file is started. |
static int |
UNDONE_GROUP
The undo operation is applied to one group of records in the undo/redo log file. |
Fields inherited from class jsdai.lang.SdaiEvent |
INVALID, ITEM_ALL, ITEM_CONTENTS, ITEM_HEADER, LOCKED_EXCLUSIVE_MODE, LOCKED_SHARED_MODE, MODIFIED, SERVER_DATA_CHANGED, UNLOCKED_ALL, UNLOCKED_EXCLUSIVE_MODE, UNLOCKED_SHARED_MODE |
Method Summary | |
SdaiOperationIterator |
getOperationIterator()
Returns an object of SdaiOperationIterator with fields
assigned to default values. |
Methods inherited from class jsdai.lang.SdaiEvent |
getArgument, getId, getItem |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int ENABLED_LOGGING
public static final int DISABLED_LOGGING
public static final int EMPTIED_HISTORY
public static final int STARTING_UNDO_GROUP
public static final int ENDED_UNDO_GROUP
public static final int UNDONE_GROUP
public static final int REDONE_GROUP
Method Detail |
public SdaiOperationIterator getOperationIterator() throws SdaiException
SdaiOperationIterator
with fields
assigned to default values.
SdaiException
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |