it.sistematica.isharedoc.opencmis.indatabase.storedobj.api
Interface Version
- All Known Subinterfaces:
- DocumentVersion
- All Known Implementing Classes:
- DocumentVersionImpl
public interface Version
The interface version adds the version specific functionality to an object.
It has minor and major versions, stores a comment and has a label
- Author:
- Jens
isMajor
boolean isMajor()
isPwc
boolean isPwc()
commit
void commit(boolean isMajor)
- make the private working copy an official version.
setCheckinComment
void setCheckinComment(java.lang.String comment)
getCheckinComment
java.lang.String getCheckinComment()
getVersionLabel
java.lang.String getVersionLabel()
getParentDocument
VersionedDocument getParentDocument()