Class FileActivityChildPlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
- org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
-
- org.exoplatform.wcm.notification.plugin.FileActivityChildPlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
- Direct Known Subclasses:
ShareFileActivityChildPlugin
public class FileActivityChildPlugin 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 StringACTIVITY_URLstatic StringAUTHORstatic StringCONTENT_LINKstatic StringCONTENT_NAMEstatic StringDOCNAMEstatic StringDOCPATHstatic StringDOCUMENT_SUMMARYstatic StringDOCUMENT_TITLEstatic StringEXO_RESOURCES_URIstatic StringICON_FILE_EXTENSIONstatic StringIDstatic StringMESSAGEstatic StringMIME_TYPEstatic StringNODE_UUIDstatic StringWORKSPACE
-
Constructor Summary
Constructors Constructor Description FileActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()booleanisValid(org.exoplatform.commons.api.notification.NotificationContext ctx)StringmakeContent(org.exoplatform.commons.api.notification.NotificationContext ctx)-
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
-
ACTIVITY_URL
public static final String ACTIVITY_URL
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
-
DOCPATH
public static final String DOCPATH
- See Also:
- Constant Field Values
-
WORKSPACE
public static final String WORKSPACE
- See Also:
- Constant Field Values
-
NODE_UUID
public static final String NODE_UUID
- See Also:
- Constant Field Values
-
AUTHOR
public static final String AUTHOR
- See Also:
- Constant Field Values
-
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
-
DOCUMENT_TITLE
public static final String DOCUMENT_TITLE
- See Also:
- Constant Field Values
-
CONTENT_NAME
public static final String CONTENT_NAME
- See Also:
- Constant Field Values
-
DOCUMENT_SUMMARY
public static final String DOCUMENT_SUMMARY
- See Also:
- Constant Field Values
-
EXO_RESOURCES_URI
public static final String EXO_RESOURCES_URI
- See Also:
- Constant Field Values
-
DOCNAME
public static final String DOCNAME
- See Also:
- Constant Field Values
-
ICON_FILE_EXTENSION
public static final String ICON_FILE_EXTENSION
- See Also:
- Constant Field Values
-
CONTENT_LINK
public static final String CONTENT_LINK
- 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
-
-