fr.paris.lutece.plugins.appointment.business
Class AppointmentFilter

java.lang.Object
  extended by fr.paris.lutece.plugins.appointment.business.AppointmentFilter
All Implemented Interfaces:
Serializable

public class AppointmentFilter
extends Object
implements Serializable

Class to filter appointments

See Also:
Serialized Form

Field Summary
static String CONSTANT_DEFAULT_ORDER_BY
          Default order by
static int NO_STATUS_FILTER
          Value for status to ignore filter
 
Constructor Summary
AppointmentFilter()
           
 
Method Summary
 String getAuthenticationService()
          Returns the authentication service used by the lutece user that made this appointment, if any
 Date getDateAppointment()
          Get the date of the appointment
 Date getDateAppointmentMax()
          Get the minimum value of the date of the appointment
 Date getDateAppointmentMin()
          Get the minimum value of the date of the appointment
 String getEmail()
          Returns the Email
 String getFirstName()
          Returns the FirstName
 int getIdAdminUser()
          Returns the id of the admin user
 int getIdForm()
          Get the id of the form
 int getIdSlot()
          Get the id of the slot
 String getIdUser()
          Returns the IdUser
 String getLastName()
          Returns the LastName
 boolean getOrderAsc()
          Get the order of the sort of this filter
 String getOrderBy()
          Get the order by attribute of this filter
 int getStatus()
          Get the status of the appointment
 void setAuthenticationService(String strAuthenticationService)
          Sets the authentication service used by the lutece user that made this appointment, if any
 void setDateAppointment(Date dateAppointment)
          Set the date of the appointment
 void setDateAppointmentMax(Date dateAppointmentMax)
          Set the value value of the date of the appointment
 void setDateAppointmentMin(Date dateAppointmentMin)
          Set the minimum value of the date of the appointment
 void setEmail(String strEmail)
          Sets the Email
 void setFirstName(String strFirstName)
          Sets the FirstName
 void setIdAdminUser(int nIdAdminUser)
          Sets the id of the admin user
 void setIdForm(int nIdForm)
          Set the id of the form
 void setIdSlot(int nIdSlot)
          Set the id of the slot
 void setIdUser(String strIdUser)
          Sets the id of the LuteceUser
 void setLastName(String strLastName)
          Sets the LastName
 void setOrderAsc(boolean bOrderAsc)
          Set the order of the sort of this filter
 void setOrderBy(String strOrderBy)
          Set the order by attribute of this filter.
 void setStatus(int nStatus)
          Set the status of the appointment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_STATUS_FILTER

public static final int NO_STATUS_FILTER
Value for status to ignore filter

See Also:
Constant Field Values

CONSTANT_DEFAULT_ORDER_BY

public static final String CONSTANT_DEFAULT_ORDER_BY
Default order by

See Also:
Constant Field Values
Constructor Detail

AppointmentFilter

public AppointmentFilter()
Method Detail

getIdForm

public int getIdForm()
Get the id of the form

Returns:
The id of the form

setIdForm

public void setIdForm(int nIdForm)
Set the id of the form

Parameters:
nIdForm - The id of the form

getIdSlot

public int getIdSlot()
Get the id of the slot

Returns:
The id of the slot

setIdSlot

public void setIdSlot(int nIdSlot)
Set the id of the slot

Parameters:
nIdSlot - The id of the slot

getFirstName

public String getFirstName()
Returns the FirstName

Returns:
The FirstName

setFirstName

public void setFirstName(String strFirstName)
Sets the FirstName

Parameters:
strFirstName - The FirstName

getLastName

public String getLastName()
Returns the LastName

Returns:
The LastName

setLastName

public void setLastName(String strLastName)
Sets the LastName

Parameters:
strLastName - The LastName

getEmail

public String getEmail()
Returns the Email

Returns:
The Email

setEmail

public void setEmail(String strEmail)
Sets the Email

Parameters:
strEmail - The Email

getIdUser

public String getIdUser()
Returns the IdUser

Returns:
The IdUser

setIdUser

public void setIdUser(String strIdUser)
Sets the id of the LuteceUser

Parameters:
strIdUser - The IdUser

getAuthenticationService

public String getAuthenticationService()
Returns the authentication service used by the lutece user that made this appointment, if any

Returns:
The authentication service used by the lutece user that made this appointment, or null if this appointment is not associated with a lutece user

setAuthenticationService

public void setAuthenticationService(String strAuthenticationService)
Sets the authentication service used by the lutece user that made this appointment, if any

Parameters:
strAuthenticationService - The authentication service used by the lutece user that made this appointment, or null if this appointment is not associated with a lutece user

setIdAdminUser

public void setIdAdminUser(int nIdAdminUser)
Sets the id of the admin user

Parameters:
nIdAdminUser - The id of the admin user

getIdAdminUser

public int getIdAdminUser()
Returns the id of the admin user

Returns:
The id of the admin user

getDateAppointment

public Date getDateAppointment()
Get the date of the appointment

Returns:
The date of the appointment

setDateAppointment

public void setDateAppointment(Date dateAppointment)
Set the date of the appointment

Parameters:
dateAppointment - The date of the appointment

getDateAppointmentMin

public Date getDateAppointmentMin()
Get the minimum value of the date of the appointment

Returns:
The minimum value of the date of the appointment

setDateAppointmentMin

public void setDateAppointmentMin(Date dateAppointmentMin)
Set the minimum value of the date of the appointment

Parameters:
dateAppointmentMin - The minimum value of the date of the appointment

getDateAppointmentMax

public Date getDateAppointmentMax()
Get the minimum value of the date of the appointment

Returns:
The minimum value of the date of the appointment

setDateAppointmentMax

public void setDateAppointmentMax(Date dateAppointmentMax)
Set the value value of the date of the appointment

Parameters:
dateAppointmentMax - The maximum value of the date of the appointment

getStatus

public int getStatus()
Get the status of the appointment

Returns:
The status of the appointment

setStatus

public void setStatus(int nStatus)
Set the status of the appointment

Parameters:
nStatus - The status of the appointment

getOrderBy

public String getOrderBy()
Get the order by attribute of this filter

Returns:
The order by attribute of this filter

setOrderBy

public void setOrderBy(String strOrderBy)
Set the order by attribute of this filter.

Parameters:
strOrderBy - The order by attribute of this filter. If the specified order does not match with column names of the appointment table of the database, then the order by is reinitialized.

getOrderAsc

public boolean getOrderAsc()
Get the order of the sort of this filter

Returns:
The _bOrderAsc

setOrderAsc

public void setOrderAsc(boolean bOrderAsc)
Set the order of the sort of this filter

Parameters:
bOrderAsc - True to sort ascending, false to sort descending,


Copyright © 2014 Mairie de Paris. All Rights Reserved.