|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.components.forms.DefaultObjectFormProcessorDelegate
com.ptc.windchill.enterprise.change2.forms.delegates.ChangeItemFormDelegate
public abstract class ChangeItemFormDelegate
A class for subprocessors that perform a database operation
on one or more objects. Typically used for the processing of a wizard.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
protected abstract Class |
getAssociationClass(ChangeItemIfc item)
Method to retrieve the associated class such as ReportedAgainst.class
for saving affected data for a Problem Report. |
protected com.ptc.core.ui.resources.ComponentMode |
getComponentMode()
Helper method to retrieve the component mode for the given processing session. |
protected abstract String |
getDefaultTableId()
Method to retrieve the default table ID used for table ID parameter lookups. |
protected abstract String |
getDelegateName()
Method to retrieve the delegate name used for table ID parameter lookups. |
protected abstract Vector |
getItemsToStoreForAssociation(List items)
Retrieval method for RelatedProductData links to get the list of items to store. |
protected static Object |
getReferenceValueFromMap(Map map,
Persistable persistable,
String post_fix)
Utility method to retrieve a value from a map using either the object or version reference of the object. |
protected static Object |
getReferenceValueFromMap(Map map,
Persistable persistable,
String pre_fix,
String post_fix)
Utility method to retrieve a value from a map using either the object or version reference of the object. |
protected String |
getTableId()
This method will return the valid table ID for the given table. |
FormResult |
postProcess(NmCommandBean clientData,
List<ObjectBean> objectBeans)
Method to process the data posted for the associated objects to the change item. |
protected abstract WTCollection |
processLinkAttributes(ChangeItemIfc item,
WTCollection binaryLinks)
Abstract method to process any link attributes associated with the table. |
| Methods inherited from class com.ptc.core.components.forms.DefaultObjectFormProcessorDelegate |
|---|
doOperation, postTransactionProcess, preProcess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected com.ptc.core.ui.resources.ComponentMode getComponentMode()
protected String getTableId()
getDelegateName() and getDefaultTableId()
used by this method.
com.ptc.windchill.enterprise.change2.forms.ChangeItemFormDelegate.getDelegateName(),
com.ptc.windchill.enterprise.change2.forms.ChangeItemFormDelegate.getDefaultTableId()protected abstract String getDelegateName()
protected abstract String getDefaultTableId()
protected abstract Class getAssociationClass(ChangeItemIfc item)
ReportedAgainst.class
for saving affected data for a Problem Report.
item - The Change object that the changeables getting associated to.
protected abstract Vector getItemsToStoreForAssociation(List items)
throws WTException
items - The current list of items that are displayed or hidden in the change table.
WTException
public FormResult postProcess(NmCommandBean clientData,
List<ObjectBean> objectBeans)
throws WTException
postProcess in interface ObjectFormProcessorDelegatepostProcess in class DefaultObjectFormProcessorDelegateclientData - The command beanobjectList - The list of current objects (must contain at least a change item)
WTException
protected abstract WTCollection processLinkAttributes(ChangeItemIfc item,
WTCollection binaryLinks)
throws WTException
item - The change itembinaryLinks - The collection of current binary links.
WTException
protected static Object getReferenceValueFromMap(Map map,
Persistable persistable,
String pre_fix,
String post_fix)
throws WTException
OR:wt.part.WTPart:22233_ApprovedQuantity
map - The map of changed valuespersistable - The persistable which to generate the references from.pre_fix - The string in from of the map key.post_fix - The terminating string from the map key (example "ApprovedQuantity")
WTException
protected static Object getReferenceValueFromMap(Map map,
Persistable persistable,
String post_fix)
throws WTException
OR:wt.part.WTPart:22233_ApprovedQuantity
map - The map of changed valuespersistable - The persistable which to generate the references from.post_fix - The terminating string from the map key (example "ApprovedQuantity")
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||