public abstract class UIActivityComposer
extends org.exoplatform.webui.core.UIContainer
This ui component contains action links to invoke corresponding ui extension (link, photo, video...)
| Modifier and Type | Class and Description |
|---|---|
static class |
UIActivityComposer.ActivateActionListener |
static class |
UIActivityComposer.CloseActionListener |
static class |
UIActivityComposer.SubmitContentActionListener |
| Constructor and Description |
|---|
UIActivityComposer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearComposerData() |
UIActivityComposerManager |
getActivityComposerManager() |
org.exoplatform.webui.core.UIContainer |
getActivityDisplay() |
boolean |
isDisplayed()
Gets displayed information of component.
|
boolean |
isReadyForPostingActivity() |
protected abstract void |
onActivate(org.exoplatform.webui.event.Event<UIActivityComposer> event) |
protected abstract void |
onClose(org.exoplatform.webui.event.Event<UIActivityComposer> event) |
protected org.exoplatform.social.core.activity.model.ExoSocialActivity |
onPostActivity(UIComposer.PostContext postContext,
String postedMessage) |
protected abstract void |
onPostActivity(UIComposer.PostContext postContext,
org.exoplatform.webui.core.UIComponent source,
org.exoplatform.webui.application.WebuiRequestContext requestContext,
String postedMessage) |
protected abstract void |
onSubmit(org.exoplatform.webui.event.Event<UIActivityComposer> event) |
org.exoplatform.social.core.activity.model.ExoSocialActivity |
postActivity(UIComposer.PostContext postContext,
String postedMessage) |
void |
setActivityComposerManager(UIActivityComposerManager activityComposerManager) |
void |
setActivityDisplay(org.exoplatform.webui.core.UIContainer activityDisplay) |
void |
setDisplayed(boolean isDisplayed)
Sets displayed information of component.
|
void |
setReadyForPostingActivity(boolean isReady) |
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesbroadcast, buildModelObject, 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, urlpublic boolean isDisplayed()
public void setDisplayed(boolean isDisplayed)
isDisplayed - the isDisplayed to setpublic boolean isReadyForPostingActivity()
public void setReadyForPostingActivity(boolean isReady)
public void setActivityDisplay(org.exoplatform.webui.core.UIContainer activityDisplay)
public org.exoplatform.webui.core.UIContainer getActivityDisplay()
public void setActivityComposerManager(UIActivityComposerManager activityComposerManager)
public UIActivityComposerManager getActivityComposerManager()
public org.exoplatform.social.core.activity.model.ExoSocialActivity postActivity(UIComposer.PostContext postContext, String postedMessage) throws Exception
Exceptionprotected org.exoplatform.social.core.activity.model.ExoSocialActivity onPostActivity(UIComposer.PostContext postContext, String postedMessage) throws Exception
Exceptionprotected abstract void onPostActivity(UIComposer.PostContext postContext, org.exoplatform.webui.core.UIComponent source, org.exoplatform.webui.application.WebuiRequestContext requestContext, String postedMessage) throws Exception
Exceptionprotected abstract void onClose(org.exoplatform.webui.event.Event<UIActivityComposer> event)
protected abstract void onSubmit(org.exoplatform.webui.event.Event<UIActivityComposer> event)
protected abstract void onActivate(org.exoplatform.webui.event.Event<UIActivityComposer> event)
protected void clearComposerData()
Copyright © 2003–2017 eXo Platform SAS. All rights reserved.