Interface Resource

  • All Known Implementing Classes:
    ResourceImpl

    public interface Resource
    Main-Class that contains all information about one particular resource within logicalDOC. Important attributes are ID, Name, RequestedPerson ID identifies a resource against logicalDOC.
    Name Is the Title of a given resource that appears on the client site as "file name"
    RequestedPerson shows the user that wants todo something with this resource. Therefore the passed ID corresponds with the userid within logicalDOC. Secure handlings will be managed through this.
    Author:
    Sebastian Wenzky
    • Method Detail

      • setID

        void setID​(String ID)
      • getContentLength

        Long getContentLength()
      • setContentLength

        void setContentLength​(Long contentLength)
      • setName

        void setName​(String name)
      • isFolder

        boolean isFolder()
      • isWorkspace

        boolean isWorkspace()
      • isLocked

        boolean isLocked()
      • isDeleteEnabled

        boolean isDeleteEnabled()
      • isRenameEnabled

        boolean isRenameEnabled()
      • isDownloadEnabled

        boolean isDownloadEnabled()
      • isWriteEnabled

        boolean isWriteEnabled()
      • isMoveEnabled

        boolean isMoveEnabled()
      • isAddChildEnabled

        boolean isAddChildEnabled()
      • setDeleteEnabled

        void setDeleteEnabled​(boolean deleteEnabled)
      • setDownloadEnabled

        void setDownloadEnabled​(boolean downloadEnabled)
      • setRenameEnabled

        void setRenameEnabled​(boolean renameEnabled)
      • setWriteEnabled

        void setWriteEnabled​(boolean writeEnabled)
      • setAddChildEnabled

        void setAddChildEnabled​(boolean renameEnabled)
      • setLocked

        void setLocked​(boolean locked)
      • isFolder

        void isFolder​(boolean isFolder)
      • isWorkspace

        void isWorkspace​(boolean isWorkspace)
      • setPath

        void setPath​(String path)
      • setInputStream

        void setInputStream​(InputStream is)
      • setRequestedPerson

        void setRequestedPerson​(long id)
      • getRequestedPerson

        long getRequestedPerson()
      • isCheckedOut

        boolean isCheckedOut()
      • setCheckedOut

        void setCheckedOut​(boolean checkedOut)
      • setVersionLabel

        void setVersionLabel​(String versionLabel)
      • getVersionLabel

        String getVersionLabel()
      • getLastModified

        Date getLastModified()
      • setLastModified

        void setLastModified​(Date lastModified)
      • setVersionDate

        void setVersionDate​(Date date)
      • getVersionDate

        Date getVersionDate()
      • getAuthor

        String getAuthor()
      • setAuthor

        void setAuthor​(String author)
      • getComment

        String getComment()
      • setComment

        void setComment​(String comment)
      • setCreationDate

        void setCreationDate​(Date creation)
      • getCreationDate

        Date getCreationDate()
      • setSession

        void setSession​(DavSession session)
      • getDocRef

        Long getDocRef()
      • setDocRef

        void setDocRef​(Long docRef)
      • setFolderID

        void setFolderID​(String folderID)
      • getFolderID

        String getFolderID()
      • getLockUser

        String getLockUser()
      • setLockUser

        void setLockUser​(String lockUser)