er.imadaptor.components
Class IMSearchOptionsAction
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
er.imadaptor.components.IMAction
er.imadaptor.components.IMSearchOptionsAction
public class IMSearchOptionsAction
- extends IMAction
IMSearchOptionsAction allows you to search your options for the AIM response that is received. For instance, you can
pass in an options dictionary that maps the word "Company XYZ" to the object CompanyXYZ, or the word "Company ABC" to
the object CompanyABC. If the word "XYZ" is aimed, it will return the matching CompanyXYZ object as its value.
You can optionally set quicksilver to true if you want string matching to behave like Quicksilver.
- Author:
- mschrag
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
IMSearchOptionsAction(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement element)
|
Method Summary |
protected void |
actionInvoked(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
|
protected boolean |
searchInsideMessage()
|
static com.webobjects.foundation.NSArray |
selectedValues(com.webobjects.foundation.NSArray options,
java.lang.String optionKeyPath,
boolean quicksilver,
java.lang.String message)
|
static com.webobjects.foundation.NSArray |
selectedValues(com.webobjects.foundation.NSArray options,
java.lang.String optionKeyPath,
boolean quicksilver,
java.lang.String message,
boolean searchInsideMessage)
|
static com.webobjects.foundation.NSArray |
selectedValues(com.webobjects.foundation.NSDictionary options,
boolean quicksilver,
java.lang.String message)
|
static com.webobjects.foundation.NSArray |
selectedValues(com.webobjects.foundation.NSDictionary options,
boolean quicksilver,
java.lang.String message,
boolean searchInsideMessage)
|
Methods inherited from class com.webobjects.appserver.WODynamicElement |
toString |
Methods inherited from class com.webobjects.appserver.WOElement |
takeValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IMSearchOptionsAction
public IMSearchOptionsAction(java.lang.String name,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement element)
searchInsideMessage
protected boolean searchInsideMessage()
selectedValues
public static com.webobjects.foundation.NSArray selectedValues(com.webobjects.foundation.NSDictionary options,
boolean quicksilver,
java.lang.String message)
selectedValues
public static com.webobjects.foundation.NSArray selectedValues(com.webobjects.foundation.NSArray options,
java.lang.String optionKeyPath,
boolean quicksilver,
java.lang.String message)
selectedValues
public static com.webobjects.foundation.NSArray selectedValues(com.webobjects.foundation.NSDictionary options,
boolean quicksilver,
java.lang.String message,
boolean searchInsideMessage)
selectedValues
public static com.webobjects.foundation.NSArray selectedValues(com.webobjects.foundation.NSArray options,
java.lang.String optionKeyPath,
boolean quicksilver,
java.lang.String message,
boolean searchInsideMessage)
actionInvoked
protected void actionInvoked(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
- Overrides:
actionInvoked
in class IMAction
Copyright © 2002 – 2007 Project Wonder.