Package org.exoplatform.wiki.webui
Class UIWikiPortlet
- java.lang.Object
-
- org.exoplatform.webui.core.UIComponent
-
- org.exoplatform.webui.core.UIContainer
-
- org.exoplatform.webui.core.UIApplication
-
- org.exoplatform.webui.core.UIPortletApplication
-
- org.exoplatform.wiki.webui.UIWikiPortlet
-
public class UIWikiPortlet extends org.exoplatform.webui.core.UIPortletApplication
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIWikiPortlet.ChangeModeActionListenerstatic classUIWikiPortlet.PopupLevelstatic classUIWikiPortlet.RedirectActionListenerstatic classUIWikiPortlet.ViewPageActionListener
-
Field Summary
Fields Modifier and Type Field Description static StringCHANGE_MODE_ACTIONstatic StringREDIRECT_ACTIONstatic StringVIEW_PAGE_ACTIONstatic StringWIKI_PORTLET_ACTION_PREFIX
-
Constructor Summary
Constructors Constructor Description UIWikiPortlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeEditMode(EditMode newEditMode)voidchangeEditorMode(EditorMode newMode)changes the mode of wiki editorvoidchangeMode(WikiMode newMode)EditModegetEditMode()EditorModegetEditorMode()gets the mode of wiki editororg.exoplatform.webui.core.UIPopupContainergetPopupContainer(UIWikiPortlet.PopupLevel level)WikiPortletPreferencegetPortletPreferences()StringgetRedirectURL()ResourceBundlegetResourceBundle()StringgetSectionIndex()HashMap<String,Object>getUIExtContext()WikiModegetWikiMode()protected booleanisKeepSessionAlive()voidprocessRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context)voidsetPortletPreferences(WikiPortletPreference portletPreferences)voidsetRedirectURL(String redirectURL)voidsetSectionIndex(String sectionIndex)-
Methods inherited from class org.exoplatform.webui.core.UIPortletApplication
getMinHeight, getMinWidth, getUIPopupMessages, renderChildren, serveResource, setMinHeight, setMinWidth
-
Methods inherited from class org.exoplatform.webui.core.UIApplication
addMessage, addMessage, clearMessages, findComponentById, getLastAccessApplication, getOwner, getUIComponentName, processAction, renderBlockToUpdate, setLastAccessApplication, setOwner
-
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, 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, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
-
-
-
Method Detail
-
getPortletPreferences
public WikiPortletPreference getPortletPreferences()
-
setPortletPreferences
public void setPortletPreferences(WikiPortletPreference portletPreferences)
-
getResourceBundle
public ResourceBundle getResourceBundle()
-
processRender
public void processRender(org.exoplatform.webui.application.WebuiApplication app, org.exoplatform.webui.application.WebuiRequestContext context) throws Exception- Overrides:
processRenderin classorg.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()
-
-