Package org.exoplatform.portal.config.model

Examples of org.exoplatform.portal.config.model.Properties


    public static final String appStatus = "appStatus";

    public Properties getProperties() {
        if (properties == null)
            properties = new Properties();
        return properties;
    }
View Full Code Here


                case SKIN:
                    portalConfig.setSkin(navigator.getContent());
                    current = navigator.sibling();
                    break;
                case PROPERTIES:
                    Properties properties = new Properties();
                    if (navigator.navigate(Axis.CHILD, Element.PROPERTIES_ENTRY)) {
                        for (StaxNavigator<Element> fork : navigator.fork(Element.PROPERTIES_ENTRY)) {
                            String key = getRequiredAttribute(fork, Attribute.PROPERTIES_KEY.getLocalName());
                            String value = getRequiredContent(fork, false);
                            properties.put(key, value);
                        }
                    } else {
                        throw expectedElement(navigator, Element.PROPERTIES_ENTRY);
                    }
                    portalConfig.setProperties(properties);
View Full Code Here

        application.setDescription(existing.getDescription());
        application.setHeight(existing.getHeight());
        application.setIcon(existing.getIcon());
        application.setId(existing.getId());
        application.setModifiable(existing.isModifiable());
        application.setProperties(new Properties(existing.getProperties()));
        application.setShowApplicationMode(existing.getShowApplicationMode());
        application.setShowApplicationState(existing.getShowApplicationState());
        application.setShowInfoBar(existing.getShowInfoBar());
        application.setState(copy(existing.getType(), existing.getState()));
        application.setTheme(existing.getTheme());
View Full Code Here

        portalConfig.setEditPermission(existing.getEditPermission());
        portalConfig.setLabel(existing.getLabel());
        portalConfig.setLocale(existing.getLocale());
        portalConfig.setModifiable(existing.isModifiable());
        portalConfig.setPortalLayout(copy(existing.getPortalLayout()));
        portalConfig.setProperties(new Properties(existing.getProperties()));

        return portalConfig;
    }
View Full Code Here

    * @see org.exoplatform.portal.config.model.Properties
    */
   public Properties getProperties()
   {
      if (properties_ == null)
         properties_ = new Properties();
      return properties_;
   }
View Full Code Here

      String icon = nextOptionalTag(ctx, "icon");
      String width = nextOptionalTag(ctx, "width");
      String height = nextOptionalTag(ctx, "height");

      //
      Properties properties = null;
      if (ctx.isAt(m_uri, "properties"))
      {
         properties = (Properties)ctx.unmarshalElement();
      }
View Full Code Here

      application.setDescription(existing.getDescription());
      application.setHeight(existing.getHeight());
      application.setIcon(existing.getIcon());
      application.setId(existing.getId());
      application.setModifiable(existing.isModifiable());
      application.setProperties(new Properties(existing.getProperties()));
      application.setShowApplicationMode(existing.getShowApplicationMode());
      application.setShowApplicationState(existing.getShowApplicationState());
      application.setShowInfoBar(existing.getShowInfoBar());
      application.setState(copy(existing.getType(), existing.getState()));
      application.setTheme(existing.getTheme());
View Full Code Here

      portalConfig.setEditPermission(existing.getEditPermission());
      portalConfig.setLabel(existing.getLabel());
      portalConfig.setLocale(existing.getLocale());
      portalConfig.setModifiable(existing.isModifiable());
      portalConfig.setPortalLayout(copy(existing.getPortalLayout()));
      portalConfig.setProperties(new Properties(existing.getProperties()));

      return portalConfig;
   }
View Full Code Here

            case SKIN:
               portalConfig.setSkin(navigator.getContent());
               current = navigator.sibling();
               break;
            case PROPERTIES:
               Properties properties = new Properties();
               if (navigator.navigate(Axis.CHILD, Element.PROPERTIES_ENTRY))
               {
                  for (StaxNavigator<Element> fork : navigator.fork(Element.PROPERTIES_ENTRY))
                  {
                     String key = getRequiredAttribute(fork, Attribute.PROPERTIES_KEY.getLocalName());
                     String value = getRequiredContent(fork, false);
                     properties.put(key, value);
                  }
               }
               else
               {
                  throw expectedElement(navigator, Element.PROPERTIES_ENTRY);
View Full Code Here

   public static final String appStatus = "appStatus";

   public Properties getProperties()
   {
      if (properties == null)
         properties = new Properties();
      return properties;
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.config.model.Properties

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.