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 to do something with this resource. Therefore the passed ID corresponds with the userid within logicalDOC. Secure handlings will be managed through this.
Name Is the Title of a given resource that appears on the client site as "file name"
RequestedPerson shows the user that wants to do 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 Summary
Modifier and TypeMethodDescriptiongetETag()
getID()
getName()
long
boolean
boolean
boolean
boolean
boolean
isFolder()
void
isFolder
(boolean isFolder) boolean
isLocked()
boolean
boolean
boolean
void
isWorkspace
(boolean isWorkspace) boolean
void
setAddChildEnabled
(boolean renameEnabled) void
void
setCheckedOut
(boolean checkedOut) void
setComment
(String comment) void
setContentLength
(Long contentLength) void
setCreationDate
(Date creation) void
setDeleteEnabled
(boolean deleteEnabled) void
void
setDownloadEnabled
(boolean downloadEnabled) void
void
setFolderID
(String folderID) void
void
void
setLastModified
(Date lastModified) void
setLocked
(boolean locked) void
setLockUser
(String lockUser) void
void
setRenameEnabled
(boolean renameEnabled) void
setRequestedPerson
(long id) void
setSession
(WebdavSession session) void
setVersionDate
(Date date) void
setVersionLabel
(String versionLabel) void
setWriteEnabled
(boolean writeEnabled)
-
Method Details
-
setID
-
getID
String getID() -
getContentLength
Long getContentLength() -
getName
String getName() -
setContentLength
-
setName
-
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) -
setInputStream
-
getInputStream
InputStream getInputStream() -
setRequestedPerson
void setRequestedPerson(long id) -
getRequestedPerson
long getRequestedPerson() -
isCheckedOut
boolean isCheckedOut() -
setCheckedOut
void setCheckedOut(boolean checkedOut) -
setVersionLabel
-
getVersionLabel
String getVersionLabel() -
getLastModified
Date getLastModified() -
setLastModified
-
setVersionDate
-
getVersionDate
Date getVersionDate() -
getAuthor
String getAuthor() -
setAuthor
-
getComment
String getComment() -
setComment
-
setCreationDate
-
getCreationDate
Date getCreationDate() -
getSession
WebdavSession getSession() -
setSession
-
getDocRef
Long getDocRef() -
setDocRef
-
setFolderID
-
getFolderID
String getFolderID() -
getLockUser
String getLockUser() -
setLockUser
-
setETag
-
getETag
String getETag()
-