|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.search.BaseDocument
A BaseDocument provides a base implementation of the Document interface. Query engine implementations shoudl use this class, or subclass it, rather than implementing the Document interface directly, since this makes them immune to future additions to the Document interface.
Document
Constructor Summary | |
BaseDocument(OID oid,
Locale locale,
String title,
String summary,
Date creationDate,
Party creationParty,
Date modifiedDate,
Party modifiedParty,
BigDecimal score)
Creates a new document; |
|
BaseDocument(URL url,
OID oid,
Locale locale,
String title,
String summary,
Date creationDate,
Party creationParty,
Date modifiedDate,
Party modifiedParty,
BigDecimal score)
|
Method Summary | |
Date |
getCreationDate()
Gets the (optional) creation date of the DomainObject |
Party |
getCreationParty()
Gets the (optional) creating party of the DomainObject |
Date |
getLastModifiedDate()
Gets the (optional) last modification date of the DomainObject |
Party |
getLastModifiedParty()
Gets the (optional) last modifying party of the DomainObject |
Locale |
getLocale()
Gets the locale to which this object belongs |
OID |
getOID()
Gets the unique OID for the domain object referenced by this document |
BigDecimal |
getScore()
Gets the document score |
String |
getSummary()
Gets the (optional) summary of the DomainObject |
String |
getTitle()
Gets the Title property for the DomainObject |
URL |
getURL()
Gets the URL for this document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseDocument(OID oid, Locale locale, String title, String summary, Date creationDate, Party creationParty, Date modifiedDate, Party modifiedParty, BigDecimal score)
oid
- the domain object's unique oidlocale
- the locale of the documenttitle
- the title of the documentsummary
- the optional summarycreationDate
- the date on which the document was createdcreationParty
- the party who created the documentscore
- the scorepublic BaseDocument(URL url, OID oid, Locale locale, String title, String summary, Date creationDate, Party creationParty, Date modifiedDate, Party modifiedParty, BigDecimal score)
Method Detail |
public OID getOID()
getOID
in interface Document
public URL getURL()
getURL
in interface Document
public Locale getLocale()
getLocale
in interface Document
public String getTitle()
getTitle
in interface Document
public String getSummary()
getSummary
in interface Document
public Date getCreationDate()
getCreationDate
in interface Document
public Party getCreationParty()
getCreationParty
in interface Document
public Date getLastModifiedDate()
getLastModifiedDate
in interface Document
public Party getLastModifiedParty()
getLastModifiedParty
in interface Document
public BigDecimal getScore()
getScore
in interface Document
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |