wt.eff
Class ChangeActivityAddEffTaskDelegate

java.lang.Object
  extended bywt.templateutil.processor.FormTaskDelegate
      extended bywt.eff.AddEffTaskDelegate
          extended bywt.eff.ChangeActivityAddEffTaskDelegate
All Implemented Interfaces:
ContextHolder

public class ChangeActivityAddEffTaskDelegate
extends AddEffTaskDelegate



Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.eff.AddEffTaskDelegate
authorizedBy, effContext, effManagedVersion, VERBOSE
 
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
ChangeActivityAddEffTaskDelegate()
           
 
Method Summary
static void appendEffGroups(EffGroup[] eff_groups, ChangeActivityIfc change_activity)
          Adds the effectivity associated with the given EffGroup to all of the EffManagedVersions which are effected by the given Change Activity.
 ChangeActivityIfc getContextChangeActivityIfc()
          Returns the context ChangeActivityIfc for which effectivity is being added.
 void processAction(ContentHTTPStream contentStream)
          

Supported API: false
 
Methods inherited from class wt.eff.AddEffTaskDelegate
createEffGroup, getAuthorizedBy, getContextEffManagedVersion, getEffContext, getObjectFromReference, printHttpData, setContextEffManagedVersion
 
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
Constructor Detail

ChangeActivityAddEffTaskDelegate

public ChangeActivityAddEffTaskDelegate()
Method Detail

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 activity
change_activity - the change activity whose affected objects will have the given effectivity added.
Throws:
WTException