er.imadaptor.components
Class IMSearchMessageAction
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
er.imadaptor.components.IMAction
er.imadaptor.components.IMSearchMessageAction
public class IMSearchMessageAction
- extends IMAction
IMSearchMessageAction allows you to map substrings that appear in AIM message responses to other objects. For
instance, you can pass in an options dictionary that maps the word "hi" to the object Greeting, or the word "bug" to
the object BugReport. If the word "hi" appears in the aim response, it will return the matching 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 |
IMSearchMessageAction(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 |
IMSearchMessageAction
public IMSearchMessageAction(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.