fr.paris.lutece.plugins.crm.business.user
Class CRMUserFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.user.CRMUserFilter
All Implemented Interfaces:
Serializable

public class CRMUserFilter
extends Object
implements Serializable

CRMUserAttributeFilter

See Also:
Serialized Form

Constructor Summary
CRMUserFilter()
           
 
Method Summary
 String buildSQLQuery(String strSQL)
          Builds the sql query.
 int buildSQLQueryForAttribute(StringBuilder sbSQL, int nIndex)
          Builds the sql query for attribute.
 boolean containsIdCRMUser()
          Contains id crm user.
 boolean containsStatus()
          Contains status.
 boolean containsUserAttributes()
          Contains user attributes.
 boolean containsUserGuid()
          Contains user guid.
 int getIdCRMUser()
          Get the id crm user
 int getStatus()
           
 Map<String,String> getUserAttributes()
          Get the user attributes
 String getUserAttributeValue(String strUserAttributeKey)
          Get the user attribute value
 String getUserGuid()
          Get the user guid
 void init(javax.servlet.http.HttpServletRequest request)
          Init.
 boolean isWideSearch()
          Return true if the search is wide, false otherwise
 void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
          Sets the filter values.
 void setIdCRMUser(int nIdCRMUser)
          Set the id crm user
 void setStatus(int nStatus)
           
 void setUserAttributes(Map<String,String> userInfos)
          Set the user attributes
 void setUserGuid(String strUserGuid)
          Set the user guid
 void setWideSearch(boolean isWideSearch)
          Set true if the search is wide, false otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.


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


Copyright © 2013 Mairie de Paris. All Rights Reserved.