wt.eff
Class SetEffTaskDelegate
java.lang.Object
wt.templateutil.processor.FormTaskDelegate
wt.eff.AddEffTaskDelegate
wt.eff.SetEffTaskDelegate
- All Implemented Interfaces:
- ContextHolder
- public class SetEffTaskDelegate
- extends AddEffTaskDelegate
Supported API: false
Extendable: false
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 |
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 |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
SetEffTaskDelegate
public SetEffTaskDelegate()
processAction
public void processAction(ContentHTTPStream contentStream)
throws Exception
Supported API: false
- Overrides:
processAction
in class AddEffTaskDelegate
- Parameters:
contentStream
-
- Throws:
Exception
getEffGroups
public static EffGroup[] getEffGroups(Properties eff_data)
throws WTException
- Returns an array of all existing and updated EffGroups associated
with the context EffManagedVersion object. This method returns
all EffGroups currently associated with the EffManagedVersion,
whether or not they were updated. The EffGroups are constructed
from values passed in the given Properties object.
- Throws:
WTException
replaceEffGroups
protected EffManagedVersion replaceEffGroups(EffGroup[] eff_groups,
EffGroup new_eff_group)
throws WTException
- Replaces the currently existing EffGroups associated with the
context EffManagedVersion with the new EffGroups passed in.
The given array of EffGroups contains the EffGroups which already
existed for the context EffManagedVersion. These EffGroups may
have been modified. The given EffGroup object is an optional
new EffGroup to be added to the EffManagedVersion.
- Parameters:
eff_groups
- the EffGroups currently associated with the
context EffManagedVersion - they may have
had their range values modifiednew_eff_group
- an optional EffGroup to be added as a new
EffGroup to the context EffManagedVersion
- Returns:
- the update EffManagedVersion
- Throws:
WTException