org.exoplatform.social.plugin.link
Class UILinkActivityComposer
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.social.webui.composer.UIActivityComposer
org.exoplatform.social.plugin.link.UILinkActivityComposer
public class UILinkActivityComposer
- extends org.exoplatform.social.webui.composer.UIActivityComposer
UIComposerLinkExtension.java
an ui component to attach link, gets link information and displays; changes link title,
description content inline.
- Since:
- Apr 19, 2010
- Author:
- hoatle
| 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 |
|
Method Summary |
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)
|
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)
|
| Methods inherited from class org.exoplatform.social.webui.composer.UIActivityComposer |
getActivityComposerManager, getActivityDisplay, isReadyForPostingActivity, postActivity, setActivityComposerManager, setActivityDisplay, 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 |
LINK_PARAM
public static final String LINK_PARAM
- See Also:
- Constant Field Values
IMAGE_PARAM
public static final String IMAGE_PARAM
- See Also:
- Constant Field Values
TITLE_PARAM
public static final String TITLE_PARAM
- See Also:
- Constant Field Values
DESCRIPTION_PARAM
public static final String DESCRIPTION_PARAM
- See Also:
- Constant Field Values
COMMENT_PARAM
public static final String COMMENT_PARAM
- See Also:
- Constant Field Values
HTML_PARAM
public static final String HTML_PARAM
- See Also:
- Constant Field Values
SINGLE_COMMA
public static final String SINGLE_COMMA
- See Also:
- Constant Field Values
DOUBLE_COMMA
public static final String DOUBLE_COMMA
- See Also:
- Constant Field Values
UILinkActivityComposer
public UILinkActivityComposer()
- constructor
isDisplayed
public boolean isDisplayed()
- Gets displayed information of component.
- Overrides:
isDisplayed in class org.exoplatform.social.webui.composer.UIActivityComposer
- Returns:
- the isDisplayed
setDisplayed
public void setDisplayed(boolean isDisplayed)
- Sets displayed information of component.
- Overrides:
setDisplayed in class org.exoplatform.social.webui.composer.UIActivityComposer
- Parameters:
isDisplayed - the isDisplayed to set
setLinkInfoDisplayed
public void setLinkInfoDisplayed(boolean displayed)
isLinkInfoDisplayed
public boolean isLinkInfoDisplayed()
setTemplateParams
public void setTemplateParams(Map<String,String> tempParams)
getTemplateParams
public Map<String,String> getTemplateParams()
clearLinkShare
public void clearLinkShare()
getLinkShare
public org.exoplatform.social.service.rest.LinkShare getLinkShare()
onActivate
protected void onActivate(org.exoplatform.webui.event.Event<org.exoplatform.social.webui.composer.UIActivityComposer> arg0)
- 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> arg0)
- 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> arg0)
- 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
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.