com.arsdigita.search.lucene
Class Adapter

java.lang.Object
  extended bycom.arsdigita.search.lucene.Adapter
Direct Known Subclasses:
Adapter, StandardAdapter

public abstract class Adapter
extends Object

Adapter.

Version:
$Revision: #3 $ $Date: 2004/04/07 $
Author:
rhs@mit.edu

Field Summary
static String versionId
           
 
Constructor Summary
Adapter()
           
 
Method Summary
abstract  String getContent(DomainObject dobj)
           
abstract  Date getCreationDate(DomainObject dobj)
           
abstract  Party getCreationParty(DomainObject dobj)
           
abstract  BigDecimal getID(DomainObject dobj)
          Gets the ID for the DomainObject
abstract  Date getLastModifiedDate(DomainObject dobj)
           
abstract  Party getLastModifiedParty(DomainObject dobj)
           
abstract  Locale getLocale(DomainObject dobj)
           
abstract  ObjectType getObjectType(DomainObject dobj)
           
abstract  String getSummary(DomainObject dobj)
           
abstract  String getTitle(DomainObject dobj)
          Gets the Title property for the DomainObject
abstract  String getTypeSpecificInfo(DomainObject dobj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

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

Adapter

public Adapter()
Method Detail

getID

public abstract BigDecimal getID(DomainObject dobj)
Gets the ID for the DomainObject

Parameters:
dobj -
Returns:
ID of the object

getObjectType

public abstract ObjectType getObjectType(DomainObject dobj)

getTypeSpecificInfo

public abstract String getTypeSpecificInfo(DomainObject dobj)

getLocale

public abstract Locale getLocale(DomainObject dobj)

getTitle

public abstract String getTitle(DomainObject dobj)
Gets the Title property for the DomainObject

Parameters:
dobj -
Returns:
title of the object

getSummary

public abstract String getSummary(DomainObject dobj)

getContent

public abstract String getContent(DomainObject dobj)

getCreationDate

public abstract Date getCreationDate(DomainObject dobj)

getCreationParty

public abstract Party getCreationParty(DomainObject dobj)

getLastModifiedDate

public abstract Date getLastModifiedDate(DomainObject dobj)

getLastModifiedParty

public abstract Party getLastModifiedParty(DomainObject dobj)


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