Package org.exoplatform.portal.mop

Examples of org.exoplatform.portal.mop.SiteType


            // Rule #2: Send a warning if navigation.xml <page-reference> doesn't match with siteKey type
            List<String> refPages = new ArrayList<String>();
            if (mopImport.navigationTask != null) {
                PageNavigation pageNavigation = mopImport.navigationTask.getData();
                SiteType siteType = siteKey.getType();
                for (NavigationFragment fragment : pageNavigation.getFragments()) {
                    validateNodeType(siteType, fragment.getNodes(), refPages);
                }
            }
View Full Code Here


    protected SiteKey getOriginSiteKey(ControllerContext context) {
        String originSiteName = context.getParameter(PortalRequestHandler.REQUEST_SITE_NAME);
        String originSiteTypeString = context.getParameter(PortalRequestHandler.REQUEST_SITE_TYPE);

        SiteType originSiteType;
        if (originSiteTypeString.equals(SiteType.GROUP.getName())) {
            originSiteType = SiteType.GROUP;
        } else if (originSiteTypeString.equals(SiteType.USER.getName())) {
            originSiteType = SiteType.USER;
        } else {
View Full Code Here

TOP

Related Classes of org.exoplatform.portal.mop.SiteType

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.