wt.eff
Class ChangeActivityAddEffTaskDelegate
java.lang.Object
wt.templateutil.processor.FormTaskDelegate
wt.eff.AddEffTaskDelegate
wt.eff.ChangeActivityAddEffTaskDelegate
- All Implemented Interfaces:
- ContextHolder
- public class ChangeActivityAddEffTaskDelegate
- 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
ChangeActivityAddEffTaskDelegate
public ChangeActivityAddEffTaskDelegate()
processAction
public void processAction(ContentHTTPStream contentStream)
throws Exception
Supported API: false
- Overrides:
processAction
in class AddEffTaskDelegate
- Parameters:
contentStream
-
- Throws:
Exception
getContextChangeActivityIfc
public ChangeActivityIfc getContextChangeActivityIfc()
- Returns the context ChangeActivityIfc for which effectivity is being
added. If the context object for this task delegate is not a
ChangeActivityIfc object, null is returned.
- Returns:
- the ChangeActivityIfc for which effectivity is being added
appendEffGroups
public static void appendEffGroups(EffGroup[] eff_groups,
ChangeActivityIfc change_activity)
throws WTException
- Adds the effectivity associated with the given EffGroup to
all of the EffManagedVersions which are effected by the
given Change Activity. This method will retrieve all
EffManagedVersions from the given Change Activity and will
set the given effectivity against all of those
EffManagedVersions.
- Parameters:
eff_groups
- an Array of EffGroups to add to the
EffManagedVersions associated with the
given change activitychange_activity
- the change activity whose affected objects
will have the given effectivity added.
- Throws:
WTException