wt.change2
Interface FindChangeRequestDelegate

All Known Implementing Classes:
FindChangeRequestForAnalysisActivityDelegate, FindChangeRequestForChangeActivityDelegate, FindChangeRequestForChangeAnalysisDelegate, FindChangeRequestForChangeIssueDelegate, FindChangeRequestForChangeOrderDelegate, FindChangeRequestForWorkflowDelegate

public interface FindChangeRequestDelegate

Finds a ChangeRequestIfc based on some other object. The implementation of this interface is selected based on properties in section 10 of the change2.properties file. It also can set the HTML client state based on the ChangeRequestIfc and the object.

Supported API: true

Extendable: true

See Also:
Change2DelegateFactory

Method Summary
 ChangeRequestIfc findChangeRequest(Object ci)
          Finds the ChangeRequestIfc for an item of type Object.
 void setHtmlClientState(Object contextObj, ChangeRequestIfc cr, Properties formData, Properties parameters, Locale locale, OutputStream os)
          Handles marking the parent objects of the current object as expanded so they will appear expanded in the initial display of the change management form.
 

Method Detail

findChangeRequest

public ChangeRequestIfc findChangeRequest(Object ci)
                                   throws ChangeException2,
                                          WTException
Finds the ChangeRequestIfc for an item of type Object.

Supported API: true

Parameters:
ci -
Returns:
ChangeRequestIfc
Throws:
ChangeException2
WTException

setHtmlClientState

public void setHtmlClientState(Object contextObj,
                               ChangeRequestIfc cr,
                               Properties formData,
                               Properties parameters,
                               Locale locale,
                               OutputStream os)
                        throws WTException
Handles marking the parent objects of the current object as expanded so they will appear expanded in the initial display of the change management form.

Supported API: true

Parameters:
contextObj -
cr -
formData -
parameters -
locale -
os -
Throws:
WTException