com.ptc.windchill.esi.ecn
Class ESIChangeRequestFactory

java.lang.Object
  extended bycom.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


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
ESIChangeRequestFactory()
           
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ESIChangeRequestFactory

public ESIChangeRequestFactory()
Method Detail

create

public WTChangeRequest2 create()
                        throws ESIException
Create and persist a new change request.

Supported API: true

Returns:
WTChangeRequest2
Throws:
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