Class UIWikiPortlet


  • public class UIWikiPortlet
    extends org.exoplatform.webui.core.UIPortletApplication
    • Field Detail

      • VIEW_PAGE_ACTION

        public static String VIEW_PAGE_ACTION
      • CHANGE_MODE_ACTION

        public static String CHANGE_MODE_ACTION
      • REDIRECT_ACTION

        public static String REDIRECT_ACTION
      • WIKI_PORTLET_ACTION_PREFIX

        public static String WIKI_PORTLET_ACTION_PREFIX
    • Method Detail

      • setPortletPreferences

        public void setPortletPreferences​(WikiPortletPreference portletPreferences)
      • processRender

        public void processRender​(org.exoplatform.webui.application.WebuiApplication app,
                                  org.exoplatform.webui.application.WebuiRequestContext context)
                           throws Exception
        Overrides:
        processRender in class org.exoplatform.webui.core.UIPortletApplication
        Throws:
        Exception
      • getPopupContainer

        public org.exoplatform.webui.core.UIPopupContainer getPopupContainer​(UIWikiPortlet.PopupLevel level)
      • getWikiMode

        public WikiMode getWikiMode()
      • getEditMode

        public EditMode getEditMode()
      • getEditorMode

        public EditorMode getEditorMode()
        gets the mode of wiki editor
        Returns:
        the editor mode
      • getSectionIndex

        public String getSectionIndex()
      • setSectionIndex

        public void setSectionIndex​(String sectionIndex)
      • getRedirectURL

        public String getRedirectURL()
      • setRedirectURL

        public void setRedirectURL​(String redirectURL)
      • changeMode

        public void changeMode​(WikiMode newMode)
      • changeEditMode

        public void changeEditMode​(EditMode newEditMode)
      • changeEditorMode

        public void changeEditorMode​(EditorMode newMode)
        changes the mode of wiki editor
        Parameters:
        newMode - the new mode
      • isKeepSessionAlive

        protected boolean isKeepSessionAlive()