Class AppointmentSearchItem
java.lang.Object
fr.paris.lutece.portal.service.search.SearchItem
fr.paris.lutece.plugins.appointment.modules.management.business.search.AppointmentSearchItem
public class AppointmentSearchItem
extends fr.paris.lutece.portal.service.search.SearchItem
This class is use for processing searches in Appointment
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class fr.paris.lutece.portal.service.search.SearchItem
FIELD_CONTENTS, FIELD_DATE, FIELD_DOCUMENT_PORTLET_ID, FIELD_METADATA, FIELD_ROLE, FIELD_STATE, FIELD_SUMMARY, FIELD_TITLE, FIELD_TYPE, FIELD_UID, FIELD_URL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAdmin()intintintintgetMail()intbooleanvoidsetCategoryTitle(String categoryTitle) voidsetFormTitle(String formTitle) voidsetStateTitle(String stateTitle) Methods inherited from class fr.paris.lutece.portal.service.search.SearchItem
getDate, getDocPortletId, getId, getMetadata, getRole, getState, getSummary, getTitle, getType, getUrl, setDate, setDocPortletId, setId, setMetadata, setRole, setState, setSummary, setTitle, setType, setUrl
-
Field Details
-
FIELD_DATE_SUFFIX
- See Also:
-
FIELD_INT_SUFFIX
- See Also:
-
FIELD_ID_APPOINTMENT
- See Also:
-
FIELD_ID_FORM
- See Also:
-
FIELD_FIRST_NAME
- See Also:
-
FIELD_FIRST_NAME_SEARCH
- See Also:
-
FIELD_LAST_NAME
- See Also:
-
FIELD_LAST_NAME_SEARCH
- See Also:
-
FIELD_MAIL
- See Also:
-
FIELD_MAIL_SEARCH
- See Also:
-
FIELD_PHONE_NUMBER
- See Also:
-
FIELD_START_DATE
- See Also:
-
FIELD_END_DATE
- See Also:
-
FIELD_ADMIN
- See Also:
-
FIELD_CANCELLED
- See Also:
-
FIELD_ID_WORKFLOW_STATE
- See Also:
-
FIELD_NB_SEATS
- See Also:
-
FIELD_DATE_APPOINTMENT_TAKEN
- See Also:
-
FIELD_ID_CATEGORY
- See Also:
-
-
Constructor Details
-
AppointmentSearchItem
public AppointmentSearchItem(org.apache.lucene.document.Document document)
-
-
Method Details
-
getIdAppointment
public int getIdAppointment()- Returns:
- the idAppointment
-
getIdForm
public int getIdForm()- Returns:
- the idForm
-
getFirstName
- Returns:
- the firstName
-
getLastName
- Returns:
- the lastName
-
getMail
- Returns:
- the mail
-
getPhoneNumber
- Returns:
- the phone number
-
getStartDate
- Returns:
- the startDate
-
getEndDate
- Returns:
- the endDate
-
getAdmin
- Returns:
- the admin
-
getIdState
public int getIdState()- Returns:
- the idState
-
getNbSeats
public int getNbSeats()- Returns:
- the nbSeats
-
getDateAppointmentTaken
- Returns:
- the dateAppointmentTaken
-
getStateTitle
- Returns:
- the stateTitle
-
setStateTitle
- Parameters:
stateTitle- the stateTitle to set
-
getFormTitle
- Returns:
- the formTitle
-
setFormTitle
- Parameters:
formTitle- the formTitle to set
-
getDateOfTheAppointment
- Returns:
- the dateOfTheAppointment
-
getStartingTime
- Returns:
- the startingTime
-
getEndingTime
- Returns:
- the endingTime
-
isCancelled
public boolean isCancelled()- Returns:
- _cancelled
-
getCategoryTitle
- Returns:
- the categoryTitle
-
setCategoryTitle
- Parameters:
categoryTitle- the categoryTitle to set
-
getIdCategory
public int getIdCategory()- Returns:
- the idCategory
-