wt.csm.html.query
Class FuncEqSearchTaskDelegate

java.lang.Object
  extended bywt.templateutil.processor.FormTaskDelegate
      extended bywt.csm.html.query.FuncEqSearchTaskDelegate
All Implemented Interfaces:
ContextHolder, Serializable

public class FuncEqSearchTaskDelegate
extends FormTaskDelegate
implements Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private  String[] choices
           
private static String CLASSNAME
           
private static boolean debug
           
static String IBA_KEY
           
protected  ResourceBundle resource
           
private static String RESOURCE
           
 
Fields inherited from class wt.templateutil.processor.FormTaskDelegate
 
Fields inherited from interface wt.templateutil.processor.ContextHolder
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS
 
Constructor Summary
FuncEqSearchTaskDelegate()
           
 
Method Summary
private  AbstractQFElementValueView getCriteriaQFElement(AbstractValueView value, String range, String criteria)
           
private  DirectQueryTargetDefaultView getDirectTarget()
           
private  String getLocalizedString(String key, String default_value)
          Get the localized message from the resource bundle with the key
private  Object getObject(String id)
           
private  AbstractQFElementValueView getTimestampCriteriaQFElement(AbstractValueView value, String range, String criteria)
           
private  AbstractQFElementValueView getUnitCriteriaQFElement(AbstractValueView value, String range, String criteria)
           
 void processAction(ContentHTTPStream contentStream)
          Deprecated.  
private  void removeExistingIBAs()
           
 
Methods inherited from class wt.templateutil.processor.FormTaskDelegate
addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, deleteFormDataFromSession, getContextAction, getContextClassName, getContextObj, getContextProperties, getFormData, getQueryData, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getState, getStatus, saveFormDataInSession, setContextAction, setContextClassName, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, switchPages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

debug

private static final boolean debug

IBA_KEY

public static final String IBA_KEY
See Also:
Constant Field Values

resource

protected ResourceBundle resource

choices

private String[] choices
Constructor Detail

FuncEqSearchTaskDelegate

public FuncEqSearchTaskDelegate()
Method Detail

processAction

public void processAction(ContentHTTPStream contentStream)
                   throws Exception
Deprecated.  

Processed the desired action and then updates the state so that the desired response page can be generated.

Use the addToResponse methods to pass back messages on the status/results of the action.

Supported API: true

Specified by:
processAction in class FormTaskDelegate
Parameters:
contentStream -
Throws:
Exception

removeExistingIBAs

private void removeExistingIBAs()

getDirectTarget

private DirectQueryTargetDefaultView getDirectTarget()
                                              throws WTException
Throws:
WTException

getObject

private Object getObject(String id)
                  throws WTException
Throws:
WTException

getCriteriaQFElement

private AbstractQFElementValueView getCriteriaQFElement(AbstractValueView value,
                                                        String range,
                                                        String criteria)
                                                 throws WTException
Throws:
WTException

getTimestampCriteriaQFElement

private AbstractQFElementValueView getTimestampCriteriaQFElement(AbstractValueView value,
                                                                 String range,
                                                                 String criteria)
                                                          throws WTException
Throws:
WTException

getUnitCriteriaQFElement

private AbstractQFElementValueView getUnitCriteriaQFElement(AbstractValueView value,
                                                            String range,
                                                            String criteria)
                                                     throws WTException
Throws:
WTException

getLocalizedString

private String getLocalizedString(String key,
                                  String default_value)
Get the localized message from the resource bundle with the key

Parameters:
key - Key to the resource bundle
default_value - Used when any exception occurred
Returns:
Localized message from the resource bundle