|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defining an adapter between a domain object and the search index metadata. Any domain object which wishes to make itself searchable should register an instance of this interface with the MetadataProviderRegistry
MetadataProviderRegistry
,
ContentProvider
Method Summary | |
ContentProvider[] |
getContent(DomainObject dobj,
ContentType type)
Gets the content for the DomainObject. |
Date |
getCreationDate(DomainObject dobj)
Gets the (optional) creation date of the DomainObject |
Party |
getCreationParty(DomainObject dobj)
Gets the (optional) creating party of the DomainObject |
Date |
getLastModifiedDate(DomainObject dobj)
Gets the (optional) last modification date of the DomainObject |
Party |
getLastModifiedParty(DomainObject dobj)
Gets the (optional) last modifying party of the DomainObject |
Locale |
getLocale(DomainObject dobj)
Gets the locale to which this object belongs |
String |
getSummary(DomainObject dobj)
Gets the (optional) summary of the DomainObject |
String |
getTitle(DomainObject dobj)
Gets the Title property for the DomainObject |
String |
getTypeSpecificInfo(DomainObject dobj)
Gets an opaque fragment of object type specific metadata. |
Method Detail |
public String getTypeSpecificInfo(DomainObject dobj)
dobj
- the domain object
public Locale getLocale(DomainObject dobj)
dobj
- the domain object
public String getTitle(DomainObject dobj)
dobj
- the domain object
public String getSummary(DomainObject dobj)
dobj
- the domain object
public Date getCreationDate(DomainObject dobj)
dobj
- the domain object
public Party getCreationParty(DomainObject dobj)
dobj
- the domain object
public Date getLastModifiedDate(DomainObject dobj)
dobj
- the domain object
public Party getLastModifiedParty(DomainObject dobj)
dobj
- the domain object
public ContentProvider[] getContent(DomainObject dobj, ContentType type)
dobj
- the domain object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |