Examples of PortalData


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

   }

   public PortalConfig getPortalConfig(String ownerType, String portalName) throws Exception
   {
      PortalKey key = new PortalKey(ownerType, portalName);
      PortalData data = delegate.getPortalConfig(key);
      return data != null ? new PortalConfig(data) : null;
   }
View Full Code Here

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

   public PortalData build()
   {
      List<String> accessPermissions = Utils.safeImmutableList(this.accessPermissions);
      Map<String, String> properties = Utils.safeImmutableMap(this.properties);
      return new PortalData(
         storageId,
         name,
         type,
         locale,
         accessPermissions,
View Full Code Here

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

        delegate.save();
    }

    public PortalConfig getPortalConfig(String ownerType, String portalName) throws Exception {
        PortalKey key = new PortalKey(ownerType, portalName);
        PortalData data = delegate.getPortalConfig(key);
        return data != null ? new PortalConfig(data) : null;
    }
View Full Code Here

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

    }

    public PortalData build() {
        List<String> accessPermissions = Utils.safeImmutableList(this.accessPermissions);
        Map<String, String> properties = Utils.safeImmutableMap(this.properties);
        return new PortalData(storageId, name, type, locale, label, description, accessPermissions, editPermission, properties,
                skin, portalLayout.build(), buildRedirectData());
    }
View Full Code Here

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

    }

    public PortalData build() {
        List<String> accessPermissions = Utils.safeImmutableList(this.accessPermissions);
        Map<String, String> properties = Utils.safeImmutableMap(this.properties);
        return new PortalData(storageId, name, type, locale, label, description, accessPermissions, editPermission, properties,
                skin, portalLayout.build(), buildRedirectData());
    }
View Full Code Here

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

   public PortalData build()
   {
      List<String> accessPermissions = Utils.safeImmutableList(this.accessPermissions);
      Map<String, String> properties = Utils.safeImmutableMap(this.properties);
      return new PortalData(
         storageId,
         name,
         type,
         locale,
         label,
View Full Code Here

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

   }

   public PortalConfig getPortalConfig(String ownerType, String portalName) throws Exception
   {
      PortalKey key = new PortalKey(ownerType, portalName);
      PortalData data = delegate.getPortalConfig(key);
      return data != null ? new PortalConfig(data) : null;
   }
View Full Code Here

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

   {
      UserACL userACL = getApplicationComponent(UserACL.class);
      Iterator<PortalData> itr = pageList.getAll().iterator();
      while (itr.hasNext())
      {
         PortalData pConfig = itr.next();
         if (!userACL.hasPermission(new PortalConfig(pConfig)))
            itr.remove();
      }
      return pageList;
   }
View Full Code Here

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

    }

    private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
    {
        in.defaultReadObject();
        PortalData data = (PortalData) in.readObject();
        portalConfig = new PortalConfig(data);
    }
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.