|
|||||||||||
| 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 score
public 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 Documentpublic URL getURL()
getURL in interface Documentpublic Locale getLocale()
getLocale in interface Documentpublic String getTitle()
getTitle in interface Documentpublic String getSummary()
getSummary in interface Documentpublic Date getCreationDate()
getCreationDate in interface Documentpublic Party getCreationParty()
getCreationParty in interface Documentpublic Date getLastModifiedDate()
getLastModifiedDate in interface Documentpublic Party getLastModifiedParty()
getLastModifiedParty in interface Documentpublic BigDecimal getScore()
getScore in interface Document
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||