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

Method Summary
 void commit(boolean isMajor)
          make the private working copy an official version.
 java.lang.String getCheckinComment()
           
 VersionedDocument getParentDocument()
           
 java.lang.String getVersionLabel()
           
 boolean isMajor()
           
 boolean isPwc()
           
 void setCheckinComment(java.lang.String comment)
           
 

Method Detail

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()