Class ShareFileToUserPlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
- org.exoplatform.wcm.notification.plugin.ShareFileToUserPlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class ShareFileToUserPlugin extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMENTstatic StringDOCUMENT_ICONstatic StringDOCUMENT_NAMEstatic StringDOCUMENT_URLstatic StringFIRSTNAMEstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>ICONstatic StringIDstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>MESSAGEstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>MIMETYPEstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<javax.jcr.Node>NODEstatic StringNODE_IDstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>NODEIDstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>PERMstatic StringPERMISSIONstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>RECEIVERstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>SENDERstatic StringTYPEstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>URL
-
Constructor Summary
Constructors Constructor Description ShareFileToUserPlugin(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)protected org.exoplatform.commons.api.notification.model.NotificationInfomakeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx)-
Methods inherited from class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, start
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
FIRSTNAME
public static final String FIRSTNAME
- See Also:
- Constant Field Values
-
DOCUMENT_URL
public static final String DOCUMENT_URL
- See Also:
- Constant Field Values
-
DOCUMENT_NAME
public static final String DOCUMENT_NAME
- See Also:
- Constant Field Values
-
DOCUMENT_ICON
public static final String DOCUMENT_ICON
- See Also:
- Constant Field Values
-
COMMENT
public static final String COMMENT
- See Also:
- Constant Field Values
-
PERMISSION
public static final String PERMISSION
- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
-
NODE
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<javax.jcr.Node> NODE
-
SENDER
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> SENDER
-
NODEID
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> NODEID
-
RECEIVER
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> RECEIVER
-
PERM
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> PERM
-
URL
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> URL
-
MESSAGE
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> MESSAGE
-
ICON
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ICON
-
MIMETYPE
public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> MIMETYPE
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
makeNotification
protected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx)
- Specified by:
makeNotificationin 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
-
-