fr.paris.lutece.plugins.search.solr.business
Class SolrSearchItem

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.business.SolrSearchItem

public class SolrSearchItem
extends java.lang.Object

A SearchItem


Constructor Summary
SolrSearchItem()
          Empty constructor
SolrSearchItem(org.apache.solr.common.SolrDocument document)
          Creates and fills a SolrSearchItem form a SolrDocument
 
Method Summary
 java.util.Date getDate()
          Return the date
 java.lang.String getId()
          Return the id
 java.lang.String getRole()
          Return the role
 java.lang.String getSite()
          Return the site name.
 java.lang.String getSummary()
          Return the summary
 java.lang.String getTitle()
          Return the title
 java.lang.String getType()
          Return the type
 java.lang.String getUrl()
          Return the url
 void setDate(java.util.Date date)
          Set the date
 void setId(java.lang.String strId)
          Sets the id
 void setRole(java.lang.String strRole)
          Set the role
 void setSite(java.lang.String strSite)
          Sets the site name.
 void setSummary(java.lang.String strSummary)
          Set the summary
 void setTitle(java.lang.String strTitle)
          Set the title
 void setType(java.lang.String strType)
          Set the type
 void setUrl(java.lang.String strUrl)
          Set the url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrSearchItem

public SolrSearchItem()
Empty constructor


SolrSearchItem

public SolrSearchItem(org.apache.solr.common.SolrDocument document)
Creates and fills a SolrSearchItem form a SolrDocument

Parameters:
document - the document
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.


Copyright © 2010 Mairie de Paris. All Rights Reserved.