com.ptc.windchill.esi.ecn
Class ESIChangeActivityFactory

java.lang.Object
  extended bycom.ptc.windchill.esi.ecn.ESIChangeActivityFactory

public class ESIChangeActivityFactory
extends Object

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

Supported API: true

Extendable: true


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
ESIChangeActivityFactory()
           
 
Method Summary
 WTChangeActivity2 create(WTChangeOrder2 changeOrder)
          Create and persist a new change activity associated with the argument.
protected  String getDescription()
          Return the description to be given to the new change activity.
protected  String getName()
          Return the name to be given to the new change activity.
 
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

ESIChangeActivityFactory

public ESIChangeActivityFactory()
Method Detail

create

public WTChangeActivity2 create(WTChangeOrder2 changeOrder)
                         throws ESIException
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

getName

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

protected 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