Class CRMUserFilter

    • Constructor Detail

      • CRMUserFilter

        public CRMUserFilter()
    • Method Detail

      • init

        public void init​(javax.servlet.http.HttpServletRequest request)
        Init.
        Parameters:
        request - the request
      • setIdCRMUser

        public void setIdCRMUser​(int nIdCRMUser)
        Set the id crm user
        Parameters:
        nIdCRMUser - the id crm user
      • getIdCRMUser

        public int getIdCRMUser()
        Get the id crm user
        Returns:
        the id crm user
      • containsIdCRMUser

        public boolean containsIdCRMUser()
        Contains id crm user.
        Returns:
        true, if successful
      • setUserGuid

        public void setUserGuid​(String strUserGuid)
        Set the user guid
        Parameters:
        strUserGuid - the user guid
      • getUserGuid

        public String getUserGuid()
        Get the user guid
        Returns:
        the user guid
      • containsUserGuid

        public boolean containsUserGuid()
        Contains user guid.
        Returns:
        true, if successful
      • setUserAttributes

        public void setUserAttributes​(Map<String,​String> userInfos)
        Set the user attributes
        Parameters:
        userInfos - the user attributes
      • getUserAttributes

        public Map<String,​String> getUserAttributes()
        Get the user attributes
        Returns:
        the user attributes
      • containsUserAttributes

        public boolean containsUserAttributes()
        Contains user attributes.
        Returns:
        true, if successful
      • getUserAttributeValue

        public String getUserAttributeValue​(String strUserAttributeKey)
        Get the user attribute value
        Parameters:
        strUserAttributeKey - the key
        Returns:
        the user attribute value
      • setWideSearch

        public void setWideSearch​(boolean isWideSearch)
        Set true if the search is wide, false otherwise
        Parameters:
        isWideSearch - true if the search is wide, false otherwise
      • isWideSearch

        public boolean isWideSearch()
        Return true if the search is wide, false otherwise
        Returns:
        true if the search is wide, false otherwise
      • getStatus

        public int getStatus()
        Returns:
        the nStatus
      • setStatus

        public void setStatus​(int nStatus)
        Parameters:
        nStatus - the nStatus to set
      • containsStatus

        public boolean containsStatus()
        Contains status.
      • getMustBeUpdated

        public int getMustBeUpdated()
        Returns:
      • setMustBeUpdated

        public void setMustBeUpdated​(int nMustBeUpdated)
        Parameters:
        _nMustBeUpdated -
      • containsMustBeUpdated

        public boolean containsMustBeUpdated()
        Contains id crm user.
        Returns:
        true, if successful
      • buildSQLQuery

        public String buildSQLQuery​(String strSQL)
        Builds the sql query.
        Parameters:
        strSQL - the str sql
        Returns:
        the string
      • buildSQLQueryForAttribute

        public int buildSQLQueryForAttribute​(StringBuilder sbSQL,
                                             int nIndex)
        Builds the sql query for attribute.
        Parameters:
        sbSQL - the sb sql
        nIndex - the n index
        Returns:
        the int
      • setFilterValues

        public void setFilterValues​(fr.paris.lutece.util.sql.DAOUtil daoUtil)
        Sets the filter values.
        Parameters:
        daoUtil - the new filter values