com.ptc.windchill.esi.ecn
Class ESIChangeRequestFactory

java.lang.Object
  extended by com.ptc.windchill.esi.ecn.ESIChangeRequestFactory

public class ESIChangeRequestFactory
extends Object

This class is responsible for creating and persisting a change request.

Supported API: true

Extendable: true


Method Summary
 WTChangeRequest2 create()
          Create and persist a new change request.
protected  Category getCategory()
          Return the category to be assigned to the new change request.
protected  Complexity getComplexity()
          Return the complexity to be assigned to the new change request.
protected  String getDescription()
          Return the description to be given to the new change request.
protected  String getName()
          Return the name to be given to the new change request.
protected  RequestPriority getPriority()
          Return the priority to be assigned to the new change request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public WTChangeRequest2 create()
                        throws com.ptc.windchill.esi.utl.ESIException
Create and persist a new change request.

Supported API: true

Returns:
WTChangeRequest2
Throws:
com.ptc.windchill.esi.utl.ESIException

getName

protected String 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

protected 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

protected RequestPriority getPriority()
Return the priority to be assigned to the new change request. Value is always RequestPriority.LOW.

Supported API: true

Returns:
RequestPriority

getCategory

protected Category getCategory()
Return the category to be assigned to the new change request. Value is always Category.OTHER.

Supported API: true

Returns:
Category

getComplexity

protected Complexity getComplexity()
Return the complexity to be assigned to the new change request. Value is always Complexity.SIMPLE.

Supported API: true

Returns:
Complexity