Class UIWikiPermalinkForm

  • All Implemented Interfaces:
    org.exoplatform.webui.core.UIPopupComponent

    public class UIWikiPermalinkForm
    extends org.exoplatform.webui.form.UIForm
    implements org.exoplatform.webui.core.UIPopupComponent
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      protected boolean canModifyPagePermission()  
      protected boolean canPublicAndRetrictPage()  
      void deActivate()  
      protected static String getPermanlink()
      Get the permalink of current wiki page
      With the current page param: type = "group" owner = "spaces/test_space" pageId = "test_page"
      The permalink will be: http://int.exoplatform.org/portal/intranet/wiki/group/spaces/test_space/test_page
      protected boolean isCurrentPagePublic()  
      • Methods inherited from class org.exoplatform.webui.form.UIForm

        addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUICheckBoxInput, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
      • Methods inherited from class org.exoplatform.webui.core.UIContainer

        addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes
      • Methods inherited from class org.exoplatform.webui.core.UIComponent

        broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
    • Constructor Detail

    • Method Detail

      • activate

        public void activate()
        Specified by:
        activate in interface org.exoplatform.webui.core.UIPopupComponent
      • deActivate

        public void deActivate()
        Specified by:
        deActivate in interface org.exoplatform.webui.core.UIPopupComponent
      • canModifyPagePermission

        protected boolean canModifyPagePermission()
                                           throws Exception
        Throws:
        Exception
      • isCurrentPagePublic

        protected boolean isCurrentPagePublic()
                                       throws Exception
        Throws:
        Exception
      • canPublicAndRetrictPage

        protected boolean canPublicAndRetrictPage()
                                           throws Exception
        Throws:
        Exception
      • getPermanlink

        protected static String getPermanlink()
                                       throws Exception
        Get the permalink of current wiki page
        With the current page param:
        • type = "group"
        • owner = "spaces/test_space"
        • pageId = "test_page"

        The permalink will be:
        • http://int.exoplatform.org/portal/intranet/wiki/group/spaces/test_space/test_page

        Returns:
        The permalink of current wiki page
        Throws:
        Exception