|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.components.forms.DefaultObjectFormProcessor
com.ptc.core.components.forms.EditObjectFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor
com.ptc.windchill.enterprise.change2.forms.processors.EditChangeTaskFormProcessor
public class EditChangeTaskFormProcessor
Processor class that performs database operations on Change Task objects. This class is used for
saving the data in the edit Change Task wizards. This class is designed to handle existing
wt.change2.WTChangeActivity2 or any sub-types.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
protected LocalizableMessage |
getProcessorErrorMessage()
The purpose of this method is to handle error messaging that is unique to the change tasks. |
FormResult |
preProcess(NmCommandBean clientData,
List<ObjectBean> objectBeanList)
Gets and initailizes the Change Notice from the wizard form data by calling super. |
protected WTList |
saveChangeItem(WTList changeItems)
The purpose of this method is to handle persistance for change tasks. |
| Methods inherited from class com.ptc.windchill.enterprise.change2.forms.processors.EditChangeItemFormProcessor |
|---|
doOperation, postProcess, setResultNextAction |
| Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessor |
|---|
continueProcessing, getDelegates, mergeIntermediateResult, postTransactionProcess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public FormResult preProcess(NmCommandBean clientData,
List<ObjectBean> objectBeanList)
throws WTException
preProcess in interface ObjectFormProcessorpreProcess in class EditChangeItemFormProcessorclientData - The original wizard form data. This in general should not be used to get wizard form
data. The wizard form data should be retrieved from each ObjectBean in the
ObjectBean list that is passed in.objectBeans - The List of object beans that have been initialized with the appropriate wizard from data for
each individual ObjectBean.
WTException - is thrown if initailizing the change object failsEditChangeItemFormProcessor#preProcess(NmCommandBean, List)}protected LocalizableMessage getProcessorErrorMessage()
getProcessorErrorMessage in class EditChangeItemFormProcessor
protected WTList saveChangeItem(WTList changeItems)
throws WTException
saveChangeActivities method. The order of the list
of change tasks needs to be maintained and return in the same order.
saveChangeItem in class EditChangeItemFormProcessorchangeItems - The list of change tasks to be persisted.
WTException - is thrown if saving the change tasks fail.wt.change2.ChangeService2#saveChangeActivities(WTKeyedHashMap)}
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||