Package com.dotmarketing.beans

Examples of com.dotmarketing.beans.ContainerStructure


        container.setPreLoop("preloop code");
        container.setPostLoop("postloop code");
        Structure st=StructureCache.getStructureByVelocityVarName("FileAsset");

        List<ContainerStructure> csList = new ArrayList<ContainerStructure>();
        ContainerStructure cs = new ContainerStructure();
        cs.setStructureId(st.getInode());
        cs.setCode("this is the code");
        csList.add(cs);

        container = APILocator.getContainerAPI().save(container, csList, host, sysuser, false);

        // a template for the page
View Full Code Here


        container.setPostLoop("postloop code");
        Structure st=StructureCache.getStructureByVelocityVarName("FileAsset");
        // commented by issue-2093

        List<ContainerStructure> csList = new ArrayList<ContainerStructure>();
            ContainerStructure cs = new ContainerStructure();
            cs.setStructureId(st.getInode());
            cs.setCode("this is the code");
            csList.add(cs);

        container = APILocator.getContainerAPI().save(container, csList, host, sysuser, false);

        // a template for the page
View Full Code Here

            container.setTitle("LinkChecker Container "+uuid);
            container.setCode("$html");
            container.setMaxContentlets(0);

            List<ContainerStructure> csList = new ArrayList<ContainerStructure>();
            ContainerStructure cs = new ContainerStructure();
            cs.setStructureId(structure.getInode());
            cs.setCode("this is the code");
            csList.add(cs);
            container=APILocator.getContainerAPI().save(container, csList, host, sysuser, false);

            template=new Template();
            template.setTitle("empty template "+uuid);
View Full Code Here

      container.setTitle("News Test Container");
      container.setType("containers");
      container.setUseDiv( true );

      List<ContainerStructure> csList = new ArrayList<ContainerStructure>();
          ContainerStructure cs = new ContainerStructure();
          cs.setStructureId(simpleWidgetSt.getInode());
          cs.setCode("$!{story}");
          csList.add(cs);

          container = APILocator.getContainerAPI().save(container, csList, demoHost, user, false);
//      WebAssetFactory.createAsset( container, user.getUserId(), demoHost );
      APILocator.getVersionableAPI().setLive( container );
View Full Code Here

TOP

Related Classes of com.dotmarketing.beans.ContainerStructure

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.