Package org.exoplatform.portal.config.model

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


        }

        pageNode.setVisibility(nodeState.getVisibility());
        pageNode.setPageReference(nodeState.getPageRef() != null ? nodeState.getPageRef().format() : null);

        pageNode.setProperties(new Properties(nodeState.getAttributesState()));

        if (node.getNodes() != null) {
            ArrayList<PageNode> children = new ArrayList<PageNode>(node.getNodeCount());
            for (NodeContext<?> child : node.getNodes()) {
                @SuppressWarnings("unchecked")
View Full Code Here


            }
        }
    }

    public static Properties unmarshalProperties(StaxNavigator<Element> navigator) {
        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);
        }
        return 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.setLabel(existing.getLabel());
        portalConfig.setSkin(existing.getSkin());
        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

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.