Package com.dotmarketing.business

Examples of com.dotmarketing.business.Treeable


       
        //set hostId to folder to persist in Identifier table.
        f.setHostId(parentHost.getIdentifier());
        final boolean isNew=!UtilMethods.isSet(f.getIdentifier());
        if(isNew) {
          Treeable parent;
          if(UtilMethods.isSet(parentFolder))
            parent=parentFolder;
          else
            parent=parentHost;
         
View Full Code Here


            contentlet = conFac.save(contentlet, existingInode);
        else
            contentlet = conFac.save(contentlet);

        if (!InodeUtils.isSet(contentlet.getIdentifier())) {
            Treeable parent = null;
            if(UtilMethods.isSet(contentletRaw.getFolder()) && !contentletRaw.getFolder().equals(FolderAPI.SYSTEM_FOLDER)){
                parent = APILocator.getFolderAPI().find(contentletRaw.getFolder(), sysuser, false);
            }else{
                parent = APILocator.getHostAPI().find(contentlet.getHost(), sysuser, false);
            }
View Full Code Here

TOP

Related Classes of com.dotmarketing.business.Treeable

Copyright © 2018 www.massapicom. 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.