Examples of resolvePath()


Examples of org.exoplatform.portal.mop.user.UserPortal.resolvePath()

        UserNode node;
        if (context.getRemoteUser() != null) {
            node = userPortal.resolvePath(Util.getUIPortal().getUserNavigation(), NAVIGATION_FILTER_CONFIG, path);
        } else {
            node = userPortal.resolvePath(NAVIGATION_FILTER_CONFIG, path);
        }

        if (node != null && !node.getURI().equals(path)) {
            // Node has been deleted
            return null;
View Full Code Here

Examples of org.exoplatform.portal.mop.user.UserPortal.resolvePath()

        UserNavigation currNav = getNavigation(SiteKey.portal(getCurrentPortal()));
        if (currNav == null)
            return null;

        UserPortal userPortal = getUserPortal();
        UserNode node = userPortal.resolvePath(currNav, toolbarFilterConfig, resourceId);
        if (node != null && node.getURI().equals(resourceId)) {
            return node;
        }
        return null;
    }
View Full Code Here

Examples of org.exoplatform.portal.mop.user.UserPortal.resolvePath()

        UserNavigation currNav = getCurrentUserNavigation();
        if (currNav == null)
            return null;

        UserPortal userPortal = getUserPortal();
        UserNode node = userPortal.resolvePath(currNav, toolbarFilterConfig, resourceId);
        if (node != null && node.getURI().equals(resourceId)) {
            return node;
        }
        return null;
    }
View Full Code Here

Examples of org.exoplatform.portal.webui.navigation.UIPortalNavigation.resolvePath()

    public JSONArray getChildrenAsJSON(String nodeURI) throws Exception {
        WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
        UIPortalNavigation uiPortalNavigation = getChild(UIPortalNavigation.class);

        Collection<UserNode> childs = null;
        UserNode userNode = uiPortalNavigation.resolvePath(nodeURI);
        if (userNode != null) {
            childs = userNode.getChildren();
        }

        JSONArray jsChilds = new JSONArray();
View Full Code Here

Examples of org.glassfish.admin.amx.base.Pathnames.resolvePath()

        try
        {
            final String path = proxy.path();
            final ObjectName actualObjectName = proxy.objectName();

            final ObjectName o = paths.resolvePath(path);
            if (o == null)
            {
                if ( proxy.valid() )   // could have been unregistered
                {
                    problems.add("Path " + path + " does not resolve to any ObjectName, should resolve to: " + actualObjectName);
View Full Code Here

Examples of org.nimbustools.api.brain.NimbusHomePathResolver.resolvePath()

            throw new ExecutionProblem("Configuration file is missing "+
                    PROP_SOCKET_DIR + " entry: " + configFile.getAbsolutePath());
        }

        final NimbusHomePathResolver resolver = new NimbusHomePathResolver();
        String path = resolver.resolvePath(sockDir);
        if (path == null) {
            path = sockDir;
        }
        this.socketDirectory = new File(path);
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.