wt.prefs
Class AbstractPrefEntry

java.lang.Object
  extended by wt.prefs.AbstractPrefEntry
All Implemented Interfaces:
Externalizable, Serializable, wt.prefs.PrefEntry
Direct Known Subclasses:
FilePrefEntry

Deprecated.

public abstract class AbstractPrefEntry
extends Object
implements wt.prefs.PrefEntry, Externalizable



Supported API: true

Extendable: true

See Also:
Serialized Form

Method Summary
abstract  ArrayList search(String search, String[] contexts, boolean isLike)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

search

public abstract ArrayList search(String search,
                                 String[] contexts,
                                 boolean isLike)
                          throws WTException
Deprecated. 

This will search the Preference Entry for the search string. The string will be enclosed with '%' as a wildcard. Also '%' may appear elsewhere in the string indicating a wildcard. if two '%%' appear this represents an actual '%' character. This method should return an ArrayList of matching PrefSearch objects. If there are no items then the ArrayList should be empty but not null. PrefSearch API can be found in the Javadoc.

Supported API: true

Parameters:
search - The string to search for
contexts - The list of search contexts to use for the search.
isLike - Whether the search is a LIKE search or exact match
Returns:
ArrayList
Throws:
WTException