Class 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 String COMMENT  
      static String DOCUMENT_ICON  
      static String DOCUMENT_NAME  
      static String DOCUMENT_URL  
      static String FIRSTNAME  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ICON  
      static String ID  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> MESSAGE  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> MIMETYPE  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<javax.jcr.Node> NODE  
      static String NODE_ID  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> NODEID  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> PERM  
      static String PERMISSION  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> RECEIVER  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> SENDER  
      static String TYPE  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> URL  
      • Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

        desc, name
    • 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
      String getId()  
      boolean isValid​(org.exoplatform.commons.api.notification.NotificationContext ctx)  
      protected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification​(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
      • Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

        getDescription, getName, setDescription, setName
    • Field Detail

      • 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
    • Constructor Detail

      • ShareFileToUserPlugin

        public ShareFileToUserPlugin​(org.exoplatform.container.xml.InitParams initParams)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in class org.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:
        makeNotification in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
      • isValid

        public boolean isValid​(org.exoplatform.commons.api.notification.NotificationContext ctx)
        Specified by:
        isValid in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin