Package org.exoplatform.portal.pom.data

Examples of org.exoplatform.portal.pom.data.PageData


   @Override
   public PageData build()
   {
      List<ComponentData> children = buildChildren();
      return new PageData(
         storageId,
         id,
         name,
         icon,
         template,
View Full Code Here


   }

   public Page getPage(String pageId) throws Exception
   {
      PageKey key = PageKey.create(pageId);
      PageData data = delegate.getPage(key);
      return data != null ? new Page(data) : null;
   }
View Full Code Here

        return getPortalConfig(PortalConfig.PORTAL_TYPE, portalName);
    }

    public Page getPage(String pageId) throws Exception {
        PageKey key = PageKey.create(pageId);
        PageData data = delegate.getPage(key);
        return data != null ? new Page(data) : null;
    }
View Full Code Here

    }

    @Override
    public PageData build() {
        List<ComponentData> children = buildChildren();
        return new PageData(storageId, id, name, icon, template, factoryId, title, description, width, height,
                Utils.safeImmutableList(accessPermissions), children, ownerType, ownerId, editPermission, showMaxWindow);
    }
View Full Code Here

    }

    @Override
    public PageData build() {
        List<ComponentData> children = buildChildren();
        return new PageData(storageId, id, name, icon, template, factoryId, title, description, width, height,
                Utils.safeImmutableList(accessPermissions), children, ownerType, ownerId, editPermission, showMaxWindow,
                Utils.safeImmutableList(moveAppsPermissions), Utils.safeImmutableList(moveContainersPermissions));
    }
View Full Code Here

   @Override
   public PageData build()
   {
      List<ComponentData> children = buildChildren();
      return new PageData(
         storageId,
         id,
         name,
         icon,
         template,
View Full Code Here

   }

   public Page getPage(String pageId) throws Exception
   {
      PageKey key = PageKey.create(pageId);
      PageData data = delegate.getPage(key);
      return data != null ? new Page(data) : null;
   }
View Full Code Here

         Described dstDescribed = dstPage.adapt(Described.class);
         dstDescribed.setName(srcDescribed.getName());
         dstDescribed.setDescription(srcDescribed.getDescription());

         // Copy src permissions to dst permission
         PageData srcPageData = new Mapper(session).load(srcPage);
         ProtectedResource pr = dstPage.adapt(ProtectedResource.class);
         pr.setAccessPermissions(srcPageData.getAccessPermissions());
         pr.setEditPermission(srcPageData.getEditPermission());

         copy(srcPage, dstPage, srcPage.getRootComponent(), dstPage.getRootComponent());

         //
         return new Mapper(session).load(dstPage);
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.pom.data.PageData

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.