public abstract class UndoableChanges extends ChangeSet
EMPTY_CHANGE_SET
Constructor and Description |
---|
UndoableChanges() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
commit()
Commits all changes in this set and returns the new baseline.
|
java.lang.String |
getSummary()
Gets the summary of the changes.
|
java.util.Iterator<ObjectDiffs> |
iterator()
Returns an iterator over the changes in this set.
|
abstract void |
undo(java.lang.String preOpLabel)
Undoes all changes in this set.
|
public java.lang.String getSummary()
ChangeSet
getSummary
in class ChangeSet
public java.util.Iterator<ObjectDiffs> iterator()
ChangeSet
iterator
in interface java.lang.Iterable<ObjectDiffs>
iterator
in class ChangeSet
public abstract void undo(java.lang.String preOpLabel)
preOpLabel
- the label returned by
SandboxedRepository.prePublish
or null
public abstract java.lang.String commit()
null
if the same branch created by
SandboxedRepository.branch
continues to be used.
In case of "publish" operation, the returned value should be the
label that will become the new certified label.SandboxedRepository.branch(oracle.adf.share.sandbox.Sandbox, java.lang.String)
,
SandboxedRepository.refresh(oracle.adf.share.sandbox.Sandbox, java.lang.String)
,
SandboxedRepository.publish(oracle.adf.share.sandbox.Sandbox)