org.exoplatform.wcm.webui.wiki
Class UIWikiContentForm

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.wcm.webui.wiki.UIWikiContentForm

public class UIWikiContentForm
extends org.exoplatform.webui.form.UIForm

Author : TAN DUNG DANG dzungdev@gmail.com Mar 4, 2009


Nested Class Summary
static class UIWikiContentForm.CancelActionListener
          The listener interface for receiving cancelAction events.
static class UIWikiContentForm.SaveActionListener
          The listener interface for receiving saveAction events.
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static java.lang.String CONTENT
          The Constant CONTENT.
static java.lang.String NAME_CONTENT
          The Constant NAME_CONTENT.
static java.lang.String TITLE
          The Constant TITLE.
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIWikiContentForm()
          Instantiates a new uI wiki content form.
 
Method Summary
 java.lang.String createNewPage(java.lang.String pageName, java.lang.String newNodeUUID)
          Creates the new page.
 org.exoplatform.portal.config.model.PageNavigation getPageNavigation()
          Gets the page navigation.
 java.lang.String getPageUri()
          Gets the page uri.
 java.lang.String getParentUri()
          Gets the parent uri.
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setPageNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
          Sets the page navigation.
 void setPageUri(java.lang.String pageUri)
          Sets the page uri.
 void setParentUri(java.lang.String parentUri)
          Sets the parent uri.
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, 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, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getRendererFor, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, registerRendererFor, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_CONTENT

public static final java.lang.String NAME_CONTENT
The Constant NAME_CONTENT.

See Also:
Constant Field Values

CONTENT

public static final java.lang.String CONTENT
The Constant CONTENT.

See Also:
Constant Field Values

TITLE

public static final java.lang.String TITLE
The Constant TITLE.

See Also:
Constant Field Values
Constructor Detail

UIWikiContentForm

public UIWikiContentForm()
                  throws java.lang.Exception
Instantiates a new uI wiki content form.

Throws:
java.lang.Exception - the exception
Method Detail

createNewPage

public java.lang.String createNewPage(java.lang.String pageName,
                                      java.lang.String newNodeUUID)
                               throws java.lang.Exception
Creates the new page.

Parameters:
pageName - the page name
newNodeUUID - the new node uuid
Returns:
the string
Throws:
java.lang.Exception - the exception

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws java.lang.Exception
Overrides:
processRender in class org.exoplatform.webui.form.UIForm
Throws:
java.lang.Exception

getPageNavigation

public org.exoplatform.portal.config.model.PageNavigation getPageNavigation()
Gets the page navigation.

Returns:
the page navigation

setPageNavigation

public void setPageNavigation(org.exoplatform.portal.config.model.PageNavigation pageNavigation)
Sets the page navigation.

Parameters:
pageNavigation - the new page navigation

getParentUri

public java.lang.String getParentUri()
Gets the parent uri.

Returns:
the parent uri

setParentUri

public void setParentUri(java.lang.String parentUri)
Sets the parent uri.

Parameters:
parentUri - the new parent uri

getPageUri

public java.lang.String getPageUri()
Gets the page uri.

Returns:
the page uri

setPageUri

public void setPageUri(java.lang.String pageUri)
Sets the page uri.

Parameters:
pageUri - the new page uri


Copyright © 2010 eXo Platform SAS. All Rights Reserved.