Class SearchItem
- java.lang.Object
-
- fr.paris.lutece.portal.service.search.SearchItem
-
public class SearchItem extends Object
Search Item
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_CONTENTSstatic StringFIELD_DATEstatic StringFIELD_DOCUMENT_PORTLET_IDstatic StringFIELD_METADATAstatic StringFIELD_ROLEstatic StringFIELD_STATEstatic StringFIELD_SUMMARYstatic StringFIELD_TITLEstatic StringFIELD_TYPEstatic StringFIELD_UIDstatic StringFIELD_URL
-
Constructor Summary
Constructors Constructor Description SearchItem(org.apache.lucene.document.Document document)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDate()Returns the LastModifiedDateStringgetDocPortletId()Returns the DocPortletIdStringgetId()Returns the IdStringgetMetadata()Returns the meta dataStringgetRole()Return the role of the documentStringgetState()Return the state of the documentStringgetSummary()Returns the SummaryStringgetTitle()Returns the TitleStringgetType()Returns the TypeStringgetUrl()Returns the UrlvoidsetDate(String strLastModifiedDate)Sets the LastModifiedDatevoidsetDocPortletId(String strDocPortletId)Sets the DocPortletIdvoidsetId(String strId)Sets the IdvoidsetMetadata(String strMetadata)Sets the meta datavoidsetRole(String role)Sets the role of the documentvoidsetState(String state)Sets the state of the documentvoidsetSummary(String strSummary)Sets the SummaryvoidsetTitle(String strTitle)Sets the TitlevoidsetType(String strType)Sets the TypevoidsetUrl(String strUrl)Sets the Url
-
-
-
Field Detail
-
FIELD_UID
public static final String FIELD_UID
- See Also:
- Constant Field Values
-
FIELD_CONTENTS
public static final String FIELD_CONTENTS
- See Also:
- Constant Field Values
-
FIELD_TITLE
public static final String FIELD_TITLE
- See Also:
- Constant Field Values
-
FIELD_SUMMARY
public static final String FIELD_SUMMARY
- See Also:
- Constant Field Values
-
FIELD_METADATA
public static final String FIELD_METADATA
- See Also:
- Constant Field Values
-
FIELD_URL
public static final String FIELD_URL
- See Also:
- Constant Field Values
-
FIELD_DATE
public static final String FIELD_DATE
- See Also:
- Constant Field Values
-
FIELD_TYPE
public static final String FIELD_TYPE
- See Also:
- Constant Field Values
-
FIELD_ROLE
public static final String FIELD_ROLE
- See Also:
- Constant Field Values
-
FIELD_STATE
public static final String FIELD_STATE
- See Also:
- Constant Field Values
-
FIELD_DOCUMENT_PORTLET_ID
public static final String FIELD_DOCUMENT_PORTLET_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(String strId)
Sets the Id- Parameters:
strId- The Id
-
getDocPortletId
public String getDocPortletId()
Returns the DocPortletId- Returns:
- The DocPortletId
-
setDocPortletId
public void setDocPortletId(String strDocPortletId)
Sets the DocPortletId- Parameters:
strDocPortletId- The DocPortletId
-
getTitle
public String getTitle()
Returns the Title- Returns:
- The Title
-
setTitle
public void setTitle(String strTitle)
Sets the Title- Parameters:
strTitle- The Title
-
getSummary
public String getSummary()
Returns the Summary- Returns:
- The Summary
-
setSummary
public void setSummary(String strSummary)
Sets the Summary- Parameters:
strSummary- The Summary
-
getMetadata
public String getMetadata()
Returns the meta data- Returns:
- The meta data
-
setMetadata
public void setMetadata(String strMetadata)
Sets the meta data- Parameters:
strMetadata- The meta data
-
getUrl
public String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(String strUrl)
Sets the Url- Parameters:
strUrl- The Url
-
getDate
public String getDate()
Returns the LastModifiedDate- Returns:
- The LastModifiedDate
-
setDate
public void setDate(String strLastModifiedDate)
Sets the LastModifiedDate- Parameters:
strLastModifiedDate- The LastModifiedDate
-
getType
public String getType()
Returns the Type- Returns:
- The Type
-
setType
public void setType(String strType)
Sets the Type- Parameters:
strType- The Type
-
getRole
public String getRole()
Return the role of the document- Returns:
- the role of the document
-
setRole
public void setRole(String role)
Sets the role of the document- Parameters:
role- the role of the document
-
getState
public String getState()
Return the state of the document- Returns:
- the state of the document
-
setState
public void setState(String state)
Sets the state of the document- Parameters:
state- of the document
-
-