public interface VersionedDocument extends Filing, 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,
List<String> policyIds,
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() |
getParentIds, getPathSegment, hasParent
addAppliedPolicy, createSystemBasePropertiesWhenCreated, fillProperties, getAclId, getAllowableActions, getAppliedPolicies, getChangeToken, getCreatedAt, getCreatedBy, getDescription, getId, getModifiedAt, getModifiedBy, getName, getProperties, getRenditionContent, getRenditions, getRepositoryId, getSecondaryTypeIds, getTypeId, hasRendition, removePolicy, setCreatedAt, setCreatedBy, setCustomProperties, setDescription, setId, setModifiedAt, setModifiedAtNow, setModifiedBy, setName, setProperties, setRepositoryId, setTypeId, updateSystemBasePropertiesWhenModified
DocumentVersion 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, List<String> policyIds, String user)
List<DocumentVersion> getAllVersions()
DocumentVersion getLatestVersion(boolean major)
String getCheckedOutBy()
DocumentVersion getPwc()
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.