org.silverpeas.attachment.model
Class HistorisedDocumentVersion

java.lang.Object
  extended by org.silverpeas.attachment.model.SimpleDocument
      extended by org.silverpeas.attachment.model.HistorisedDocument
          extended by org.silverpeas.attachment.model.HistorisedDocumentVersion
All Implemented Interfaces:
Serializable

public class HistorisedDocumentVersion
extends HistorisedDocument

This class permits to get an historised document behaviour not from the master version but from a frozen version of the document. The history is accorded to the specified version. To obtain the master version, please use HistorisedDocument.getVersionMaster() method. To check if the current instance is indexed on master version, please use SimpleDocument.isVersionMaster() method.

Author:
Yohann Chastagnier
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.silverpeas.attachment.model.SimpleDocument
ATTACHMENT_PREFIX, DOCUMENT_PREFIX, FILE_PREFIX, VERSION_PREFIX, WEBDAV_FOLDER
 
Constructor Summary
HistorisedDocumentVersion(SimpleDocumentVersion version)
          Default constructor.
 
Method Summary
 
Methods inherited from class org.silverpeas.attachment.model.HistorisedDocument
getFunctionalHistory, getHistory, getLastPublicVersion, getPreviousVersion, getPublicVersions, getVersionIdentifiedBy, getVersionMaster, isVersioned, setHistory
 
Methods inherited from class org.silverpeas.attachment.model.SimpleDocument
addRolesForWhichDownloadIsAllowed, addRolesForWhichDownloadIsAllowed, addRolesForWhichDownloadIsForbidden, addRolesForWhichDownloadIsForbidden, canBeAccessedBy, canBeModifiedBy, computeNodeName, edit, equals, getAlert, getAliasURL, getAttachment, getAttachmentPath, getAttachmentURL, getCloneId, getComment, getContentType, getCreated, getCreatedBy, getDescription, getDirectoryPath, getDisplayIcon, getDocumentType, getEditedBy, getExpiry, getFilename, getFolder, getForbiddenDownloadForRoles, getForeignId, getFullJcrContentPath, getFullJcrPath, getId, getInstanceId, getLanguage, getMajorVersion, getMinorVersion, getNodeName, getOldSilverpeasId, getOnlineURL, getOrder, getPk, getRepositoryPath, getReservation, getSize, getStatus, getTitle, getUniversalURL, getUpdated, getUpdatedBy, getVersion, getVersionIndex, getWebdavContentEditionLanguage, getWebdavContentEditionSize, getWebdavJcrPath, getWebdavUrl, getWebURL, getXmlFormId, hashCode, isContentArchive, isContentImage, isContentMail, isContentPdf, isContentSpinfire, isDownloadAllowedForReaders, isDownloadAllowedForRoles, isDownloadAllowedForRolesFrom, isOpenOfficeCompatible, isPublic, isReadOnly, isSharingAllowedForRolesFrom, isVersionMaster, release, resetWebdavContentEditionContext, setAlert, setAttachment, setCloneId, setComment, setContentType, setCreated, setDescription, setDocumentType, setExpiry, setFilename, setForeignId, setId, setLanguage, setMajorVersion, setMinorVersion, setNodeName, setOldSilverpeasId, setOrder, setPK, setPublicDocument, setRepositoryPath, setReservation, setSize, setStatus, setTitle, setUpdated, setUpdatedBy, setVersionIndex, setVersionMaster, setXmlFormId, toString, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistorisedDocumentVersion

public HistorisedDocumentVersion(SimpleDocumentVersion version)
Default constructor.

Parameters:
version - the simple document version from which the historised document is indexed.


Copyright © 2016 Silverpeas. All Rights Reserved.