Class FormResponseSearchItem
java.lang.Object
fr.paris.lutece.portal.service.search.SearchItem
fr.paris.lutece.plugins.forms.business.form.search.FormResponseSearchItem
public class FormResponseSearchItem
extends fr.paris.lutece.portal.service.search.SearchItem
This class is use for processing searches in Forms
-
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 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
ConstructorsConstructorDescriptionFormResponseSearchItem(org.apache.lucene.document.Document document) Constructor based on a Lucene Document -
Method Summary
Modifier and TypeMethodDescriptionGet the creation dateGet the date updateGet the form titlegetGuid()Get the guidintGet the id of assignee unitintGet the id of assignee userintGet the id of the formintGet the id form responseintGet the id of the workflow stateGet the map of entry cde fields valueGet the workflow state titlevoidsetDateCreation(String strDateCreation) Set the creation datevoidsetDateUpdate(String strDateUpdate) Set the date updatevoidsetFormTitle(String strFormTitle) Set the form titlevoidSet the guidvoidsetIdAssigneeUnit(int nIdAssigneeUnit) Set the id of the assignee unitvoidsetIdAssigneeUser(int nIdAssigneeUser) Get the id of assignee uservoidsetIdForm(int nIdForm) Set the id of the formvoidsetIdFormResponse(int nIdFormResponse) Set the id form responsevoidsetIdWorkflowState(int nIdWorkflowState) Set the id of the workflow statevoidsetMapEntryCodeFieldsValue(Map<String, String> mapEntryCodeFieldsValue) Set the map of entry code fields valuevoidsetWorkflowStateTitle(String strWorkflowStateTitle) Set the workflow state titleMethods 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_ID_FORM_RESPONSE
- See Also:
-
FIELD_DATE_CREATION
- See Also:
-
FIELD_DATE_UPDATE
- See Also:
-
FIELD_GUID
- See Also:
-
FIELD_ID_FORM
- See Also:
-
FIELD_FORM_TITLE
- See Also:
-
FIELD_ID_WORKFLOW_STATE
- See Also:
-
FIELD_TITLE_WORKFLOW_STATE
- See Also:
-
FIELD_ID_ASSIGNEE_USER
- See Also:
-
FIELD_ID_ASSIGNEE_UNIT
- See Also:
-
FIELD_ENTRY_CODE_SUFFIX
- See Also:
-
FIELD_RESPONSE_FIELD_SEPARATOR
- See Also:
-
FIELD_RESPONSE_FIELD_ITER
- See Also:
-
FIELD_RESPONSE_ID
- See Also:
-
FIELD_DATE_SUFFIX
- See Also:
-
FIELD_INT_SUFFIX
- See Also:
-
FIELD_SELECT_SUFFIX
- See Also:
-
FIELD_SELECT_TITLE
- See Also:
-
FIELD_PUBLISHED
- See Also:
-
FIELD_DATA_LAYER
- See Also:
-
FIELD_ROLE_USER
- See Also:
-
-
Constructor Details
-
FormResponseSearchItem
public FormResponseSearchItem(org.apache.lucene.document.Document document) Constructor based on a Lucene Document- Parameters:
document- the Lucene Document
-
-
Method Details
-
getIdFormResponse
public int getIdFormResponse()Get the id form response- Returns:
- the id form response
-
setIdFormResponse
public void setIdFormResponse(int nIdFormResponse) Set the id form response- Parameters:
nIdFormResponse- the id form response
-
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
-
getFormTitle
Get the form title- Returns:
- the form title
-
setFormTitle
Set the form title- Parameters:
strFormTitle- the form title
-
getDateCreation
Get the creation date- Returns:
- the creation date of the form
-
setDateCreation
Set the creation date- Parameters:
strDateCreation-
-
getDateUpdate
Get the date update- Returns:
- the date update
-
setDateUpdate
Set the date update- Parameters:
strDateUpdate- the date update
-
getGuid
Get the guid- Returns:
- the guid
-
setGuid
Set the guid- Parameters:
strGuid- the guid
-
getIdAssigneeUser
public int getIdAssigneeUser()Get the id of assignee user- Returns:
- the id of assignee user
-
setIdAssigneeUser
public void setIdAssigneeUser(int nIdAssigneeUser) Get the id of assignee user- Parameters:
nIdAssigneeUser- the id of assignee user
-
getIdAssigneeUnit
public int getIdAssigneeUnit()Get the id of assignee unit- Returns:
- the id of assignee unit
-
setIdAssigneeUnit
public void setIdAssigneeUnit(int nIdAssigneeUnit) Set the id of the assignee unit- Parameters:
nIdAssigneeUnit- the id of the assignee unit
-
getIdWorkflowState
public int getIdWorkflowState()Get the id of the workflow state- Returns:
- the id of the workflow state
-
setIdWorkflowState
public void setIdWorkflowState(int nIdWorkflowState) Set the id of the workflow state- Parameters:
nIdWorkflowState- the id of the workflow state
-
getWorkflowStateTitle
Get the workflow state title- Returns:
- the workflow state title
-
setWorkflowStateTitle
Set the workflow state title- Parameters:
strWorkflowStateTitle- the workflow state title
-
getMapEntryCodeFieldsValue
Get the map of entry cde fields value- Returns:
- the map of entry code fields value
-
setMapEntryCodeFieldsValue
Set the map of entry code fields value- Parameters:
mapEntryCodeFieldsValue- the map of entry code fields value
-