Package com.dotmarketing.portlets.contentlet.model

Examples of com.dotmarketing.portlets.contentlet.model.ContentletVersionInfo


    if(host ==null){
        HibernateUtil hu=new HibernateUtil(ContentletVersionInfo.class);
        hu.setQuery("from "+ContentletVersionInfo.class.getName()+" where identifier=?");
        hu.setParam(id);
        ContentletVersionInfo vinfo=(ContentletVersionInfo) hu.load();
        if(vinfo!=null && UtilMethods.isSet(vinfo.getIdentifier())) {
            String hostInode=vinfo.getWorkingInode();
          Contentlet cont= APILocator.getContentletAPI().find(hostInode, APILocator.getUserAPI().getSystemUser(), respectFrontendRoles);
          Structure st = StructureCache.getStructureByVelocityVarName("Host");
          if(cont.getStructureInode().equals(st.getInode())) {
              host=new Host(cont);
              hostCache.add(host);
View Full Code Here

TOP

Related Classes of com.dotmarketing.portlets.contentlet.model.ContentletVersionInfo

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.