|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implicit supertype for all classes aiding to run through 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 classes that implement this interface are designed to iterate over instances described by records of one group.
The interface is not intended to be implemented by the user.
Field Summary | |
static int |
CREATE_EXTERNAL_DATA_OPERATION
|
static int |
CREATE_OPERATION
|
static int |
DELETE_OPERATION
|
static int |
MODIFY_OPERATION
|
static int |
REMOVE_EXTERNAL_DATA_OPERATION
|
static int |
SUBSTITUTE_OPERATION
|
Method Summary | |
long |
getOperationInstanceId()
Returns the identifier of the entity instance on which an operation was performed. |
java.lang.String |
getOperationInstanceLabel()
Returns persistent label of the entity instance on which an operation was performed. |
jsdai.dictionary.EEntity_definition |
getOperationInstanceType()
Returns entity data type of the instance on which an operation was performed. |
SdaiModel |
getOperationModel()
Returns SdaiModel that is the owner of the entity instance
on which an operation was performed.
|
long |
getOperationPrevInstanceId()
Returns the identifier of the entity instance for which substitute instance operation was performed (that is, this instance was substituted with another one, possibly having different entity definition). |
java.lang.String |
getOperationPrevInstanceLabel()
Returns persistent label of the entity instance for which substitute instance operation was performed (that is, this instance was substituted with another one, possibly having different entity definition). |
jsdai.dictionary.EEntity_definition |
getOperationPrevInstanceType()
Returns entity data type of the entity instance for which substitute instance operation was performed (that is, this instance was substituted with another one). |
SdaiModel |
getOperationPrevModel()
Returns SdaiModel that is the owner of the entity instance
for which substitute instance operation was performed (that is,
this instance was substituted with another one). |
SdaiRepository |
getOperationRepository()
Returns SdaiRepository that contains the entity instance
on which an operation was performed.
|
int |
getOperationType()
Returns an indicator specifying the type of changes performed on the entity instance at hand. |
boolean |
next()
Positions this iterator to reference the next entity instance in the sequence of instances for which records in undo/redo log file were created and combined to form a separate group. |
Field Detail |
public static final int CREATE_OPERATION
public static final int DELETE_OPERATION
public static final int MODIFY_OPERATION
public static final int SUBSTITUTE_OPERATION
public static final int CREATE_EXTERNAL_DATA_OPERATION
public static final int REMOVE_EXTERNAL_DATA_OPERATION
Method Detail |
public boolean next() throws SdaiException
true
if iterator has a new current member (instance),
false
otherwise.
SdaiException
- SY_ERR, an underlying system error occurred.public int getOperationType() throws SdaiException
SdaiException
public SdaiModel getOperationModel() throws SdaiException
SdaiModel
that is the owner of the entity instance
on which an operation was performed.
In the case of the substitute instance operation, this SdaiModel
owns
the new entity instance (substitute), not the old one (which is deleted).
SdaiException
public SdaiRepository getOperationRepository() throws SdaiException
SdaiRepository
that contains the entity instance
on which an operation was performed.
The repository is available only for CREATE_EXTERNAL_DATA_OPERATION
and REMOVE_EXTERNAL_DATA_OPERATION
.
SdaiRepository
of the entity instance or null
if repository is not known.
SdaiException
public java.lang.String getOperationInstanceLabel() throws SdaiException
SdaiException
public long getOperationInstanceId() throws SdaiException
SdaiException
public jsdai.dictionary.EEntity_definition getOperationInstanceType() throws SdaiException
SdaiException
public java.lang.String getOperationPrevInstanceLabel() throws SdaiException
SdaiException
public long getOperationPrevInstanceId() throws SdaiException
SdaiException
public jsdai.dictionary.EEntity_definition getOperationPrevInstanceType() throws SdaiException
SdaiException
public SdaiModel getOperationPrevModel() throws SdaiException
SdaiModel
that is the owner of the entity instance
for which substitute instance operation was performed (that is,
this instance was substituted with another one).
SdaiException
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |