Class DocSearchItem
- java.lang.Object
-
- fr.paris.lutece.plugins.document.service.docsearch.DocSearchItem
-
public class DocSearchItem extends Object
DocSearchItem
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_CONTENTSstatic StringFIELD_DATEstatic StringFIELD_SPACEstatic StringFIELD_SUMMARYstatic StringFIELD_TITLEstatic StringFIELD_TYPEstatic 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 StringgetDate()Returns the LastModifiedDateStringgetId()Returns the IdStringgetSummary()Returns the SummaryStringgetTitle()Returns the TitleStringgetType()Returns the TypevoidsetDate(String strLastModifiedDate)Sets the LastModifiedDatevoidsetId(String strId)Sets the IdvoidsetSummary(String strSummary)Sets the SummaryvoidsetTitle(String strTitle)Sets the TitlevoidsetType(String strType)Sets the Type
-
-
-
Field Detail
-
FIELD_UID
public static final String FIELD_UID
- See Also:
- Constant Field Values
-
FIELD_CONTENTS
public static final String FIELD_CONTENTS
- See Also:
- Constant Field Values
-
FIELD_TITLE
public static final String FIELD_TITLE
- See Also:
- Constant Field Values
-
FIELD_SUMMARY
public static final String FIELD_SUMMARY
- See Also:
- Constant Field Values
-
FIELD_DATE
public static final String FIELD_DATE
- See Also:
- Constant Field Values
-
FIELD_TYPE
public static final String FIELD_TYPE
- See Also:
- Constant Field Values
-
FIELD_SPACE
public static final String FIELD_SPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(String strId)
Sets the Id- Parameters:
strId- The Id
-
getTitle
public String getTitle()
Returns the Title- Returns:
- The Title
-
setTitle
public void setTitle(String strTitle)
Sets the Title- Parameters:
strTitle- The Title
-
getSummary
public String getSummary()
Returns the Summary- Returns:
- The Summary
-
setSummary
public void setSummary(String strSummary)
Sets the Summary- Parameters:
strSummary- The Summary
-
getDate
public String getDate()
Returns the LastModifiedDate- Returns:
- The LastModifiedDate
-
setDate
public void setDate(String strLastModifiedDate)
Sets the LastModifiedDate- Parameters:
strLastModifiedDate- The LastModifiedDate
-
getType
public String getType()
Returns the Type- Returns:
- The Type
-
setType
public void setType(String strType)
Sets the Type- Parameters:
strType- The Type
-
-