public interface ICommitResult
The commit is decomposed of fragments
: one for each project fragment involved
in the commit operation.
This interface gives access to:
getFragments()
: describe the elements that were added, modified or removed
from the repository for each project fragment involved in the commit operation.
getSymbolService()
: provides a symbol services that gives the name or the absolute name of any committed element.isEmpty()
: can be used to test if anything was committed.
Modifier and Type | Method and Description |
---|---|
java.util.Collection<MObject> |
getAddedElements()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.lang.String |
getCommitAuthor()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.util.Date |
getCommitDate()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.lang.String |
getCommittedRevision()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.util.Collection<MRef> |
getDeletedElements()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.util.Collection<? extends ICommitResultFragment> |
getFragments()
Get the list of modified CMS nodes.
|
java.util.Collection<MObject> |
getModifiedElements()
Deprecated.
call the same method for each fragment returned by
getFragments() |
java.util.Collection<IElementMove> |
getMoves()
Get the list of element moves that have been committed.
|
java.util.Map<MObject,MObject> |
getNeededNonVersionedElements()
Deprecated.
call the same method for each fragment returned by
getFragments() |
ISymbolService |
getSymbolService()
Get the symbol service.
|
boolean |
isBatchMode() |
boolean |
isEmpty()
Returns true if there is nothing to commit.
|
java.util.Collection<? extends ICommitResultFragment> getFragments()
java.util.Collection<IElementMove> getMoves()
Note: The involved elements also belong to the modified or created elements list.
ISymbolService getSymbolService()
boolean isEmpty()
@Deprecated java.util.Collection<MRef> getDeletedElements()
getFragments()
@Deprecated java.util.Collection<MObject> getModifiedElements()
getFragments()
@Deprecated java.lang.String getCommitAuthor()
getFragments()
null
if nothing was committed.@Deprecated java.lang.String getCommittedRevision()
getFragments()
null
if nothing was committed.@Deprecated java.util.Map<MObject,MObject> getNeededNonVersionedElements()
getFragments()
@Deprecated java.util.Date getCommitDate()
getFragments()
null
if nothing was committed.@Deprecated java.util.Collection<MObject> getAddedElements()
getFragments()
boolean isBatchMode()