Examples of moveCopyToDir()


Examples of org.olat.core.commons.modules.bc.meta.MetaInfo.moveCopyToDir()

        boolean targetIsRelPath = (target instanceof OlatRelPathImpl);
        for (VFSItem vfsSource:sources) {
          if (targetIsRelPath && (vfsSource instanceof OlatRelPathImpl)) {
            // copy the metainfo first
            MetaInfo meta = MetaInfoFactory.createMetaInfoFor((OlatRelPathImpl)vfsSource);
            meta.moveCopyToDir((OlatRelPathImpl)target, move);
          }
         
          VFSItem targetFile = target.resolve(vfsSource.getName());
          if(vfsSource instanceof VFSLeaf && targetFile != null && targetFile instanceof Versionable
              && ((Versionable)targetFile).getVersions().isVersioned()) {
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.