org.olat.core.util.vfs.callbacks
Class ReadOnlyCallback
java.lang.Object
org.olat.core.util.vfs.callbacks.ReadOnlyCallback
- All Implemented Interfaces:
- VFSSecurityCallback
public class ReadOnlyCallback
- extends java.lang.Object
- implements VFSSecurityCallback
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlyCallback
public ReadOnlyCallback()
canList
public boolean canList()
- Specified by:
canList in interface VFSSecurityCallback
- Returns:
- True if listing is allowed.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#canList(org.olat.modules.bc.Path)
canRead
public boolean canRead()
- Specified by:
canRead in interface VFSSecurityCallback
- Returns:
- True if reading is allowed.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#canRead(org.olat.modules.bc.Path)
canWrite
public boolean canWrite()
- Specified by:
canWrite in interface VFSSecurityCallback
- Returns:
- True if writing is allowed.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#canWrite(org.olat.modules.bc.Path)
canDelete
public boolean canDelete()
- Specified by:
canDelete in interface VFSSecurityCallback
- Returns:
- True if deleting is allowed.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#canDelete(org.olat.modules.bc.Path)
canCopy
public boolean canCopy()
- Specified by:
canCopy in interface VFSSecurityCallback
- Returns:
- True if copying is allowed.
- See Also:
VFSSecurityCallback.canCopy()
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:
- Return the Quota for this container.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#getQuotaKB(org.olat.modules.bc.Path)
setQuota
public void setQuota(Quota quota)
- Description copied from interface:
VFSSecurityCallback
- Set the Quota for this container.
- Specified by:
setQuota in interface VFSSecurityCallback
- See Also:
org.olat.core.util.vfs.callbacks.VFSSecurityCallback#setQuota(org.olat.admin.quota.Quota)
getSubscriptionContext
public SubscriptionContext getSubscriptionContext()
- Specified by:
getSubscriptionContext in interface VFSSecurityCallback
- Returns:
- the subscriptionContext. If null, then no subscription must be offered.
- See Also:
org.olat.modules.bc.callbacks.SecurityCallback#getSubscriptionContext()