Class NotificationGruService


  • public class NotificationGruService
    extends Object
    NotificationGruService
    • Method Detail

      • getInstance

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

        public fr.paris.lutece.plugins.grubusiness.business.web.rs.DemandResult getListDemand​(String strCustomerId,
                                                                                              String strIndex,
                                                                                              String strLimitResult,
                                                                                              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​(String strCustomerId,
                                                                                                      String strListStatus,
                                                                                                      String strIndex,
                                                                                                      String strLimitResult,
                                                                                                      String strNotificationType,
                                                                                                      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​(String strIdDemand,
                                                                                                          String strIdDemandType,
                                                                                                          String strCustomerId,
                                                                                                          String strNotificationType)
        Gets list of notification
        Parameters:
        strIdDemand -
        strIdDemandType -
        strIsRead -
        Returns:
        list of notification
      • getListDemandType

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

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

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