Class IndexVersion

java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.ExtensibleObject
com.logicaldoc.core.security.SecurableExtensibleObject
com.logicaldoc.core.document.AbstractDocument
com.logicaldoc.core.document.Version
com.logicaldoc.impex.IndexVersion
All Implemented Interfaces:
com.logicaldoc.core.security.Securable, com.logicaldoc.core.TransactionalObject, Serializable, Comparable<com.logicaldoc.core.document.Version>

public class IndexVersion extends com.logicaldoc.core.document.Version
Useful class that extends Version class with the path (diskPath) field.
Since:
4.5
Author:
Matteo Caruso - LogicalDOC
See Also:
  • Field Summary

    Fields inherited from class com.logicaldoc.core.document.AbstractDocument

    DOC_ARCHIVED, DOC_CHECKED_OUT, DOC_LOCKED, DOC_UNLOCKED, EXPORT_LOCKED, EXPORT_UNLOCKED, INDEX_INDEXED, INDEX_SKIP, INDEX_TO_INDEX, INDEX_TO_INDEX_METADATA, NATURE_DOC

    Fields inherited from class com.logicaldoc.core.PersistentObject

    DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    int
     
    void
    setDiskPath(String diskPath)
     
    void
     

    Methods inherited from class com.logicaldoc.core.document.Version

    calculateNewVersion, compareTo, create, getCreator, getCreatorId, getDocId, getEvent, getFolderId, getFolderName, getTemplateId, getUserId, getUsername, getVersionDate, setCreator, setCreatorId, setDocId, setEvent, setFolderId, setFolderName, setTemplateId, setUserId, setUsername, setVersionDate, toString

    Methods inherited from class com.logicaldoc.core.document.AbstractDocument

    addTag, clearTags, copyAttributes, getBarcoded, getBarcodeTemplateId, getColor, getComment, getCustomId, getDate, getDecodedPassword, getDeleteUser, getDeleteUserId, getDigest, getDocAttrs, getDocRef, getDocRefType, getExportId, getExportName, getExportStatus, getExportVersion, getExtResId, getFileExtension, getFileName, getFileSize, getFileVersion, getFolder, getFormId, getIcon, getImmutable, getIndexed, getLanguage, getLinks, getLocale, getLockUser, getLockUserId, getNature, getOcrd, getOcrTemplateId, getPages, getPassword, getPreviewPages, getPublished, getPublisher, getPublisherId, getRating, getSigned, getStamped, getStartPublishing, getStatus, getStopPublishing, getTags, getTagsAsWords, getTagsString, getTgs, getTitle, getTransactionId, getType, getVersion, getWorkflowStatus, getWorkflowStatusDisplay, isGranted, isModified, isPasswordProtected, isPublishing, isToIndex, setBarcoded, setBarcodeTemplateId, setColor, setComment, setCustomId, setDate, setDecodedPassword, setDeleteUser, setDeleteUserId, setDigest, setDocAttrs, setDocRef, setDocRefType, setExportId, setExportName, setExportStatus, setExportVersion, setExtResId, setFileName, setFileSize, setFileVersion, setFolder, setFormId, setImmutable, setIndexed, setLanguage, setLinks, setLocale, setLockUser, setLockUserId, setModified, setNature, setOcrd, setOcrTemplateId, setPages, setPassword, setPreviewPages, setPublished, setPublisher, setPublisherId, setRating, setSigned, setStamped, setStartPublishing, setStatus, setStopPublishing, setTags, setTagsFromWords, setTgs, setTransactionId, setType, setVersion, setWorkflowStatus, setWorkflowStatusDisplay

    Methods inherited from class com.logicaldoc.core.security.SecurableExtensibleObject

    addAccessControlEntry, getAccessControlEntry, getAccessControlList, setAccessControlList

    Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject

    getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateName, setValue, setValues

    Methods inherited from class com.logicaldoc.core.PersistentObject

    getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IndexVersion

      public IndexVersion()
  • Method Details

    • getDiskPath

      public String getDiskPath()
    • setDiskPath

      public void setDiskPath(String diskPath)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class com.logicaldoc.core.document.Version
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class com.logicaldoc.core.document.Version