Class HistorisedDocumentVersion
- java.lang.Object
-
- org.silverpeas.core.contribution.attachment.model.SimpleDocument
-
- org.silverpeas.core.contribution.attachment.model.HistorisedDocument
-
- org.silverpeas.core.contribution.attachment.model.HistorisedDocumentVersion
-
- All Implemented Interfaces:
Serializable
,Attachment
,Contribution
,LocalizedAttachment
,LocalizedContribution
,LocalizedResource
,ResourceTranslation
,Translatable
,Translation
,Identifiable
,Instance<Contribution>
,Nameable
,Securable
,SilverpeasResource
public class HistorisedDocumentVersion extends HistorisedDocument
This class permits to get a historized 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 useHistorisedDocument.getVersionMaster()
method. To check if the current instance is indexed on master version, please useSimpleDocument.isVersionMaster()
method.- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.contribution.attachment.model.SimpleDocument
ATTACHMENT_PREFIX, DOCUMENT_PREFIX, FILE_PREFIX, VERSION_PREFIX, WEBDAV_FOLDER
-
-
Constructor Summary
Constructors Constructor Description HistorisedDocumentVersion(SimpleDocumentVersion version)
Default constructor.
-
Method Summary
-
Methods inherited from class org.silverpeas.core.contribution.attachment.model.HistorisedDocument
equals, getFunctionalHistory, getHistory, getLastPublicVersion, getPreviousVersion, getPublicVersions, getVersionIdentifiedBy, getVersionMaster, hashCode, isVersioned, setHistory
-
Methods inherited from class org.silverpeas.core.contribution.attachment.model.SimpleDocument
addRolesForWhichDownloadIsAllowed, addRolesForWhichDownloadIsAllowed, addRolesForWhichDownloadIsForbidden, addRolesForWhichDownloadIsForbidden, canBeAccessedBy, canBeModifiedBy, computeNodeName, edit, editableSimultaneously, getAlert, getAttachment, getAttachmentPath, getAttachmentURL, getCloneId, getComment, getContentType, getCreatedBy, getCreationDate, getCreator, getDescription, getDirectoryPath, getDisplayIcon, getDocumentType, getEditedBy, getExpiry, getFilename, getFolder, getForbiddenDownloadForRoles, getForeignId, getFullJcrContentPath, getFullJcrPath, getId, getIdentifier, getInstanceId, getLanguage, getLastUpdateDate, getLastUpdater, getMajorVersion, getMinorVersion, getName, getNodeName, getOldSilverpeasId, getOnlineURL, getOrder, getPk, getRepositoryPath, getReservation, getSize, getStatus, getTitle, getTranslation, getUniversalURL, getUpdatedBy, getVersion, getVersionIndex, getWebdavContentEditionLanguage, getWebdavContentEditionSize, getWebdavJcrPath, getWebdavUrl, getXmlFormId, isASimpleDocument, isContentArchive, isContentImage, isContentMail, isContentPdf, isContentSpinfire, isDisplayableAsContent, isDownloadAllowedForReaders, isDownloadAllowedForRoles, isDownloadAllowedForRolesFrom, isEdited, isEditedBy, isOpenOfficeCompatible, isPublic, isReadOnly, isSharingAllowedForRolesFrom, isVersionMaster, release, resetWebdavContentEditionContext, setAlert, setAttachment, setCloneId, setComment, setContentType, setCreationDate, setDescription, setDisplayableAsContent, setDocumentType, setEditableSimultaneously, setExpiry, setFilename, setForeignId, setId, setLanguage, setLastUpdateDate, setMajorVersion, setMinorVersion, setNodeName, setOldSilverpeasId, setOrder, setPK, setPublicDocument, setRepositoryPath, setReservation, setSize, setStatus, setTitle, setUpdatedBy, setVersionIndex, setVersionMaster, setXmlFormId, toString, unlock
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.contribution.model.Contribution
getContributionType, getModel, getResourcePath, isIndexable
-
Methods inherited from interface org.silverpeas.core.security.Securable
canBeDeletedBy, canBeFiledInBy
-
-
-
-
Constructor Detail
-
HistorisedDocumentVersion
public HistorisedDocumentVersion(SimpleDocumentVersion version)
Default constructor.- Parameters:
version
- the simple document version from which the historized document is indexed.
-
-