wt.eff
Class ChangeOrderAddEffTaskDelegate

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

public class ChangeOrderAddEffTaskDelegate
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
ChangeOrderAddEffTaskDelegate()
           
 
Method Summary
static void appendEffGroups(EffGroup[] eff_groups, ChangeOrderIfc change_order)
          Adds the effectivity associated with the given EffGroup to all of the EffManagedVersions which are effected by the given Change Order.
 ChangeOrderIfc getContextChangeOrderIfc()
          Returns the context ChangeOrderIfc 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

ChangeOrderAddEffTaskDelegate

public ChangeOrderAddEffTaskDelegate()
Method Detail

processAction

public void processAction(ContentHTTPStream contentStream)
                   throws Exception


Supported API: false

Overrides:
processAction in class AddEffTaskDelegate
Parameters:
contentStream -
Throws:
Exception

getContextChangeOrderIfc

public ChangeOrderIfc getContextChangeOrderIfc()
Returns the context ChangeOrderIfc for which effectivity is being added. If the context object for this task delegate is not a ChangeOrderIfc object, null is returned.

Returns:
the ChangeOrderIfc for which effectivity is being added

appendEffGroups

public static void appendEffGroups(EffGroup[] eff_groups,
                                   ChangeOrderIfc change_order)
                            throws WTException
Adds the effectivity associated with the given EffGroup to all of the EffManagedVersions which are effected by the given Change Order. This method will retrieve all EffManagedVersions from all of the Change Activities associated with the given Change Order 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 order
change_order - the change order whose affected objects will have the given effectivity added.
Throws:
WTException