com.arsdigita.search.lucene
Class StandardAdapter
java.lang.Object
com.arsdigita.search.lucene.Adapter
com.arsdigita.search.lucene.StandardAdapter
- Direct Known Subclasses:
- StandardAdapter
- public class StandardAdapter
- extends Adapter
StandardAdapter
- Version:
- $Revision: #3 $ $Date: 2004/04/07 $
- Author:
- rhs@mit.edu
Constructor Summary |
StandardAdapter(ObjectType type,
Property id,
Property title,
Property summary,
Property[] content)
|
StandardAdapter(ObjectType type,
String id,
String title,
String summary,
String[] content)
|
StandardAdapter(String type,
String id,
String title,
String summary,
String[] content)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
StandardAdapter
public StandardAdapter(ObjectType type,
Property id,
Property title,
Property summary,
Property[] content)
StandardAdapter
public StandardAdapter(ObjectType type,
String id,
String title,
String summary,
String[] content)
StandardAdapter
public StandardAdapter(String type,
String id,
String title,
String summary,
String[] content)
getID
public BigDecimal getID(DomainObject dobj)
- Description copied from class:
Adapter
- Gets the ID for the DomainObject
- Specified by:
getID
in class Adapter
- Parameters:
dobj
-
- Returns:
- ID of the object
getObjectType
public ObjectType getObjectType(DomainObject dobj)
- Specified by:
getObjectType
in class Adapter
getTypeSpecificInfo
public String getTypeSpecificInfo(DomainObject dobj)
- Specified by:
getTypeSpecificInfo
in class Adapter
getLocale
public Locale getLocale(DomainObject dobj)
- Specified by:
getLocale
in class Adapter
getTitle
public String getTitle(DomainObject dobj)
- Description copied from class:
Adapter
- Gets the Title property for the DomainObject
- Specified by:
getTitle
in class Adapter
- Parameters:
dobj
-
- Returns:
- title of the object
getSummary
public String getSummary(DomainObject dobj)
- Specified by:
getSummary
in class Adapter
getContent
public String getContent(DomainObject dobj)
- Specified by:
getContent
in class Adapter
getCreationDate
public Date getCreationDate(DomainObject dobj)
- Specified by:
getCreationDate
in class Adapter
getCreationParty
public Party getCreationParty(DomainObject dobj)
- Specified by:
getCreationParty
in class Adapter
getLastModifiedDate
public Date getLastModifiedDate(DomainObject dobj)
- Specified by:
getLastModifiedDate
in class Adapter
getLastModifiedParty
public Party getLastModifiedParty(DomainObject dobj)
- Specified by:
getLastModifiedParty
in class Adapter
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC