Package org.exoplatform.portal.mop

Examples of org.exoplatform.portal.mop.Visibility


    */
   private static PageNode filterNodeNavigation(PageNode startNode, String userName, boolean acceptNonDisplayedNode,
      UserPortalConfigService userService, UserACL userACL) throws Exception
   {
   
      Visibility nodeVisibility = startNode.getVisibility();
      String pageReference = startNode.getPageReference();

      boolean doNothingCase_1 = nodeVisibility == Visibility.SYSTEM && (!userACL.getSuperUser().equals(userName) || !acceptNonDisplayedNode);
      boolean doNothingCase_2 = nodeVisibility != Visibility.SYSTEM && !startNode.isDisplay() && !acceptNonDisplayedNode;
      boolean doNothingCase_3 = (pageReference != null) && (userService.getPage(pageReference, userName) == null);
View Full Code Here


            Described described = navigation.adapt(Described.class);
            label = described.getName();
        }

        //
        Visibility visibility = Visibility.DISPLAYED;
        Date startPublicationDate = null;
        Date endPublicationDate = null;
        boolean restrictOutsidePublicationWindow = false;
        if (navigation.isAdapted(RestrictAccess.class)) {
            RestrictAccess restrictAccess = navigation.adapt(RestrictAccess.class);
View Full Code Here

TOP

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

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.