Class DocSearchItem
- java.lang.Object
-
- fr.paris.lutece.plugins.document.service.docsearch.DocSearchItem
-
public class DocSearchItem extends java.lang.ObjectDocSearchItem
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFIELD_CONTENTSstatic java.lang.StringFIELD_DATEstatic java.lang.StringFIELD_SPACEstatic java.lang.StringFIELD_SUMMARYstatic java.lang.StringFIELD_TITLEstatic java.lang.StringFIELD_TYPEstatic java.lang.StringFIELD_UID
-
Constructor Summary
Constructors Constructor Description DocSearchItem(org.apache.lucene.document.Document document)The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDate()Returns the LastModifiedDatejava.lang.StringgetId()Returns the Idjava.lang.StringgetSummary()Returns the Summaryjava.lang.StringgetTitle()Returns the Titlejava.lang.StringgetType()Returns the TypevoidsetDate(java.lang.String strLastModifiedDate)Sets the LastModifiedDatevoidsetId(java.lang.String strId)Sets the IdvoidsetSummary(java.lang.String strSummary)Sets the SummaryvoidsetTitle(java.lang.String strTitle)Sets the TitlevoidsetType(java.lang.String strType)Sets the Type
-
-
-
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_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_SPACE
public static final java.lang.String FIELD_SPACE
- 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
-
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
-
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
-
-