Interface INotificationStoreTransportProvider

All Known Implementing Classes:
NotificationStoreMock, NotificationStoreTransportRest

public interface INotificationStoreTransportProvider
Interface for providing NotificationStore transport.
  • Method Summary

    Modifier and Type
    Method
    Description
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory
    createCategory(fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory category)
    Create category
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
    createDemandType(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
    Create demand type
    fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus
    createStatus(fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus status)
    Create status
    void
    Deleting all demands from a user by their customer id Also removing elements that are linked to user demands (Notification, NotificationContent, NotificationEvent, File..)
    void
    deleteCategory(int nCategoryId)
    Delete category
    void
    deleteDemandType(int nDemandTypeId)
    Delete demand type
    delete all notifications of a customer
    void
    deleteStatus(int nStatusId)
    Delete status
    List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory>
    Gets list of categories
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory
    getCategory(int nCategoryId)
    Get category by id
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
    getDemandType(int nDemandTypeId)
    Get demand type by id
    List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType>
    Gets list of demand types
    fr.paris.lutece.util.ReferenceList
    Gets list of generic status
    fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult
    getListDemand(String strCustomerId, String strIdDemandType, String strIndex, String strLimitResult, String strNotificationType, String strDirectionDateOrderBy)
    List of demand by customer id, type demand id and index
    fr.paris.lutece.plugins.grubusiness.business.web.rs.NotificationResult
    getListNotification(String strCustomerId, String strIdDemand, String strIdDemandType, String strNotificationType)
    List of notification by demand id, customer id and type demand id
    fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult
    getListOfDemandByStatus(String strCustomerId, String strListStatus, String strIdDemandType, String strIndex, String strLimitResult, String strNotificationType, String strCategoryCode)
    List of demand by list of status, customer id, type demand id and index
    fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus
    getStatus(int nStatusId)
    Get status by id
    List<fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus>
    Gets list of status
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory
    modifyCategory(fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory category)
    Modify category
    fr.paris.lutece.plugins.grubusiness.business.demand.DemandType
    modifyDemandType(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType)
    Modify demand type
    fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus
    modifyStatus(fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus status)
    Modify status
    void
    reassignNotifications(String oldCustomerId, String newCustomerId)
    Re-assign notifications to consolidated identity after a merge
  • Method Details

    • getListDemand

      fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemand(String strCustomerId, String strIdDemandType, String strIndex, String strLimitResult, String strNotificationType, String strDirectionDateOrderBy) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      List of demand by customer id, type demand id and index
      Parameters:
      strCustomerId -
      strIdDemandType -
      strIndex - (Not required)
      strLimitResult -
      strNotificationType -
      Returns:
      list of demand
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getListOfDemandByStatus

      fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListOfDemandByStatus(String strCustomerId, String strListStatus, String strIdDemandType, String strIndex, String strLimitResult, String strNotificationType, String strCategoryCode) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      List of demand by list of status, customer id, type demand id and index
      Parameters:
      strCustomerId -
      strListStatus - (separated by , )
      strIdDemandType -
      strNotificationType -
      strIndex - (Not required)
      strLimitResult -
      strCategoryCode -
      Returns:
      list of demand
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getListNotification

      fr.paris.lutece.plugins.grubusiness.business.web.rs.NotificationResult getListNotification(String strCustomerId, String strIdDemand, String strIdDemandType, String strNotificationType) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      List of notification by demand id, customer id and type demand id
      Parameters:
      strCustomerId -
      strIdDemand -
      strIdDemandType -
      strNotificationType -
      Returns:
      list of notification
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • deleteNotificationByCuid

      String deleteNotificationByCuid(String strCustomerId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      delete all notifications of a customer
      Parameters:
      strCustomerId -
      Returns:
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getCategoriesList

      List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory> getCategoriesList() throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Gets list of categories
      Returns:
      list of categories
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getCategory

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory getCategory(int nCategoryId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Get category by id
      Parameters:
      nCategoryId -
      Returns:
      the category
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • createCategory

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory createCategory(fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory category) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Create category
      Parameters:
      category -
      Returns:
      the category created
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • modifyCategory

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory modifyCategory(fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory category) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Modify category
      Parameters:
      category -
      Returns:
      the category modified
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • deleteCategory

      void deleteCategory(int nCategoryId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Delete category
      Parameters:
      nCategoryId -
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getDemandTypes

      List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getDemandTypes() throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Gets list of demand types
      Returns:
      list of demand types
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getDemandType

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandType getDemandType(int nDemandTypeId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Get demand type by id
      Parameters:
      nDemandTypeId -
      Returns:
      the demand type
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • createDemandType

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandType createDemandType(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Create demand type
      Parameters:
      demand - type
      Returns:
      the demand type created
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • modifyDemandType

      fr.paris.lutece.plugins.grubusiness.business.demand.DemandType modifyDemandType(fr.paris.lutece.plugins.grubusiness.business.demand.DemandType demandType) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Modify demand type
      Parameters:
      demand - type
      Returns:
      the demand type modified
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • deleteDemandType

      void deleteDemandType(int nDemandTypeId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Delete demand type
      Parameters:
      nDemandTypeId -
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getStatusList

      List<fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus> getStatusList() throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Gets list of status
      Returns:
      list of status
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getGenericStatusList

      fr.paris.lutece.util.ReferenceList getGenericStatusList() throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Gets list of generic status
      Returns:
      list of generic status
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • getStatus

      fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus getStatus(int nStatusId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Get status by id
      Parameters:
      nStatusId -
      Returns:
      the status
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • createStatus

      fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus createStatus(fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus status) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Create status
      Parameters:
      status -
      Returns:
      the status created
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • modifyStatus

      fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus modifyStatus(fr.paris.lutece.plugins.grubusiness.business.demand.TemporaryStatus status) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Modify status
      Parameters:
      status -
      Returns:
      the status modified
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • deleteStatus

      void deleteStatus(int nStatusId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Delete status
      Parameters:
      nStatusId -
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • deleteAllDemandsAndNotifications

      void deleteAllDemandsAndNotifications(String strCustomerId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Deleting all demands from a user by their customer id Also removing elements that are linked to user demands (Notification, NotificationContent, NotificationEvent, File..)
      Parameters:
      strCustomerId -
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
    • reassignNotifications

      void reassignNotifications(String oldCustomerId, String newCustomerId) throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
      Re-assign notifications to consolidated identity after a merge
      Parameters:
      oldCustomerId -
      newCustomerId -
      Throws:
      fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException