Class IndexVersion

  • All Implemented Interfaces:
    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:
    Serialized Form
    • 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
      IndexVersion()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      String getDiskPath()  
      String getPath()  
      int hashCode()  
      void setDiskPath​(String diskPath)  
      void setPath​(String path)  
      • 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, getCreation, getCustomId, getDate, getDecodedPassword, getDeleteUser, getDeleteUserId, getDigest, 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, setCreation, setCustomId, setDate, setDecodedPassword, setDeleteUser, setDeleteUserId, setDigest, 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.metadata.ExtensibleObject

        getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateName, setValue, setValues, setValues
      • Methods inherited from class com.logicaldoc.core.PersistentObject

        getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
    • Constructor Detail

      • IndexVersion

        public IndexVersion()
    • Method Detail

      • getDiskPath

        public String getDiskPath()
      • setDiskPath

        public void setDiskPath​(String diskPath)
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class com.logicaldoc.core.PersistentObject
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.logicaldoc.core.PersistentObject
      • getPath

        public String getPath()
      • setPath

        public void setPath​(String path)