Package com.axemble.vdoc.sdk.interfaces
Interface IVersion
- All Superinterfaces:
- IDelegationSupport,- IDeletionSupport,- IElement,- IProtocolSupport,- IResource,- ISearchSupport,- ISecuritySupport,- IUriSupport,- Serializable
public interface IVersion
extends IResource, IDeletionSupport, ISearchSupport, IUriSupport, IDelegationSupport, IProtocolSupport
This class represents a version of a document.
- Since:
- 1.0
- Version:
- 1.0, 10/06/2010
- Author:
- vlygeros
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAvailable version status.
- 
Method SummaryModifier and TypeMethodDescriptionRetrieve the user who checked out the version.voidcheckIn()Check in a version.voidcheckOut()Check out a version.Gets the associatedIAttachmentTemplateobject.getCurrentTaskInstance(IContext context) Gets the current task instance.Collection<? extends IVersion> Gets the down links as a collection ofIVersionobjects.Gets the owner of the version.Gets the parent folder.Collection<? extends IVersion> Gets the up links as a collection ofIVersionobjects.intGets the version statusGets the associated workflow.booleanCheck if the version has been checked out.booleanMove a version to a folder.voidSets the name of the version.voidSets the owner of the version.voidUndo check out.Methods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupportdeleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceaddLinkedResource, addLinkedResources, allowEvents, createLinkedResource, deleteLinkedResource, deleteLinkedResources, denyEvents, exists, getCreatedBy, getCreatedDate, getDefinition, getHistory, getLinkedResources, getList, getModifiedBy, getModifiedDate, getName, getText, getValue, refresh, refresh, save, save, setCreatedBy, setCreatedDate, setList, setModifiedBy, setModifiedDate, setValue, setValueNoEventsMethods inherited from interface com.axemble.vdoc.sdk.supports.IUriSupportgetURI
- 
Method Details- 
setNameSets the name of the version.- Parameters:
- name- the new name to set.
 
- 
getOwnedByIUser getOwnedBy()Gets the owner of the version.- Returns:
- a IUserobject.
 
- 
setOwnerSets the owner of the version.- Parameters:
- user- a- IUserobject.
 
- 
getAttachmentTemplateIAttachmentTemplate getAttachmentTemplate()Gets the associatedIAttachmentTemplateobject.- Returns:
- a IAttachmentTemplateobject.
 
- 
getWorkflowIWorkflow getWorkflow()Gets the associated workflow.- Returns:
- a IWorkflowobject.
 
- 
getCurrentTaskInstanceGets the current task instance.- Parameters:
- context- The execution context.
- Returns:
- a ITaskInstanceobject.
 
- 
checkOutvoid checkOut()Check out a version.
- 
undoCheckOutvoid undoCheckOut()Undo check out.
- 
checkInvoid checkIn()Check in a version.
- 
checkedOutByIUser checkedOutBy()Retrieve the user who checked out the version.- Returns:
- a IUserobject.
 
- 
isCheckedOutboolean isCheckedOut()Check if the version has been checked out.- Returns:
- true if the version has been checked out, false otherwise.
 
- 
getParentFolderIFolder getParentFolder()Gets the parent folder.- Returns:
- a IFolderobject.
 
- 
getVersionStatusint getVersionStatus()Gets the version status- Returns:
- the version status
- See Also:
 
- 
moveToMove a version to a folder.- Parameters:
- destFolder- The- IFolderto put the version to.
- Returns:
- true if succeed, 
} otherwise.invalid @link{@link false
 
- 
getUpLinksCollection<? extends IVersion> getUpLinks()Gets the up links as a collection ofIVersionobjects.- Returns:
- A Collectionof (@link IVersion} objects.
 
- 
getDownLinksCollection<? extends IVersion> getDownLinks()Gets the down links as a collection ofIVersionobjects.- Returns:
- A Collectionof (@link IVersion} objects.
 
 
-