org.olat.core.util.vfs.callbacks
Class FullAccessCallback
java.lang.Object
org.olat.core.util.vfs.callbacks.FullAccessCallback
- All Implemented Interfaces:
- VFSSecurityCallback
public class FullAccessCallback
- extends java.lang.Object
- implements VFSSecurityCallback
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullAccessCallback
public FullAccessCallback()
canRead
public boolean canRead()
- Specified by:
canRead in interface VFSSecurityCallback
- Returns:
- True if reading is allowed.
canWrite
public boolean canWrite()
- Specified by:
canWrite in interface VFSSecurityCallback
- Returns:
- True if writing is allowed.
canDelete
public boolean canDelete()
- Specified by:
canDelete in interface VFSSecurityCallback
- Returns:
- True if deleting is allowed.
canList
public boolean canList()
- Specified by:
canList in interface VFSSecurityCallback
- Returns:
- True if listing is allowed.
canCopy
public boolean canCopy()
- Specified by:
canCopy in interface VFSSecurityCallback
- Returns:
- True if copying is allowed.
canDeleteRevisionsPermanently
public boolean canDeleteRevisionsPermanently()
- Specified by:
canDeleteRevisionsPermanently in interface VFSSecurityCallback
- Returns:
- True if deleting revisions from delete files is allowed
getQuota
public Quota getQuota()
- Specified by:
getQuota in interface VFSSecurityCallback
- Returns:
- Return the Quota for this container.
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:
- the subscriptionContext. If null, then no subscription must be offered.