Class ShareFileToSpacePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
org.exoplatform.wcm.notification.plugin.ShareFileToSpacePlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class ShareFileToSpacePlugin extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<javax.jcr.Node>
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final String
     
    static final String
     
    static final String
     
    static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    ShareFileToSpacePlugin(org.exoplatform.container.xml.InitParams initParams)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
     
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ID

      public static final String ID
      See Also:
    • DOCUMENT_URL

      public static final String DOCUMENT_URL
      See Also:
    • SPACE_URL

      public static final String SPACE_URL
      See Also:
    • DOCUMENT_NAME

      public static final String DOCUMENT_NAME
      See Also:
    • SPACE_NAME

      public static final String SPACE_NAME
      See Also:
    • DOCUMENT_ICON

      public static final String DOCUMENT_ICON
      See Also:
    • COMMENT

      public static final String COMMENT
      See Also:
    • PERMISSION

      public static final String PERMISSION
      See Also:
    • REPLY

      public static final String REPLY
      See Also:
    • FULL_DISUSSION

      public static final String FULL_DISUSSION
      See Also:
    • TYPE

      public static final String TYPE
      See Also:
    • NODE_ID

      public static final String NODE_ID
      See Also:
    • 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
    • ACTIVITY_ID

      public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ACTIVITY_ID
    • MIMETYPE

      public static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> MIMETYPE
  • Constructor Details

    • ShareFileToSpacePlugin

      public ShareFileToSpacePlugin(org.exoplatform.container.xml.InitParams initParams)
  • Method Details

    • 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
    • capitalizeFirstLetter

      public static String capitalizeFirstLetter(String word)
    • isValid

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