Class NotificationGruService


  • public class NotificationGruService
    extends java.lang.Object
    NotificationGruService
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<DemandDashboard> filterByDate​(java.util.List<DemandDashboard> listDemandDashboards, java.time.LocalDate inputLocalDate)
      Filter demand by date
      java.util.List<DemandDashboard> filterByKeyword​(java.util.List<DemandDashboard> listDemandDashboards, java.lang.String inputKeyword, java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> listDemandType)
      Filter demand by keyword
      static NotificationGruService getInstance()  
      fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemand​(java.lang.String strCustomerId, java.lang.String strIndex, java.lang.String strLimitResult, java.lang.String strNotificationType)
      Gets list of demand
      fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemandByStatus​(java.lang.String strCustomerId, java.lang.String strListStatus, java.lang.String strIndex, java.lang.String strLimitResult, java.lang.String strNotificationType, java.lang.String strCategoryCode)
      Gets list of demand by list of status
      java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory> getListDemandCategories()
      Get list of demand categories
      java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getListDemandType()
      Get list of demand types
      fr.paris.lutece.plugins.grubusiness.business.web.rs.NotificationResult getListNotification​(java.lang.String strIdDemand, java.lang.String strIdDemandType, java.lang.String strCustomerId, java.lang.String strNotificationType)
      Gets list of notification
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static NotificationGruService getInstance()
        Returns:
        instance of NotificationGruService
      • getListDemand

        public fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemand​(java.lang.String strCustomerId,
                                                                                              java.lang.String strIndex,
                                                                                              java.lang.String strLimitResult,
                                                                                              java.lang.String strNotificationType)
        Gets list of demand
        Parameters:
        strCustomerId -
        strIndex -
        strLimitResult -
        strNotificationType -
        Returns:
        list of demand
      • getListDemandByStatus

        public fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemandByStatus​(java.lang.String strCustomerId,
                                                                                                      java.lang.String strListStatus,
                                                                                                      java.lang.String strIndex,
                                                                                                      java.lang.String strLimitResult,
                                                                                                      java.lang.String strNotificationType,
                                                                                                      java.lang.String strCategoryCode)
        Gets list of demand by list of status
        Parameters:
        strCustomerId -
        strListStatus -
        strIndex -
        strLimitResult -
        strNotificationType -
        strCategoryCode -
        Returns:
        list of demand by list of status
      • getListNotification

        public fr.paris.lutece.plugins.grubusiness.business.web.rs.NotificationResult getListNotification​(java.lang.String strIdDemand,
                                                                                                          java.lang.String strIdDemandType,
                                                                                                          java.lang.String strCustomerId,
                                                                                                          java.lang.String strNotificationType)
        Gets list of notification
        Parameters:
        strIdDemand -
        strIdDemandType -
        strIsRead -
        Returns:
        list of notification
      • getListDemandType

        public java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> getListDemandType()
        Get list of demand types
        Returns:
        list of demand type
      • getListDemandCategories

        public java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandCategory> getListDemandCategories()
        Get list of demand categories
        Returns:
        list of demand categories
      • filterByDate

        public java.util.List<DemandDashboard> filterByDate​(java.util.List<DemandDashboard> listDemandDashboards,
                                                            java.time.LocalDate inputLocalDate)
        Filter demand by date
        Returns:
        list of demand dashboard filtered by date
      • filterByKeyword

        public java.util.List<DemandDashboard> filterByKeyword​(java.util.List<DemandDashboard> listDemandDashboards,
                                                               java.lang.String inputKeyword,
                                                               java.util.List<fr.paris.lutece.plugins.grubusiness.business.demand.DemandType> listDemandType)
        Filter demand by keyword
        Returns:
        list of demand dashboard filtered by keyword