Package com.ptc.windchill.esi.ecn
Class ESIChangeOrderFactory
java.lang.Object
com.ptc.windchill.esi.ecn.ESIChangeOrderFactory
This class is responsible for creating and persisting a change order.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncreate(WTChangeRequest2 changeRequest) Create and persist a new change order and associate it with the input change request if it is not null.create(WTChangeRequest2 changeRequest, WTContainerRef wcRef) Create and persist a new change order and associate it with the input change request if it is not null.protected StringReturn the description to be given to the new change order.The value is localized from EsiResource.ESI_CHANGE_ORDER_DESC.protected StringgetName()Return the name to be given to the new change order.
-
Method Details
-
create
Create and persist a new change order and associate it with the input change request if it is not null.
Supported API: true- Parameters:
changeRequest- The change request that initiated the to-be-created change order.- Returns:
- WTChangeOrder2
- Throws:
ESIException
-
getName
Return the name to be given to the new change order. The value is localized from EsiResource.ESI_CHANGE_ORDER_NAME.
Supported API: true- Returns:
- String
-
getDescription
Return the description to be given to the new change order.The value is localized from EsiResource.ESI_CHANGE_ORDER_DESC.
Supported API: true- Returns:
- String
-
create
public WTChangeOrder2 create(WTChangeRequest2 changeRequest, WTContainerRef wcRef) throws ESIException Create and persist a new change order and associate it with the input change request if it is not null.
Supported API: true- Parameters:
changeRequest- The change request that initiated the to-be-created change order.wcRef- The conatiner ref , to which the order would be associated with.- Returns:
- WTChangeOrder2
- Throws:
ESIException
-