org.exoplatform.social.plugin.doc
Class UIDocActivityComposer
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.social.webui.composer.UIActivityComposer
org.exoplatform.social.plugin.doc.UIDocActivityComposer
- All Implemented Interfaces:
- org.exoplatform.ecm.webui.selector.UISelectable
public class UIDocActivityComposer
- extends org.exoplatform.social.webui.composer.UIActivityComposer
- implements org.exoplatform.ecm.webui.selector.UISelectable
The templateParamsProcessor to process an activity. Replace template
key by template value in activity's title.
- Since:
- Apr 19, 2010
- Author:
- Zun
| Nested classes/interfaces inherited from class org.exoplatform.social.webui.composer.UIActivityComposer |
org.exoplatform.social.webui.composer.UIActivityComposer.ActivateActionListener, org.exoplatform.social.webui.composer.UIActivityComposer.CloseActionListener, org.exoplatform.social.webui.composer.UIActivityComposer.SubmitContentActionListener |
| Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer |
org.exoplatform.webui.core.UIContainer.SelectTabActionListener |
| Fields inherited from class org.exoplatform.webui.core.UIComponent |
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent |
| Methods inherited from class org.exoplatform.social.webui.composer.UIActivityComposer |
getActivityComposerManager, getActivityDisplay, isDisplayed, isReadyForPostingActivity, postActivity, setActivityComposerManager, setActivityDisplay, setDisplayed, setReadyForPostingActivity |
| 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, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, getUIComponentName, isRendered, loadConfirmMesssage, processAction, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY
public static final String REPOSITORY
- See Also:
- Constant Field Values
WORKSPACE
public static final String WORKSPACE
- See Also:
- Constant Field Values
UIDocActivityComposer
public UIDocActivityComposer()
- constructor
isDocumentReady
public boolean isDocumentReady()
getDocumentName
public String getDocumentName()
getCurrentUser
public String getCurrentUser()
- Returns:
- the currentUser
setCurrentUser
public void setCurrentUser(String currentUser)
- Parameters:
currentUser - the currentUser to set
onActivate
protected void onActivate(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> event)
- Specified by:
onActivate in class org.exoplatform.social.webui.composer.UIActivityComposer
onClose
protected void onClose(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> event)
- Specified by:
onClose in class org.exoplatform.social.webui.composer.UIActivityComposer
onSubmit
protected void onSubmit(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> event)
- Specified by:
onSubmit in class org.exoplatform.social.webui.composer.UIActivityComposer
onPostActivity
public void onPostActivity(org.exoplatform.social.webui.composer.UIComposer.PostContext postContext,
org.exoplatform.webui.core.UIComponent source,
org.exoplatform.webui.application.WebuiRequestContext requestContext,
String postedMessage)
throws Exception
- Specified by:
onPostActivity in class org.exoplatform.social.webui.composer.UIActivityComposer
- Throws:
Exception
doSelect
public void doSelect(String selectField,
Object value)
throws Exception
- Specified by:
doSelect in interface org.exoplatform.ecm.webui.selector.UISelectable
- Throws:
Exception
buildDocumentPath
public String buildDocumentPath(String rawPath)
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.