public interface VersionedDocument extends MultiFiling, StoredObject
PATH_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
DocumentVersion |
addVersion(ContentStream content,
VersioningState verState,
String user) |
void |
cancelCheckOut(String user) |
void |
checkIn(boolean isMajor,
Properties properties,
ContentStream content,
String checkinComment,
String user) |
DocumentVersion |
checkOut(ContentStream content,
String user) |
boolean |
deleteVersion(DocumentVersion version)
delete a version from this object, throw exception if document is checked
out or document does not contain this version
|
List<DocumentVersion> |
getAllVersions() |
String |
getCheckedOutBy() |
DocumentVersion |
getLatestVersion(boolean major) |
DocumentVersion |
getPwc() |
boolean |
isCheckedOut() |
addParent, getPathSegment, removeParentgetParents, hasParent, movecreateSystemBasePropertiesWhenCreated, fillProperties, getAcl, getAllowableActions, getChangeToken, getCreatedAt, getCreatedBy, getId, getModifiedAt, getModifiedBy, getName, getObjectRelationships, getProperties, getRenditionContent, getRenditions, getRepositoryId, getTypeId, hasRendition, persist, rename, setCreatedAt, setCreatedBy, setCustomProperties, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setTypeId, updateSystemBasePropertiesWhenModifiedDocumentVersion addVersion(ContentStream content, VersioningState verState, String user)
boolean deleteVersion(DocumentVersion version)
version - version to be removedboolean isCheckedOut()
void cancelCheckOut(String user)
DocumentVersion checkOut(ContentStream content, String user)
void checkIn(boolean isMajor,
Properties properties,
ContentStream content,
String checkinComment,
String user)
List<DocumentVersion> getAllVersions()
DocumentVersion getLatestVersion(boolean major)
String getCheckedOutBy()
DocumentVersion getPwc()
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.