Class SolrSearchItem
- java.lang.Object
-
- fr.paris.lutece.plugins.search.solr.business.SolrSearchItem
-
public class SolrSearchItem extends java.lang.ObjectA SearchItem
-
-
Constructor Summary
Constructors Constructor Description SolrSearchItem()Empty constructorSolrSearchItem(org.apache.solr.common.SolrDocument document)Creates and fills a SolrSearchItem form a SolrDocument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetDate()Return the datejava.lang.StringgetId()Return the idjava.lang.StringgetRole()Return the rolejava.lang.StringgetSite()Return the site name.java.lang.StringgetSummary()Return the summaryjava.lang.StringgetTitle()Return the titlejava.lang.StringgetType()Return the typejava.lang.StringgetUrl()Return the urlvoidsetDate(java.util.Date date)Set the datevoidsetId(java.lang.String strId)Sets the idvoidsetRole(java.lang.String strRole)Set the rolevoidsetSite(java.lang.String strSite)Sets the site name.voidsetSummary(java.lang.String strSummary)Set the summaryvoidsetTitle(java.lang.String strTitle)Set the titlevoidsetType(java.lang.String strType)Set the typevoidsetUrl(java.lang.String strUrl)Set the url
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Return the id- Returns:
- the id
-
setId
public void setId(java.lang.String strId)
Sets the id- Parameters:
strId- the id
-
getType
public java.lang.String getType()
Return the type- Returns:
- the type
-
setType
public void setType(java.lang.String strType)
Set the type- Parameters:
strType- the type
-
getTitle
public java.lang.String getTitle()
Return the title- Returns:
- the title
-
setTitle
public void setTitle(java.lang.String strTitle)
Set the title- Parameters:
strTitle- the title
-
getSummary
public java.lang.String getSummary()
Return the summary- Returns:
- the summary
-
setSummary
public void setSummary(java.lang.String strSummary)
Set the summary- Parameters:
strSummary- the summary
-
getUrl
public java.lang.String getUrl()
Return the url- Returns:
- the url
-
setUrl
public void setUrl(java.lang.String strUrl)
Set the url- Parameters:
strUrl- the url
-
getDate
public java.util.Date getDate()
Return the date- Returns:
- the date
-
setDate
public void setDate(java.util.Date date)
Set the date- Parameters:
date- the date.
-
getRole
public java.lang.String getRole()
Return the role- Returns:
- the role
-
setRole
public void setRole(java.lang.String strRole)
Set the role- Parameters:
strRole- the role
-
getSite
public java.lang.String getSite()
Return the site name.- Returns:
- the site name.
-
setSite
public void setSite(java.lang.String strSite)
Sets the site name.- Parameters:
strSite- the new site name.
-
-