Package com.ptc.windchill.esi.ecn
Class ESIChangeActivityFactory
java.lang.Object
com.ptc.windchill.esi.ecn.ESIChangeActivityFactory
This class is responsible for creating and persisting a change activity.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncreate(WTChangeOrder2 changeOrder) Create and persist a new change activity associated with the argument.create(WTChangeOrder2 changeOrder, WTContainerRef wcRef) Create and persist a new change activity associated with the given change order.protected StringReturn the description to be given to the new change activity.protected StringgetName()Return the name to be given to the new change activity.
-
Method Details
-
create
Create and persist a new change activity associated with the argument.
Supported API: true- Parameters:
changeOrder- The change order that the new change activity will be associated with,- Returns:
- WTChangeActivity2
- Throws:
ESIException
-
create
public WTChangeActivity2 create(WTChangeOrder2 changeOrder, WTContainerRef wcRef) throws ESIException Create and persist a new change activity associated with the given change order. Sets the container reference of created change activity to the input container reference.
Supported API: true- Parameters:
changeOrder- - The change order that the new change activity will be associated with.wcRef- - The container reference that the change activity would be associated with.- Returns:
- WTChangeActivity2 - Persisted change activity object.
- Throws:
ESIException
-
getName
Return the name to be given to the new change activity. The value is localized from EsiResource.ESI_CHANGE_ACTIVITY_NAME.
Supported API: true- Returns:
- String
-
getDescription
Return the description to be given to the new change activity. The value is localized from EsiResource.ESI_CHANGE_ACTIVITY_DESC.
Supported API: true- Returns:
- String
-