com.arsdigita.search.intermedia
Class SearchableObserver

java.lang.Object
  extended bycom.arsdigita.search.intermedia.SearchableObserver
All Implemented Interfaces:
DomainObjectObserver
Direct Known Subclasses:
SearchableObserver

Deprecated. use MetadataProvider instead of Searchable

public class SearchableObserver
extends Object
implements DomainObjectObserver

Using this class is no longer required, it will be removed in a future release. A global observer checks to see if you implement Searchable, or prefereably have registered a MetadataProvider adapter

See Also:
MetadataProvider

Field Summary
static String versionId
          Deprecated.  
 
Constructor Summary
SearchableObserver(Searchable searchableObject)
          Deprecated. Constructor.
 
Method Summary
 void add(DomainObject dobj, String name, DataObject dataObject)
          Deprecated. Callback for an add operation on the observed DomainObject
 void afterDelete(DomainObject dobj)
          Deprecated. Callback after a delete operation on the observed DomainObject
 void afterSave(DomainObject dobj)
          Deprecated. Callback after a save operation on the observed DomainObject
 void beforeDelete(DomainObject dobj)
          Deprecated. Callback before a delete operation on the observed DomainObject
 void beforeSave(DomainObject dobj)
          Deprecated. Callback before a save operation on the observed DomainObject
 void clear(DomainObject dobj, String name)
          Deprecated. Callback for a clear operation on the observed DomainObject
 void remove(DomainObject dobj, String name, DataObject dataObject)
          Deprecated. Callback for a remove operation on the observed DomainObject
 void set(DomainObject dobj, String name, Object old_value, Object new_value)
          Deprecated. Callback for a set operation on the observed DomainObject
 
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
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SearchableObserver

public SearchableObserver(Searchable searchableObject)
Deprecated. 
Constructor. Makes sure that only objects that implement Searchable use this observer.

Method Detail

set

public void set(DomainObject dobj,
                String name,
                Object old_value,
                Object new_value)
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback for a set operation on the observed DomainObject

Specified by:
set in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
name - the name of the parameter being set
old_value - the old value of the parameter being set
new_value - the old value of the parameter being set

add

public void add(DomainObject dobj,
                String name,
                DataObject dataObject)
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback for an add operation on the observed DomainObject

Specified by:
add in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
name - the name of the parameter being set

remove

public void remove(DomainObject dobj,
                   String name,
                   DataObject dataObject)
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback for a remove operation on the observed DomainObject

Specified by:
remove in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
name - the name of the parameter being set

clear

public void clear(DomainObject dobj,
                  String name)
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback for a clear operation on the observed DomainObject

Specified by:
clear in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
name - the name of the parameter being set

beforeSave

public void beforeSave(DomainObject dobj)
                throws PersistenceException
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback before a save operation on the observed DomainObject

Specified by:
beforeSave in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
Throws:
PersistenceException

afterSave

public void afterSave(DomainObject dobj)
               throws PersistenceException
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback after a save operation on the observed DomainObject

Specified by:
afterSave in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
Throws:
PersistenceException

beforeDelete

public void beforeDelete(DomainObject dobj)
                  throws PersistenceException
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback before a delete operation on the observed DomainObject

Specified by:
beforeDelete in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
Throws:
PersistenceException

afterDelete

public void afterDelete(DomainObject dobj)
                 throws PersistenceException
Deprecated. 
Description copied from interface: DomainObjectObserver
Callback after a delete operation on the observed DomainObject

Specified by:
afterDelete in interface DomainObjectObserver
Parameters:
dobj - the observed domain object
Throws:
PersistenceException


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