public class SearchItem extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CONTENTS |
static String |
FIELD_DATE |
static String |
FIELD_DOCUMENT_PORTLET_ID |
static String |
FIELD_METADATA |
static String |
FIELD_ROLE |
static String |
FIELD_STATE |
static String |
FIELD_SUMMARY |
static String |
FIELD_TITLE |
static String |
FIELD_TYPE |
static String |
FIELD_UID |
static String |
FIELD_URL |
Constructor and Description |
---|
SearchItem(org.apache.lucene.document.Document document)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDate()
Returns the LastModifiedDate
|
String |
getDocPortletId()
Returns the DocPortletId
|
String |
getId()
Returns the Id
|
String |
getMetadata()
Returns the meta data
|
String |
getRole()
Return the role of the document
|
String |
getState()
Return the state of the document
|
String |
getSummary()
Returns the Summary
|
String |
getTitle()
Returns the Title
|
String |
getType()
Returns the Type
|
String |
getUrl()
Returns the Url
|
void |
setDate(String strLastModifiedDate)
Sets the LastModifiedDate
|
void |
setDocPortletId(String strDocPortletId)
Sets the DocPortletId
|
void |
setId(String strId)
Sets the Id
|
void |
setMetadata(String strMetadata)
Sets the meta data
|
void |
setRole(String role)
Sets the role of the document
|
void |
setState(String state)
Sets the state of the document
|
void |
setSummary(String strSummary)
Sets the Summary
|
void |
setTitle(String strTitle)
Sets the Title
|
void |
setType(String strType)
Sets the Type
|
void |
setUrl(String strUrl)
Sets the Url
|
public static final String FIELD_UID
public static final String FIELD_CONTENTS
public static final String FIELD_TITLE
public static final String FIELD_SUMMARY
public static final String FIELD_METADATA
public static final String FIELD_URL
public static final String FIELD_DATE
public static final String FIELD_TYPE
public static final String FIELD_ROLE
public static final String FIELD_STATE
public static final String FIELD_DOCUMENT_PORTLET_ID
public SearchItem(org.apache.lucene.document.Document document)
document
- The document retrieved by the searchpublic String getId()
public void setId(String strId)
strId
- The Idpublic String getDocPortletId()
public void setDocPortletId(String strDocPortletId)
strDocPortletId
- The DocPortletIdpublic String getTitle()
public void setTitle(String strTitle)
strTitle
- The Titlepublic String getSummary()
public void setSummary(String strSummary)
strSummary
- The Summarypublic String getMetadata()
public void setMetadata(String strMetadata)
strMetadata
- The meta datapublic String getUrl()
public void setUrl(String strUrl)
strUrl
- The Urlpublic String getDate()
public void setDate(String strLastModifiedDate)
strLastModifiedDate
- The LastModifiedDatepublic String getType()
public void setType(String strType)
strType
- The Typepublic String getRole()
public void setRole(String role)
role
- the role of the documentpublic String getState()
public void setState(String state)
state
- of the documentCopyright © 2020 City of Paris. All rights reserved.