Package com.ptc.windchill.esi.ecn
Class ESIChangeRequestFactory
java.lang.Object
com.ptc.windchill.esi.ecn.ESIChangeRequestFactory
This class is responsible for creating and persisting a change request.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncreate()Create and persist a new change request.create(Changeable2 item) Create and persist a new change request for the changeable.create(Changeable2 item, WTContainerRef wcRef) Create and persist a new change request for the changeable.protected CategoryReturn the category to be assigned to the new change request.protected ComplexityReturn the complexity to be assigned to the new change request.protected StringReturn the description to be given to the new change request.protected StringgetName()Return the name to be given to the new change request.protected RequestPriorityReturn the priority to be assigned to the new change request.
-
Method Details
-
create
Create and persist a new change request.
Supported API: true- Returns:
- WTChangeRequest2
- Throws:
ESIException
-
getName
Return the name to be given to the new change request. The value is localized from EsiResource.ESI_CHANGE_REQUEST_NAME.
Supported API: true- Returns:
- String
-
getDescription
Return the description to be given to the new change request. The value is localized from EsiResource.ESI_CHANGE_REQUEST_DESC.
Supported API: true- Returns:
- String
-
getPriority
Return the priority to be assigned to the new change request. Value is always RequestPriority.LOW.
Supported API: true- Returns:
- RequestPriority
-
getCategory
Return the category to be assigned to the new change request. Value is always Category.OTHER.
Supported API: true- Returns:
- Category
-
getComplexity
Return the complexity to be assigned to the new change request. Value is always Complexity.SIMPLE.
Supported API: true- Returns:
- Complexity
-
create
Create and persist a new change request for the changeable.
Supported API: true- Returns:
- WTChangeRequest2
- Throws:
ESIException
-
create
Create and persist a new change request for the changeable. Sets the container reference of created change activity to the input container reference.
Supported API: true- Parameters:
item- - Input changeable.wcRef- - The container reference that the change request would be associated with.- Returns:
- WTChangeRequest2 - Persisted change request object.
- Throws:
ESIException
-