Class SearchItem
java.lang.Object
fr.paris.lutece.portal.service.search.SearchItem
Search Item
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Returns the LastModifiedDateReturns the DocPortletIdgetId()Returns the IdReturns the meta datagetRole()Return the role of the documentgetState()Return the state of the documentReturns the SummarygetTitle()Returns the TitlegetType()Returns the TypegetUrl()Returns the UrlvoidSets the LastModifiedDatevoidsetDocPortletId(String strDocPortletId) Sets the DocPortletIdvoidSets the IdvoidsetMetadata(String strMetadata) Sets the meta datavoidSets the role of the documentvoidSets the state of the documentvoidsetSummary(String strSummary) Sets the SummaryvoidSets the TitlevoidSets the TypevoidSets the Url
-
Field Details
-
FIELD_UID
- See Also:
-
FIELD_CONTENTS
- See Also:
-
FIELD_TITLE
- See Also:
-
FIELD_SUMMARY
- See Also:
-
FIELD_METADATA
- See Also:
-
FIELD_URL
- See Also:
-
FIELD_DATE
- See Also:
-
FIELD_TYPE
- See Also:
-
FIELD_ROLE
- See Also:
-
FIELD_STATE
- See Also:
-
FIELD_DOCUMENT_PORTLET_ID
- See Also:
-
-
Constructor Details
-
SearchItem
public SearchItem(org.apache.lucene.document.Document document) Constructor- Parameters:
document- The document retrieved by the search
-
-
Method Details
-
getId
Returns the Id- Returns:
- The Id
-
setId
Sets the Id- Parameters:
strId- The Id
-
getDocPortletId
Returns the DocPortletId- Returns:
- The DocPortletId
-
setDocPortletId
Sets the DocPortletId- Parameters:
strDocPortletId- The DocPortletId
-
getTitle
Returns the Title- Returns:
- The Title
-
setTitle
Sets the Title- Parameters:
strTitle- The Title
-
getSummary
Returns the Summary- Returns:
- The Summary
-
setSummary
Sets the Summary- Parameters:
strSummary- The Summary
-
getMetadata
Returns the meta data- Returns:
- The meta data
-
setMetadata
Sets the meta data- Parameters:
strMetadata- The meta data
-
getUrl
Returns the Url- Returns:
- The Url
-
setUrl
Sets the Url- Parameters:
strUrl- The Url
-
getDate
Returns the LastModifiedDate- Returns:
- The LastModifiedDate
-
setDate
Sets the LastModifiedDate- Parameters:
strLastModifiedDate- The LastModifiedDate
-
getType
Returns the Type- Returns:
- The Type
-
setType
Sets the Type- Parameters:
strType- The Type
-
getRole
Return the role of the document- Returns:
- the role of the document
-
setRole
Sets the role of the document- Parameters:
role- the role of the document
-
getState
Return the state of the document- Returns:
- the state of the document
-
setState
Sets the state of the document- Parameters:
state- of the document
-