org.olat.repository
Class SharedFolderSecurityCallback

java.lang.Object
  extended by org.olat.repository.SharedFolderSecurityCallback
All Implemented Interfaces:
VFSSecurityCallback

public class SharedFolderSecurityCallback
extends java.lang.Object
implements VFSSecurityCallback

Initial Date: 29.06.2005

Author:
Alexander Schneider Comment:

Constructor Summary
SharedFolderSecurityCallback(java.lang.String relPath)
           
 
Method Summary
 boolean canCopy()
           
 boolean canDelete()
           
 boolean canDeleteRevisionsPermanently()
           
 boolean canList()
           
 boolean canRead()
           
 boolean canWrite()
           
 Quota getQuota()
           
 SubscriptionContext getSubscriptionContext()
           
 void setQuota(Quota quota)
          Set the Quota for this container.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SharedFolderSecurityCallback

public SharedFolderSecurityCallback(java.lang.String relPath)
Method Detail

canRead

public boolean canRead()
Specified by:
canRead in interface VFSSecurityCallback
Returns:
boolean

canWrite

public boolean canWrite()
Specified by:
canWrite in interface VFSSecurityCallback
Returns:
boolean

canDelete

public boolean canDelete()
Specified by:
canDelete in interface VFSSecurityCallback
Returns:
boolean

canList

public boolean canList()
Specified by:
canList in interface VFSSecurityCallback
Returns:
boolean

canCopy

public boolean canCopy()
Specified by:
canCopy in interface VFSSecurityCallback
Returns:
boolean

canDeleteRevisionsPermanently

public boolean canDeleteRevisionsPermanently()
Specified by:
canDeleteRevisionsPermanently in interface VFSSecurityCallback
Returns:
True if deleting revisions from delete files is allowed
See Also:
VFSSecurityCallback.canDeleteRevisionsPermanently()

getQuota

public Quota getQuota()
Specified by:
getQuota in interface VFSSecurityCallback
Returns:
boolean

setQuota

public void setQuota(Quota quota)
Description copied from interface: VFSSecurityCallback
Set the Quota for this container.

Specified by:
setQuota in interface VFSSecurityCallback

getSubscriptionContext

public SubscriptionContext getSubscriptionContext()
Specified by:
getSubscriptionContext in interface VFSSecurityCallback
Returns:
boolean