Package org.olat.core.util.vfs

Examples of org.olat.core.util.vfs.VFSItem.canRename()


   * @param name
   * @return true: can rename; false: can not rename
   */
  public boolean canRename(String name) {
    VFSItem item = resolveFile(name);
    if (item != null && VFSConstants.YES.equals(item.canRename())) {
      return !MetaInfoHelper.isLocked(item, userSession);
    }
    else return false;
 
 
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.