it.sistematica.isharedoc.webdav.model.cloud
Class WebDAVCloudFolder
java.lang.Object
it.sistematica.isharedoc.webdav.model.cloud.WebDAVCloudFile
it.sistematica.isharedoc.webdav.model.cloud.WebDAVCloudFolder
- All Implemented Interfaces:
- com.ithit.webdav.server.deltav.DeltaVItem, com.ithit.webdav.server.deltav.History, com.ithit.webdav.server.deltav.Version, com.ithit.webdav.server.deltav.VersionableItem, com.ithit.webdav.server.Folder, com.ithit.webdav.server.HierarchyItem, com.ithit.webdav.server.Lock
- Direct Known Subclasses:
- WebDAVUserHome
public class WebDAVCloudFolder
- extends WebDAVCloudFile
- implements com.ithit.webdav.server.Folder, com.ithit.webdav.server.deltav.VersionableItem, com.ithit.webdav.server.deltav.Version, com.ithit.webdav.server.deltav.History
Methods inherited from class it.sistematica.isharedoc.webdav.model.cloud.WebDAVCloudFile |
additionalEditableChecks, copyTo, delete, getActiveLocks, getCloudFile, getCloudRepository, getCreated, getModified, getName, getPartition, getPath, getProperties, getPropertyNames, getWebDAVEngine, getWebDAVRepository, getWebDAVRoot, lock, moveTo, refreshLock, toString, unlock, updateProperties, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ithit.webdav.server.HierarchyItem |
copyTo, delete, getCreated, getModified, getName, getPath, getProperties, getPropertyNames, moveTo, updateProperties |
cloudFolder
protected CloudFolder cloudFolder
WebDAVCloudFolder
protected WebDAVCloudFolder()
WebDAVCloudFolder
protected WebDAVCloudFolder(CloudFolder cloudFolder)
getCloudFolder
public CloudFolder getCloudFolder()
setCloudFile
public void setCloudFile(CloudFile cloudFile)
- Overrides:
setCloudFile
in class WebDAVCloudFile
createFile
public com.ithit.webdav.server.File createFile(java.lang.String name)
throws com.ithit.webdav.server.exceptions.LockedException,
com.ithit.webdav.server.exceptions.ServerException
- Specified by:
createFile
in interface com.ithit.webdav.server.Folder
- Throws:
com.ithit.webdav.server.exceptions.LockedException
com.ithit.webdav.server.exceptions.ServerException
createFolder
public void createFolder(java.lang.String name)
throws com.ithit.webdav.server.exceptions.LockedException,
com.ithit.webdav.server.exceptions.ServerException
- Specified by:
createFolder
in interface com.ithit.webdav.server.Folder
- Throws:
com.ithit.webdav.server.exceptions.LockedException
com.ithit.webdav.server.exceptions.ServerException
getChildren
public java.util.List<? extends com.ithit.webdav.server.HierarchyItem> getChildren()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getChildren
in interface com.ithit.webdav.server.Folder
- Throws:
com.ithit.webdav.server.exceptions.ServerException
putUnderVersionControl
public void putUnderVersionControl(boolean enable)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
putUnderVersionControl
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
getComment
public java.lang.String getComment()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getComment
in interface com.ithit.webdav.server.deltav.DeltaVItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getCreatorDisplayName
public java.lang.String getCreatorDisplayName()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getCreatorDisplayName
in interface com.ithit.webdav.server.deltav.DeltaVItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
setComment
public void setComment(java.lang.String arg0)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
setComment
in interface com.ithit.webdav.server.deltav.DeltaVItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
setCreatorDisplayName
public void setCreatorDisplayName(java.lang.String arg0)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
setCreatorDisplayName
in interface com.ithit.webdav.server.deltav.DeltaVItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
getCurrentVersion
public com.ithit.webdav.server.deltav.Version getCurrentVersion()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getCurrentVersion
in interface com.ithit.webdav.server.deltav.History
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getRootVersion
public com.ithit.webdav.server.deltav.Version getRootVersion()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getRootVersion
in interface com.ithit.webdav.server.deltav.History
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getVersionSet
public java.util.List<? extends com.ithit.webdav.server.deltav.Version> getVersionSet()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getVersionSet
in interface com.ithit.webdav.server.deltav.History
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getPredecessor
public com.ithit.webdav.server.deltav.Version getPredecessor()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getPredecessor
in interface com.ithit.webdav.server.deltav.Version
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getSuccessor
public com.ithit.webdav.server.deltav.Version getSuccessor()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getSuccessor
in interface com.ithit.webdav.server.deltav.Version
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getVersionName
public java.lang.String getVersionName()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getVersionName
in interface com.ithit.webdav.server.deltav.Version
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getVersionableItem
public com.ithit.webdav.server.deltav.VersionableItem getVersionableItem()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getVersionableItem
in interface com.ithit.webdav.server.deltav.Version
- Throws:
com.ithit.webdav.server.exceptions.ServerException
checkIn
public java.lang.String checkIn()
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
checkIn
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
checkOut
public void checkOut()
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
checkOut
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
getAutoCheckIn
public boolean getAutoCheckIn()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getAutoCheckIn
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getAutoVersion
public com.ithit.webdav.server.deltav.AutoVersion getAutoVersion()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getAutoVersion
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
getVersionHistory
public com.ithit.webdav.server.deltav.History getVersionHistory()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
getVersionHistory
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
isCheckedOut
public boolean isCheckedOut()
throws com.ithit.webdav.server.exceptions.ServerException
- Specified by:
isCheckedOut
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
setAutoCheckIn
public void setAutoCheckIn(boolean arg0)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
setAutoCheckIn
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
setAutoVersion
public void setAutoVersion(com.ithit.webdav.server.deltav.AutoVersion arg0)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
setAutoVersion
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
unCheckOut
public void unCheckOut()
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
unCheckOut
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException
updateToVersion
public void updateToVersion(com.ithit.webdav.server.deltav.Version arg0)
throws com.ithit.webdav.server.exceptions.ServerException,
com.ithit.webdav.server.exceptions.LockedException
- Specified by:
updateToVersion
in interface com.ithit.webdav.server.deltav.VersionableItem
- Throws:
com.ithit.webdav.server.exceptions.ServerException
com.ithit.webdav.server.exceptions.LockedException