Class Utils

java.lang.Object
org.exoplatform.navigation.webui.Utils

public class Utils extends Object
  • Field Details

    • TURN_ON_QUICK_EDIT

      public static final String TURN_ON_QUICK_EDIT
      The Quick edit attribute for HTTPSession
      See Also:
  • Method Details

    • getSelectedNavigation

      public static org.exoplatform.portal.mop.user.UserNavigation getSelectedNavigation() throws Exception
      Throws:
      Exception
    • createPopupWindow

      public static void createPopupWindow(org.exoplatform.webui.core.UIContainer container, org.exoplatform.webui.core.UIComponent component, String popupWindowId, int width) throws Exception
      Creates the popup window. Each portlet have a UIPopupContainer .
      Every UIPopupWindow created by this method is belong to this container.
      Parameters:
      container - the current container
      component - the component which will be display as a popup
      popupWindowId - the popup's ID
      width - the width of the popup
      Throws:
      Exception - the exception
    • hasEditPermissionOnNavigation

      public static boolean hasEditPermissionOnNavigation() throws Exception
      Throws:
      Exception
    • hasEditPermissionOnPortal

      public static boolean hasEditPermissionOnPortal() throws Exception
      Throws:
      Exception
    • hasEditPermissionOnPage

      public static boolean hasEditPermissionOnPage() throws Exception
      Throws:
      Exception