Examples of canDeleteRevisionsPermanently()


Examples of org.olat.core.util.vfs.callbacks.VFSSecurityCallback.canDeleteRevisionsPermanently()

    deletedFilesListTableCtr.addColumnDescriptor(new StaticColumnDescriptor(CMD_DOWNLOAD, "version.download", getTranslator().translate(
        "version.download")));

    VFSSecurityCallback secCallback = VFSManager.findInheritedSecurityCallback(container);
    if (secCallback != null) {
      if (secCallback.canDeleteRevisionsPermanently()) {
        deletedFilesListTableCtr.addMultiSelectAction("delete", CMD_DELETE);
      }
      if (secCallback.canWrite()) {
        deletedFilesListTableCtr.addMultiSelectAction("version.restore", CMD_RESTORE);
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.