fr.paris.lutece.portal.service.search
Class SearchItem

java.lang.Object
  extended by fr.paris.lutece.portal.service.search.SearchItem

public class SearchItem
extends java.lang.Object

Search Item


Field Summary
static java.lang.String FIELD_CONTENTS
           
static java.lang.String FIELD_DATE
           
static java.lang.String FIELD_SUMMARY
           
static java.lang.String FIELD_TITLE
           
static java.lang.String FIELD_TYPE
           
static java.lang.String FIELD_UID
           
static java.lang.String FIELD_URL
           
 
Constructor Summary
SearchItem(org.apache.lucene.document.Document document)
           
 
Method Summary
 java.lang.String getDate()
          Returns the LastModifiedDate
 java.lang.String getId()
          Returns the Id
 java.lang.String getSummary()
          Returns the Summary
 java.lang.String getTitle()
          Returns the Title
 java.lang.String getType()
          Returns the Type
 java.lang.String getUrl()
          Returns the Url
 void setDate(java.lang.String strLastModifiedDate)
          Sets the LastModifiedDate
 void setId(java.lang.String strId)
          Sets the Id
 void setSummary(java.lang.String strSummary)
          Sets the Summary
 void setTitle(java.lang.String strTitle)
          Sets the Title
 void setType(java.lang.String strType)
          Sets the Type
 void setUrl(java.lang.String strUrl)
          Sets the Url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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_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
Constructor Detail

SearchItem

public SearchItem(org.apache.lucene.document.Document document)
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

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

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


Copyright © 2007 Mairie de Paris. All Rights Reserved.