Class LinkActivityChildPlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
- org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
-
- org.exoplatform.social.notification.plugin.child.LinkActivityChildPlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class LinkActivityChildPlugin extends org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>ACTIVITY_IDstatic StringCOMMENT_PARAMstatic StringDESCRIPTION_PARAMstatic StringIDstatic StringIMAGE_PARAMstatic StringLINK_PARAMstatic StringTITLE_PARAMstatic StringVIEW_FULL_ACTIVITY
-
Constructor Summary
Constructors Constructor Description LinkActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()booleanisEmbedLink()booleanisValid(org.exoplatform.commons.api.notification.NotificationContext ctx)StringmakeContent(org.exoplatform.commons.api.notification.NotificationContext ctx)voidsetEmbedLink(boolean isEmbedLink)-
Methods inherited from class org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
getLanguage, getParentPluginIds, getTemplateEngine, getTemplatePath, makeNotification, setTemplateEngine, setTemplatePath
-
Methods inherited from class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, start
-
-
-
-
Field Detail
-
ACTIVITY_ID
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ACTIVITY_ID
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
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
-
VIEW_FULL_ACTIVITY
public static final String VIEW_FULL_ACTIVITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
makeContent
public String makeContent(org.exoplatform.commons.api.notification.NotificationContext ctx)
- Specified by:
makeContentin classorg.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
-
getId
public String getId()
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
isValid
public boolean isValid(org.exoplatform.commons.api.notification.NotificationContext ctx)
- Specified by:
isValidin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
isEmbedLink
public boolean isEmbedLink()
- Returns:
- the isEmbedLink
-
setEmbedLink
public void setEmbedLink(boolean isEmbedLink)
- Parameters:
isEmbedLink- the isEmbedLink to set
-
-