Class CSRatePlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
org.exoplatform.cs.integration.notification.CSRatePlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Boolean>
     
    static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>
     
    static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<TicketDTO>
     

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

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    CSRatePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.social.core.space.spi.SpaceService spaceService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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:
    • TICKET

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<TicketDTO> TICKET
    • RATER_USERNAME

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> RATER_USERNAME
    • IS_RATED_FROM_MAIL

      public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Boolean> IS_RATED_FROM_MAIL
  • Constructor Details

    • CSRatePlugin

      public CSRatePlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.social.core.space.spi.SpaceService spaceService)
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId 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
    • 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