public class UILinkActivityComposer
extends org.exoplatform.social.webui.composer.UIActivityComposer
an ui component to attach link, gets link information and displays; changes link title, description content inline.
| Modifier and Type | Class and Description |
|---|---|
static class |
UILinkActivityComposer.AttachActionListener |
static class |
UILinkActivityComposer.ChangeLinkContentActionListener |
static class |
UILinkActivityComposer.RemoveLinkActionListener |
org.exoplatform.social.webui.composer.UIActivityComposer.ActivateActionListener, org.exoplatform.social.webui.composer.UIActivityComposer.CloseActionListener, org.exoplatform.social.webui.composer.UIActivityComposer.SubmitContentActionListener| Modifier and Type | Field and Description |
|---|---|
static String |
COMMENT_PARAM |
static String |
DESCRIPTION_PARAM |
static String |
HTML_PARAM |
static String |
IMAGE_PARAM |
static String |
LINK_PARAM |
static String |
TITLE_PARAM |
| Constructor and Description |
|---|
UILinkActivityComposer()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearComposerData() |
void |
clearLinkShare() |
org.exoplatform.social.service.rest.LinkShare |
getLinkShare() |
Map<String,String> |
getTemplateParams() |
boolean |
isDisplayed()
Gets displayed information of component.
|
boolean |
isLinkInfoDisplayed() |
protected void |
onActivate(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0) |
protected void |
onClose(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0) |
protected org.exoplatform.social.core.activity.model.ExoSocialActivity |
onPostActivity(org.exoplatform.social.webui.composer.UIComposer.PostContext postContext,
String postedMessage) |
void |
onPostActivity(org.exoplatform.social.webui.composer.UIComposer.PostContext postContext,
org.exoplatform.webui.core.UIComponent source,
org.exoplatform.webui.application.WebuiRequestContext requestContext,
String postedMessage) |
protected void |
onSubmit(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0) |
void |
setDisplayed(boolean isDisplayed)
Sets displayed information of component.
|
void |
setLinkInfoDisplayed(boolean displayed) |
void |
setTemplateParams(Map<String,String> tempParams) |
getActivityComposerManager, getActivityDisplay, isEnabled, isReadyForPostingActivity, postActivity, setActivityComposerManager, setActivityDisplay, setEnabled, setReadyForPostingActivityaddChild, 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 static final String LINK_PARAM
public static final String IMAGE_PARAM
public static final String TITLE_PARAM
public static final String DESCRIPTION_PARAM
public static final String COMMENT_PARAM
public static final String HTML_PARAM
public boolean isDisplayed()
isDisplayed in class org.exoplatform.social.webui.composer.UIActivityComposerpublic void setDisplayed(boolean isDisplayed)
setDisplayed in class org.exoplatform.social.webui.composer.UIActivityComposerisDisplayed - the isDisplayed to setpublic void setLinkInfoDisplayed(boolean displayed)
public boolean isLinkInfoDisplayed()
public void clearLinkShare()
public org.exoplatform.social.service.rest.LinkShare getLinkShare()
protected void onActivate(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0)
onActivate in class org.exoplatform.social.webui.composer.UIActivityComposerprotected void onClose(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0)
onClose in class org.exoplatform.social.webui.composer.UIActivityComposerprotected void onSubmit(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0)
onSubmit in class org.exoplatform.social.webui.composer.UIActivityComposerpublic 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
onPostActivity in class org.exoplatform.social.webui.composer.UIActivityComposerExceptionprotected org.exoplatform.social.core.activity.model.ExoSocialActivity onPostActivity(org.exoplatform.social.webui.composer.UIComposer.PostContext postContext,
String postedMessage)
throws Exception
onPostActivity in class org.exoplatform.social.webui.composer.UIActivityComposerExceptionprotected void clearComposerData()
clearComposerData in class org.exoplatform.social.webui.composer.UIActivityComposerCopyright © 2003–2020 eXo Platform SAS. All rights reserved.