Class ResponseFilter


  • public class ResponseFilter
    extends java.lang.Object
    class ResponseFilter
    • Constructor Detail

      • ResponseFilter

        public ResponseFilter()
    • Method Detail

      • getIdResource

        public int getIdResource()
        Get the id of a resource in the filter
        Returns:
        The id of the resource to insert in the filter
      • setIdResource

        public void setIdResource​(int nIdResource)
        Set the id of a resource in the filter
        Parameters:
        nIdResource - the id of resource to insert in the filter
      • containsIdResource

        public boolean containsIdResource()
        Returns:
        true if the filter contain an id of a resource
      • getIdField

        public int getIdField()
        Returns:
        the id of field insert in the filter
      • setIdField

        public void setIdField​(int idField)
        set the id of field depend in the filter
        Parameters:
        idField - the id of field depend to insert in the filter
      • containsIdField

        public boolean containsIdField()
        Returns:
        true if the filter contain an id of field depend
      • getIdEntry

        public int getIdEntry()
        Returns:
        the id of entry insert in the filter
      • setIdEntry

        public void setIdEntry​(int idEntry)
        set the id of entry depend in the filter
        Parameters:
        idEntry - the id of entry depend to insert in the filter
      • containsIdEntry

        public boolean containsIdEntry()
        Returns:
        true if the filter contain an id of entry depend
      • isGroupbyDay

        public boolean isGroupbyDay()
        Returns:
        true if the response must be group by day
      • setGroupbyDay

        public void setGroupbyDay​(boolean groupbyDay)
        set true if the response must be group by day
        Parameters:
        groupbyDay - true if the response must be group by day
      • isGroupbyMonth

        public boolean isGroupbyMonth()
        true if the response must be group by month
        Returns:
        true if the response must be group by month
      • setGroupbyMonth

        public void setGroupbyMonth​(boolean groupbyMonth)
        set true if the response must be group by month
        Parameters:
        groupbyMonth - true if the response must be group by month
      • isGroupbyWeek

        public boolean isGroupbyWeek()
        true if the response must be group by week
        Returns:
        true if the response must be group by week
      • setGroupbyWeek

        public void setGroupbyWeek​(boolean groupbyWeek)
        set true if the response must be group by week
        Parameters:
        groupbyWeek - true if the response must be group by week
      • setOrderBy

        public void setOrderBy​(java.lang.String strOrderBy)
        Set order by
        Parameters:
        strOrderBy - The order by
      • getOrderBy

        public java.lang.String getOrderBy()
        Get order by
        Returns:
        the order by
      • containsOrderBy

        public boolean containsOrderBy()
        Check if the filter contains order by
        Returns:
        true if it contains, false otherwise
      • setOrderByAsc

        public void setOrderByAsc​(boolean bIsOrderByAsc)
        Set order by asc
        Parameters:
        bIsOrderByAsc - true if the order by is asc
      • isOrderByAsc

        public boolean isOrderByAsc()
        Check if the order by is asc
        Returns:
        true if the order by is asc;
      • getListId

        public java.util.List<java.lang.Integer> getListId()
        Returns:
        the _listId
      • setListId

        public void setListId​(java.util.List<java.lang.Integer> listId)
        Parameters:
        listId - the _listId to set
      • containsListIdResource

        public boolean containsListIdResource()
        Returns:
        true if the filter contain an id of entry depend
      • containsCodeEntry

        public boolean containsCodeEntry()
        Check if the filter contains code entry
        Returns:
        true if it contains, false otherwise
      • getCodeEntry

        public java.lang.String getCodeEntry()
        Returns:
        the _strCodeEntry
      • setCodeEntry

        public void setCodeEntry​(java.lang.String strCodeEntry)
        Parameters:
        strCodeEntry - the _strCodeEntry to set
      • getResponseValue

        public java.lang.String getResponseValue()
        Returns:
        the _strResponseValue
      • setResponseValue

        public void setResponseValue​(java.lang.String strResponseValue)
        Parameters:
        strResponseValue - the _strResponseValue to set
      • containsResponseValue

        public boolean containsResponseValue()
        Check if the filter contains response value
        Returns:
        true if it contains, false otherwise
      • getListIdEntry

        public java.util.List<java.lang.Integer> getListIdEntry()
        Returns:
        the _listIdEntry
      • setListIdEntry

        public void setListIdEntry​(java.util.List<java.lang.Integer> listIdEntry)
        Parameters:
        listIdEntry - the _listIdEntry to set
      • containsListIdEntry

        public boolean containsListIdEntry()
        Returns:
        true if the filter contain a list of entry id
      • getFileKey

        public java.lang.String getFileKey()
        Returns:
        the _strFileKey
      • setFileKey

        public void setFileKey​(java.lang.String strFileKey)
        Parameters:
        strFileKey - the _strFileKey to set
      • containsFileKey

        public boolean containsFileKey()
        Returns:
        true if the filter contain a file key