|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.ecn.ESIStandardECNFactory
This class is the default implementation of ESIECNFactory.
It auto-generates a Windchill change order when change processing is
not being used in the Windchill environment, but change processing is
required by the target ERP system.
Supported API: true
Extendable: true
Field Summary | |
protected static ESIPropertyRequest |
CHANGE_ACTIVITY_FACTORY
|
protected static ESIPropertyRequest |
CHANGE_ORDER_FACTORY
|
protected static ESIPropertyRequest |
CHANGE_REQUEST_FACTORY
|
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
ESIStandardECNFactory()
|
Method Summary | |
protected void |
associateChangeableToChangeActivity(ChangeActivity2 changeActivity,
Changeable2 item)
Persist the association between given change activity and given changeable. |
WTChangeOrder2 |
createChangeOrder(Changeable2 item)
Creates change request, change order, change activity, and associates the argument to the change activity. Obtains an instance of WTChangeRequest2 from an instance of ESIChangeRequestFactory. Obtains an instance of WTChangeOrder2 from an instance of ESIChangeOrderFactory. Obtains an instance of WTChangeActivity2 from an instance of ESIChangeActivityFactory. Invokes associateChangeableToChangeActivity() Supported API: true |
protected ESIChangeActivityFactory |
getChangeActivityFactory()
Return an object capable of creating change activities. |
protected ESIChangeOrderFactory |
getChangeOrderFactory()
Return an object capable of creating change orders. |
protected ESIChangeRequestFactory |
getChangeRequestFactory()
Return an object capable of creating change requests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
protected static final ESIPropertyRequest CHANGE_REQUEST_FACTORY
protected static final ESIPropertyRequest CHANGE_ORDER_FACTORY
protected static final ESIPropertyRequest CHANGE_ACTIVITY_FACTORY
Constructor Detail |
public ESIStandardECNFactory()
Method Detail |
protected void associateChangeableToChangeActivity(ChangeActivity2 changeActivity, Changeable2 item) throws WTException, ChangeException2
changeActivity
- item
-
WTException
ChangeException2
protected ESIChangeRequestFactory getChangeRequestFactory()
protected ESIChangeOrderFactory getChangeOrderFactory()
protected ESIChangeActivityFactory getChangeActivityFactory()
public WTChangeOrder2 createChangeOrder(Changeable2 item) throws ESIException
createChangeOrder
in interface ESIECNFactory
item
- The object to be wrapped in an ECN.
ESIException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |