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
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionLinkActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanbooleanisValid(org.exoplatform.commons.api.notification.NotificationContext ctx) makeContent(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, setTemplatePathMethods inherited from class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, startMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
ACTIVITY_ID
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ACTIVITY_ID -
ID
- See Also:
-
LINK_PARAM
- See Also:
-
IMAGE_PARAM
- See Also:
-
TITLE_PARAM
- See Also:
-
DESCRIPTION_PARAM
- See Also:
-
COMMENT_PARAM
- See Also:
-
VIEW_FULL_ACTIVITY
- See Also:
-
-
Constructor Details
-
LinkActivityChildPlugin
public LinkActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
makeContent
- Specified by:
makeContentin classorg.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
-
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
-