org.exoplatform.wiki.webui
Class UIWikiPageEditForm

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.wiki.webui.core.UIWikiForm
                  extended by org.exoplatform.wiki.webui.UIWikiPageEditForm

public class UIWikiPageEditForm
extends UIWikiForm


Nested Class Summary
static class UIWikiPageEditForm.CancelDraftActionListener
           
static class UIWikiPageEditForm.CloseActionListener
           
static class UIWikiPageEditForm.DeleteDraftActionListener
           
static class UIWikiPageEditForm.ResumeDraftActionListener
           
static class UIWikiPageEditForm.ViewDraftChangeActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
static String CLOSE
           
static String EDITOR_TABS
           
static String FIELD_COMMENT
           
static String FIELD_CONTENT
           
static String FIELD_PUBLISH_ACTIVITY_BOTTOM
           
static String FIELD_PUBLISH_ACTIVITY_UPPER
           
static String FIELD_TEMPLATEDESCTIPTION
           
static String HELP_PANEL
           
static String RICHTEXT_AREA
           
static String SUBMIT_TOOLBAR_BOTTOM
           
static String SUBMIT_TOOLBAR_UPPER
           
static String TITLE_CONTROL
           
static String UNTITLED
           
 
Fields inherited from class org.exoplatform.wiki.webui.core.UIWikiForm
accept_Modes
 
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
UIWikiPageEditForm()
           
 
Method Summary
protected  void checkToDissplayNotification()
           
 long getAutoSaveSequenceTime()
           
protected  String getCancelDraftEvent()
           
protected  String getCurrentPageId()
           
protected  String getCurrentPageRevision()
           
 String getInitDraftName()
           
 List getNotificationMessages()
           
protected  String getRemoveDraftRestUrl()
           
protected  String getSaveDraftRestUrl()
           
 String getTemplateId()
           
 String getTitle()
           
protected  String getWikiOwner()
           
protected  String getWikiType()
           
protected  boolean isInRichTextEditor()
           
 boolean isInTemplateMode()
           
 boolean isNewPage()
           
 boolean isRunAutoSave()
           
 boolean isSidePanelRendered()
           
 boolean isTemplate()
           
 void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
           
 void setInitDraftName(String initDraftName)
           
 void setTemplate(boolean isTemplate)
           
 void setTemplateId(String templateId)
           
 void setTitle(String title)
           
 void synPublishActivityStatus(boolean isChecked)
           
 
Methods inherited from class org.exoplatform.wiki.webui.core.UIWikiForm
getAccept_Modes, getCurrentMode, setAccept_Modes
 
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, 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, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, renderEventURL, 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

UNTITLED

public static final String UNTITLED
See Also:
Constant Field Values

FIELD_CONTENT

public static final String FIELD_CONTENT
See Also:
Constant Field Values

FIELD_COMMENT

public static final String FIELD_COMMENT
See Also:
Constant Field Values

FIELD_PUBLISH_ACTIVITY_UPPER

public static final String FIELD_PUBLISH_ACTIVITY_UPPER
See Also:
Constant Field Values

FIELD_PUBLISH_ACTIVITY_BOTTOM

public static final String FIELD_PUBLISH_ACTIVITY_BOTTOM
See Also:
Constant Field Values

TITLE_CONTROL

public static final String TITLE_CONTROL
See Also:
Constant Field Values

EDITOR_TABS

public static final String EDITOR_TABS
See Also:
Constant Field Values

SUBMIT_TOOLBAR_UPPER

public static final String SUBMIT_TOOLBAR_UPPER
See Also:
Constant Field Values

SUBMIT_TOOLBAR_BOTTOM

public static final String SUBMIT_TOOLBAR_BOTTOM
See Also:
Constant Field Values

HELP_PANEL

public static final String HELP_PANEL
See Also:
Constant Field Values

RICHTEXT_AREA

public static final String RICHTEXT_AREA
See Also:
Constant Field Values

FIELD_TEMPLATEDESCTIPTION

public static final String FIELD_TEMPLATEDESCTIPTION
See Also:
Constant Field Values

CLOSE

public static final String CLOSE
See Also:
Constant Field Values
Constructor Detail

UIWikiPageEditForm

public UIWikiPageEditForm()
                   throws Exception
Throws:
Exception
Method Detail

checkToDissplayNotification

protected void checkToDissplayNotification()
                                    throws Exception
Throws:
Exception

setTitle

public void setTitle(String title)

getTitle

public String getTitle()

getInitDraftName

public String getInitDraftName()

setInitDraftName

public void setInitDraftName(String initDraftName)

isInTemplateMode

public boolean isInTemplateMode()

isNewPage

public boolean isNewPage()

getAutoSaveSequenceTime

public long getAutoSaveSequenceTime()

getSaveDraftRestUrl

protected String getSaveDraftRestUrl()

getRemoveDraftRestUrl

protected String getRemoveDraftRestUrl()

getWikiType

protected String getWikiType()
                      throws Exception
Throws:
Exception

getWikiOwner

protected String getWikiOwner()
                       throws Exception
Throws:
Exception

getCurrentPageId

protected String getCurrentPageId()
                           throws Exception
Throws:
Exception

getCurrentPageRevision

protected String getCurrentPageRevision()
                                 throws Exception
Throws:
Exception

getNotificationMessages

public List getNotificationMessages()

isTemplate

public boolean isTemplate()

setTemplate

public void setTemplate(boolean isTemplate)

getTemplateId

public String getTemplateId()

setTemplateId

public void setTemplateId(String templateId)

isSidePanelRendered

public boolean isSidePanelRendered()

isRunAutoSave

public boolean isRunAutoSave()

isInRichTextEditor

protected boolean isInRichTextEditor()

getCancelDraftEvent

protected String getCancelDraftEvent()
                              throws Exception
Throws:
Exception

synPublishActivityStatus

public void synPublishActivityStatus(boolean isChecked)

processRender

public void processRender(org.exoplatform.webui.application.WebuiRequestContext context)
                   throws Exception
Overrides:
processRender in class UIWikiForm
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.