Class NotificationFilter


  • public class NotificationFilter
    extends Object
    NotificationFilter
    • Constructor Detail

      • NotificationFilter

        public NotificationFilter()
        Constructor
    • Method Detail

      • setIsWideSearch

        public void setIsWideSearch​(boolean bIsWideSearch)
        Set true if the filter is applied to a wide search.
        In other words, the SQL query will use
        • SQL OR if it is applied to a wide search
        • SQL AND if it is not applied to a wide search
        Parameters:
        bIsWideSearch - true if it a wide search, false otherwise
      • getIsWideSearch

        public boolean getIsWideSearch()
        Check if the filter is applied to a wide search or not.
        In other words, the SQL query will use
        • SQL OR if it is applied to a wide search
        • SQL AND if it is not applied to a wide search
        Returns:
        true if it is applied to a wide search
      • getIdDemand

        public int getIdDemand()
        Returns the IdDemand
        Returns:
        The IdDemand
      • setIdDemand

        public void setIdDemand​(int strIdDemand)
        Sets the IdDemand
        Parameters:
        strIdDemand - The IdDemand
      • containsIdDemand

        public boolean containsIdDemand()
        Check if the filter contains the attribute ID Demand
        Returns:
        true if it contains, false otherwise
      • setIsRead

        public void setIsRead​(boolean bIsRead)
        Set the status is_read of the notification
        Parameters:
        bIsRead - true if the notification is read, false otherwise
      • isRead

        public boolean isRead()
        Check if the notification is read
        Returns:
        true if it is read, false otherwise
      • containsIsRead

        public boolean containsIsRead()
        Check if the filter contains the attribute is_read
        Returns:
        true if it contains, false otherwise