Class ResourceImpl
java.lang.Object
com.logicaldoc.webdav.resource.model.ResourceImpl
- All Implemented Interfaces:
- Resource
Implementation of a generic WebDAV resource
- Author:
- Sebastian Wenzky
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetETag()getID()getName()longlonggetSize()booleanbooleanbooleanbooleanbooleanisFolder()booleanisLocked()booleanbooleanbooleanbooleanvoidsetAddChildEnabled(boolean addChildEnabled) voidvoidsetCheckedOut(boolean isCheckedOut) voidsetComment(String comment) voidsetContentLength(Long contentLength) voidsetCreationDate(Date creation) voidsetDeleteEnabled(boolean deleteEnabled) voidvoidsetDownloadEnabled(boolean downloadEnabled) voidvoidsetFolder(boolean folder) voidsetFolderID(String folderId) voidvoidvoidsetLastModified(Date lastModified) voidsetLocked(boolean locked) voidsetLockUser(String lockUser) voidvoidsetRenameEnabled(boolean renameEnabled) voidsetRequestedPerson(long id) voidsetSession(WebdavSession session) voidsetSize(long size) voidsetVersionDate(Date date) voidsetVersionLabel(String versionLabel) voidsetWorkspace(boolean workspace) voidsetWriteEnabled(boolean writeEnabled) 
- 
Constructor Details- 
ResourceImplpublic ResourceImpl()
 
- 
- 
Method Details- 
getContentLength- Specified by:
- getContentLengthin interface- Resource
 
- 
getName
- 
setContentLength- Specified by:
- setContentLengthin interface- Resource
 
- 
setName
- 
setFolderpublic void setFolder(boolean folder) 
- 
setWorkspacepublic void setWorkspace(boolean workspace) - Specified by:
- setWorkspacein interface- Resource
 
- 
isFolderpublic boolean isFolder()
- 
isWorkspacepublic boolean isWorkspace()- Specified by:
- isWorkspacein interface- Resource
 
- 
setLockedpublic void setLocked(boolean locked) 
- 
isLockedpublic boolean isLocked()
- 
getID
- 
setID
- 
getInputStream- Specified by:
- getInputStreamin interface- Resource
 
- 
setInputStream- Specified by:
- setInputStreamin interface- Resource
 
- 
getRequestedPersonpublic long getRequestedPerson()- Specified by:
- getRequestedPersonin interface- Resource
 
- 
setRequestedPersonpublic void setRequestedPerson(long id) - Specified by:
- setRequestedPersonin interface- Resource
 
- 
isCheckedOutpublic boolean isCheckedOut()- Specified by:
- isCheckedOutin interface- Resource
 
- 
setCheckedOutpublic void setCheckedOut(boolean isCheckedOut) - Specified by:
- setCheckedOutin interface- Resource
 
- 
getVersionLabel- Specified by:
- getVersionLabelin interface- Resource
 
- 
setVersionLabel- Specified by:
- setVersionLabelin interface- Resource
 
- 
getLastModified- Specified by:
- getLastModifiedin interface- Resource
 
- 
setLastModified- Specified by:
- setLastModifiedin interface- Resource
 
- 
getVersionDate- Specified by:
- getVersionDatein interface- Resource
 
- 
setVersionDate- Specified by:
- setVersionDatein interface- Resource
 
- 
setAuthor
- 
getAuthor
- 
setComment- Specified by:
- setCommentin interface- Resource
 
- 
getComment- Specified by:
- getCommentin interface- Resource
 
- 
setCreationDate- Specified by:
- setCreationDatein interface- Resource
 
- 
getCreationDate- Specified by:
- getCreationDatein interface- Resource
 
- 
isDeleteEnabledpublic boolean isDeleteEnabled()- Specified by:
- isDeleteEnabledin interface- Resource
 
- 
isMoveEnabledpublic boolean isMoveEnabled()- Specified by:
- isMoveEnabledin interface- Resource
 
- 
isRenameEnabledpublic boolean isRenameEnabled()- Specified by:
- isRenameEnabledin interface- Resource
 
- 
setDeleteEnabledpublic void setDeleteEnabled(boolean deleteEnabled) - Specified by:
- setDeleteEnabledin interface- Resource
 
- 
setRenameEnabledpublic void setRenameEnabled(boolean renameEnabled) - Specified by:
- setRenameEnabledin interface- Resource
 
- 
isWriteEnabledpublic boolean isWriteEnabled()- Specified by:
- isWriteEnabledin interface- Resource
 
- 
setWriteEnabledpublic void setWriteEnabled(boolean writeEnabled) - Specified by:
- setWriteEnabledin interface- Resource
 
- 
isAddChildEnabledpublic boolean isAddChildEnabled()- Specified by:
- isAddChildEnabledin interface- Resource
 
- 
setAddChildEnabledpublic void setAddChildEnabled(boolean addChildEnabled) - Specified by:
- setAddChildEnabledin interface- Resource
 
- 
getSession- Specified by:
- getSessionin interface- Resource
 
- 
setSession- Specified by:
- setSessionin interface- Resource
 
- 
isDownloadEnabledpublic boolean isDownloadEnabled()- Specified by:
- isDownloadEnabledin interface- Resource
 
- 
setDownloadEnabledpublic void setDownloadEnabled(boolean downloadEnabled) - Specified by:
- setDownloadEnabledin interface- Resource
 
- 
getDocRef
- 
setDocRef
- 
getFolderID- Specified by:
- getFolderIDin interface- Resource
 
- 
setFolderID- Specified by:
- setFolderIDin interface- Resource
 
- 
getLockUser- Specified by:
- getLockUserin interface- Resource
 
- 
setLockUser- Specified by:
- setLockUserin interface- Resource
 
- 
setETag
- 
getETag
- 
setSizepublic void setSize(long size) 
- 
getSizepublic long getSize()
 
-