Project Wonder 5.0

er.imadaptor.components
Class IMSearchOptionsAction

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.imadaptor.components.IMAction
              extended by 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

Field Summary
 
Fields inherited from class er.imadaptor.components.IMAction
_action
 
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 er.imadaptor.components.IMAction
appendToResponse, invokeAction
 
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
 

Constructor Detail

IMSearchOptionsAction

public IMSearchOptionsAction(java.lang.String name,
                             com.webobjects.foundation.NSDictionary associations,
                             com.webobjects.appserver.WOElement element)
Method Detail

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

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.