Class AbstractFilter

    • Constructor Detail

      • AbstractFilter

        public AbstractFilter()
    • Method Detail

      • forConnection

        public void forConnection​(de.uplanet.jdbc.JdbcConnection p_conn)
        Description copied from interface: IFilter
        Initialize the filter with a database connection.

        This may be used if the property IFilter.needsSqlPostProcessing() depends on the database used.

        Specified by:
        forConnection in interface IFilter
        Parameters:
        p_conn - The database connection used.
      • forUser

        public void forUser​(String p_strUserId)
        Description copied from interface: IFilter
        Prepare the filter for a specific user.
        Specified by:
        forUser in interface IFilter
        Parameters:
        p_strUserId - The sender's or the recipient's GUID.
      • filter

        public void filter​(List<Message> p_from,
                           List<Message> p_to)
        Description copied from interface: IFilter
        Do the filtering, operating on array lists.
        Specified by:
        filter in interface IFilter
        Parameters:
        p_from - Collection of messages to be filtered.
        p_to - The filtered collection.