Class DMSFile

    • Constructor Detail

      • DMSFile

        public DMSFile()
    • Method Detail

      • setId

        public void setId​(Long id)
        Specified by:
        setId in class Model
      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • getIsDirectory

        public Boolean getIsDirectory()
      • setIsDirectory

        public void setIsDirectory​(Boolean isDirectory)
      • getParent

        public DMSFile getParent()
      • setParent

        public void setParent​(DMSFile parent)
      • getRelatedId

        public Long getRelatedId()
      • setRelatedId

        public void setRelatedId​(Long relatedId)
      • getRelatedModel

        public String getRelatedModel()
      • setRelatedModel

        public void setRelatedModel​(String relatedModel)
      • getMetaFile

        public MetaFile getMetaFile()
      • setMetaFile

        public void setMetaFile​(MetaFile metaFile)
      • addPermission

        public void addPermission​(DMSPermission item)
        Add the given DMSPermission item to the permissions collection.

        It sets item.file = this to ensure the proper relationship.

        Parameters:
        item - the item to add
      • removePermission

        public void removePermission​(DMSPermission item)
        Remove the given DMSPermission item from the permissions collection.
        Parameters:
        item - the item to remove
      • clearPermissions

        public void clearPermissions()
        Clear the permissions collection.
      • addTag

        public void addTag​(DMSFileTag item)
        Add the given DMSFileTag item to the tags collection.
        Parameters:
        item - the item to add
      • removeTag

        public void removeTag​(DMSFileTag item)
        Remove the given DMSFileTag item from the tags collection.
        Parameters:
        item - the item to remove
      • clearTags

        public void clearTags()
        Clear the tags collection.
      • getContent

        public String getContent()
      • setContent

        public void setContent​(String content)
      • getContentType

        public String getContentType()
      • setContentType

        public void setContentType​(String contentType)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object