|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreCloneModificationHistoryExtension
Special extension interface for ICloneModificationHistoryExtension
which contains methods which may
only be called by the current IStoreProvider
.
ICloneModificationHistoryExtension
,
IStoreProvider
Method Summary | |
---|---|
void |
endOfTransaction()
Indicates the end of the current IStoreProvider transaction. |
java.util.Date |
getEndOfTransactionCloneDiffCreationDate()
Retrieves the creation date of the last (oldest) CloneDiff of this extension at the time of the
last call of endOfTransaction() . |
void |
setEndOfTransactionCloneDiffCreationDate(java.util.Date endOfTransactionCloneDiffCreationDate)
Sets the getEndOfTransactionCloneDiffCreationDate() value. |
boolean |
wasCleared()
Checks whether this extension was cleared ( ICloneModificationHistoryExtension.clearCloneDiffs() ) since
the end of the last transaction. |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.extension.ICloneModificationHistoryExtension |
---|
addCloneDiff, addCloneDiffs, addCloneDiffs, clearCloneDiffs, getCloneDiffs, getCloneDiffsForTransaction, getValidCreationDate |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObjectExtension |
---|
clone, getExtensionInterfaceClass, isPartial, setParentUuid, toString |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneDataElement |
---|
isSealed, seal |
Method Detail |
---|
void endOfTransaction()
IStoreProvider
transaction.
IMPORTANT: This method must only be used from within the IStoreProvider
!
ICloneModificationHistoryExtension.getCloneDiffsForTransaction()
,
IStoreProvider
java.util.Date getEndOfTransactionCloneDiffCreationDate()
CloneDiff
of this extension at the time of the
last call of endOfTransaction()
.
endOfTransaction()
was never called or if no CloneDiff
elements were added at that point in time, this method will return NULL.
IMPORTANT: This method must only be used from within the IStoreProvider
!
endOfTransaction()
, may be NULL.void setEndOfTransactionCloneDiffCreationDate(java.util.Date endOfTransactionCloneDiffCreationDate)
getEndOfTransactionCloneDiffCreationDate()
value.
IStoreProvider
to "merge" multiple ICloneModificationHistoryExtension
s,
if needed.
IMPORTANT: This method must only be used from within the IStoreProvider
!
endOfTransactionCloneDiffCreationDate
- the new end of transaction creation date, may be NULL.boolean wasCleared()
ICloneModificationHistoryExtension.clearCloneDiffs()
) since
the end of the last transaction.
ICloneModificationHistoryExtension.clearCloneDiffs()
is called
and is reset to false when endOfTransaction()
is called.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |