Class SearchItem
- java.lang.Object
-
- fr.paris.lutece.portal.service.search.SearchItem
-
public class SearchItem extends java.lang.ObjectSearch Item
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIELD_CONTENTSstatic java.lang.StringFIELD_DATEstatic java.lang.StringFIELD_DOCUMENT_PORTLET_IDstatic java.lang.StringFIELD_METADATAstatic java.lang.StringFIELD_ROLEstatic java.lang.StringFIELD_STATEstatic java.lang.StringFIELD_SUMMARYstatic java.lang.StringFIELD_TITLEstatic java.lang.StringFIELD_TYPEstatic java.lang.StringFIELD_UIDstatic java.lang.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 java.lang.StringgetDate()Returns the LastModifiedDatejava.lang.StringgetDocPortletId()Returns the DocPortletIdjava.lang.StringgetId()Returns the Idjava.lang.StringgetMetadata()Returns the meta datajava.lang.StringgetRole()Return the role of the documentjava.lang.StringgetState()Return the state of the documentjava.lang.StringgetSummary()Returns the Summaryjava.lang.StringgetTitle()Returns the Titlejava.lang.StringgetType()Returns the Typejava.lang.StringgetUrl()Returns the UrlvoidsetDate(java.lang.String strLastModifiedDate)Sets the LastModifiedDatevoidsetDocPortletId(java.lang.String strDocPortletId)Sets the DocPortletIdvoidsetId(java.lang.String strId)Sets the IdvoidsetMetadata(java.lang.String strMetadata)Sets the meta datavoidsetRole(java.lang.String role)Sets the role of the documentvoidsetState(java.lang.String state)Sets the state of the documentvoidsetSummary(java.lang.String strSummary)Sets the SummaryvoidsetTitle(java.lang.String strTitle)Sets the TitlevoidsetType(java.lang.String strType)Sets the TypevoidsetUrl(java.lang.String strUrl)Sets the Url
-
-
-
Field Detail
-
FIELD_UID
public static final java.lang.String FIELD_UID
- See Also:
- Constant Field Values
-
FIELD_CONTENTS
public static final java.lang.String FIELD_CONTENTS
- See Also:
- Constant Field Values
-
FIELD_TITLE
public static final java.lang.String FIELD_TITLE
- See Also:
- Constant Field Values
-
FIELD_SUMMARY
public static final java.lang.String FIELD_SUMMARY
- See Also:
- Constant Field Values
-
FIELD_METADATA
public static final java.lang.String FIELD_METADATA
- See Also:
- Constant Field Values
-
FIELD_URL
public static final java.lang.String FIELD_URL
- See Also:
- Constant Field Values
-
FIELD_DATE
public static final java.lang.String FIELD_DATE
- See Also:
- Constant Field Values
-
FIELD_TYPE
public static final java.lang.String FIELD_TYPE
- See Also:
- Constant Field Values
-
FIELD_ROLE
public static final java.lang.String FIELD_ROLE
- See Also:
- Constant Field Values
-
FIELD_STATE
public static final java.lang.String FIELD_STATE
- See Also:
- Constant Field Values
-
FIELD_DOCUMENT_PORTLET_ID
public static final java.lang.String FIELD_DOCUMENT_PORTLET_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(java.lang.String strId)
Sets the Id- Parameters:
strId- The Id
-
getDocPortletId
public java.lang.String getDocPortletId()
Returns the DocPortletId- Returns:
- The DocPortletId
-
setDocPortletId
public void setDocPortletId(java.lang.String strDocPortletId)
Sets the DocPortletId- Parameters:
strDocPortletId- The DocPortletId
-
getTitle
public java.lang.String getTitle()
Returns the Title- Returns:
- The Title
-
setTitle
public void setTitle(java.lang.String strTitle)
Sets the Title- Parameters:
strTitle- The Title
-
getSummary
public java.lang.String getSummary()
Returns the Summary- Returns:
- The Summary
-
setSummary
public void setSummary(java.lang.String strSummary)
Sets the Summary- Parameters:
strSummary- The Summary
-
getMetadata
public java.lang.String getMetadata()
Returns the meta data- Returns:
- The meta data
-
setMetadata
public void setMetadata(java.lang.String strMetadata)
Sets the meta data- Parameters:
strMetadata- The meta data
-
getUrl
public java.lang.String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(java.lang.String strUrl)
Sets the Url- Parameters:
strUrl- The Url
-
getDate
public java.lang.String getDate()
Returns the LastModifiedDate- Returns:
- The LastModifiedDate
-
setDate
public void setDate(java.lang.String strLastModifiedDate)
Sets the LastModifiedDate- Parameters:
strLastModifiedDate- The LastModifiedDate
-
getType
public java.lang.String getType()
Returns the Type- Returns:
- The Type
-
setType
public void setType(java.lang.String strType)
Sets the Type- Parameters:
strType- The Type
-
getRole
public java.lang.String getRole()
Return the role of the document- Returns:
- the role of the document
-
setRole
public void setRole(java.lang.String role)
Sets the role of the document- Parameters:
role- the role of the document
-
getState
public java.lang.String getState()
Return the state of the document- Returns:
- the state of the document
-
setState
public void setState(java.lang.String state)
Sets the state of the document- Parameters:
state- of the document
-
-