com.arsdigita.cms.search
Class ContentPageMetadataProvider

java.lang.Object
  extended bycom.arsdigita.cms.search.ContentPageMetadataProvider
All Implemented Interfaces:
com.arsdigita.search.MetadataProvider

public class ContentPageMetadataProvider
extends Object
implements com.arsdigita.search.MetadataProvider

This class is an implementation of the Search metadata provider that uses the DomainObjectTextRenderer to extract search content for any subclass of ContentPage.

Version:
$Revision: #4 $ $Date: 2004/04/07 $
Author:
Daniel Berrange

Field Summary
static String ADAPTER_CONTEXT
           
static String versionId
           
 
Constructor Summary
ContentPageMetadataProvider()
           
 
Method Summary
 com.arsdigita.search.ContentProvider[] getContent(com.arsdigita.domain.DomainObject dobj, com.arsdigita.search.ContentType type)
           
 Date getCreationDate(com.arsdigita.domain.DomainObject dobj)
           
 com.arsdigita.kernel.Party getCreationParty(com.arsdigita.domain.DomainObject dobj)
           
 Date getLastModifiedDate(com.arsdigita.domain.DomainObject dobj)
           
 com.arsdigita.kernel.Party getLastModifiedParty(com.arsdigita.domain.DomainObject dobj)
           
 Locale getLocale(com.arsdigita.domain.DomainObject dobj)
           
 String getSummary(com.arsdigita.domain.DomainObject dobj)
           
 String getTitle(com.arsdigita.domain.DomainObject dobj)
           
 String getTypeSpecificInfo(com.arsdigita.domain.DomainObject dobj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADAPTER_CONTEXT

public static final String ADAPTER_CONTEXT

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

ContentPageMetadataProvider

public ContentPageMetadataProvider()
Method Detail

getTypeSpecificInfo

public String getTypeSpecificInfo(com.arsdigita.domain.DomainObject dobj)
Specified by:
getTypeSpecificInfo in interface com.arsdigita.search.MetadataProvider

getLocale

public Locale getLocale(com.arsdigita.domain.DomainObject dobj)
Specified by:
getLocale in interface com.arsdigita.search.MetadataProvider

getTitle

public String getTitle(com.arsdigita.domain.DomainObject dobj)
Specified by:
getTitle in interface com.arsdigita.search.MetadataProvider

getSummary

public String getSummary(com.arsdigita.domain.DomainObject dobj)
Specified by:
getSummary in interface com.arsdigita.search.MetadataProvider

getContent

public com.arsdigita.search.ContentProvider[] getContent(com.arsdigita.domain.DomainObject dobj,
                                                         com.arsdigita.search.ContentType type)
Specified by:
getContent in interface com.arsdigita.search.MetadataProvider

getCreationDate

public Date getCreationDate(com.arsdigita.domain.DomainObject dobj)
Specified by:
getCreationDate in interface com.arsdigita.search.MetadataProvider

getCreationParty

public com.arsdigita.kernel.Party getCreationParty(com.arsdigita.domain.DomainObject dobj)
Specified by:
getCreationParty in interface com.arsdigita.search.MetadataProvider

getLastModifiedDate

public Date getLastModifiedDate(com.arsdigita.domain.DomainObject dobj)
Specified by:
getLastModifiedDate in interface com.arsdigita.search.MetadataProvider

getLastModifiedParty

public com.arsdigita.kernel.Party getLastModifiedParty(com.arsdigita.domain.DomainObject dobj)
Specified by:
getLastModifiedParty in interface com.arsdigita.search.MetadataProvider


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC