com.arsdigita.search.intermedia
Class SearchableACSObject

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.search.intermedia.SearchableACSObject
All Implemented Interfaces:
Searchable
Direct Known Subclasses:
SearchableACSObject

Deprecated. register a com.arsdigita.search.MetadataProvider instead

public abstract class SearchableACSObject
extends ACSObject
implements Searchable

This class is deprecated since it is Intermedia specific. All code should now be using the generic search API found in the com.arsdigita.search package.


Field Summary
static String versionId
          Deprecated.  
 
Fields inherited from class com.arsdigita.kernel.ACSObject
BASE_DATA_OBJECT_TYPE, CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
SearchableACSObject(DataObject SearchableACSObjectData)
          Deprecated. CONSTRUCTORS so that we are compatible with ACSObject
SearchableACSObject(ObjectType type)
          Deprecated.  
SearchableACSObject(OID oid)
          Deprecated.  
SearchableACSObject(String typeName)
          Deprecated.  
 
Method Summary
 String getSearchLanguage()
          Deprecated. Returns the language type of document.
abstract  String getSearchLinkText()
          Deprecated. Returns a string to use as the text inside the link in the search results
abstract  byte[] getSearchRawContent()
          Deprecated. Return the entire text body for indexing.
abstract  String getSearchSummary()
          Deprecated. Searchable interface methods that must be implemented by any class that extends SearchableACSObject.
abstract  String getSearchUrlStub()
          Deprecated. Returns a url stub used to link to more information about this object.
abstract  String getSearchXMLContent()
          Deprecated. Returns an xml string of the text to index for this object.
protected  void initialize()
          Deprecated. Called from base class (DomainObject) constructors.
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

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

SearchableACSObject

public SearchableACSObject(DataObject SearchableACSObjectData)
Deprecated. 
CONSTRUCTORS so that we are compatible with ACSObject


SearchableACSObject

public SearchableACSObject(String typeName)
Deprecated. 

SearchableACSObject

public SearchableACSObject(ObjectType type)
Deprecated. 

SearchableACSObject

public SearchableACSObject(OID oid)
                    throws DataObjectNotFoundException
Deprecated. 
Method Detail

initialize

protected void initialize()
Deprecated. 
Description copied from class: ACSObject
Called from base class (DomainObject) constructors.

Overrides:
initialize in class ACSObject

getSearchSummary

public abstract String getSearchSummary()
Deprecated. 
Searchable interface methods that must be implemented by any class that extends SearchableACSObject. These methods return the content that is indexed.

Specified by:
getSearchSummary in interface Searchable

getSearchLinkText

public abstract String getSearchLinkText()
Deprecated. 
Description copied from interface: Searchable
Returns a string to use as the text inside the link in the search results

Specified by:
getSearchLinkText in interface Searchable

getSearchUrlStub

public abstract String getSearchUrlStub()
Deprecated. 
Description copied from interface: Searchable
Returns a url stub used to link to more information about this object.

Specified by:
getSearchUrlStub in interface Searchable

getSearchXMLContent

public abstract String getSearchXMLContent()
Deprecated. 
Description copied from interface: Searchable
Returns an xml string of the text to index for this object. The xml tags are used as section groups. If both getSearchXMLContent and getSearchRawContent return empty strings, the object will not be indexed.

Specified by:
getSearchXMLContent in interface Searchable

getSearchRawContent

public abstract byte[] getSearchRawContent()
Deprecated. 
Description copied from interface: Searchable
Return the entire text body for indexing. If both getSearchXMLContent and getSearchRawContent return empty strings, the object will not be indexed.

Specified by:
getSearchRawContent in interface Searchable

getSearchLanguage

public String getSearchLanguage()
Deprecated. 
Description copied from interface: Searchable
Returns the language type of document. According to the example at: Oracle interMedia text reference the language code follows ISO 639-2. "eng" for English.

Specified by:
getSearchLanguage in interface Searchable


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