com.ptc.windchill.esi.ecn
Class ESIChangeOrgFinder

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

public final class ESIChangeOrgFinder
extends Object

Provides methods to get a collection of targets for ECN objects.

Supported API: true

Extendable: false


Nested Class Summary
private  class ESIChangeOrgFinder.OrganizationKey
           
 
Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
private  ESITargetUtility targetUtility
           
 
Constructor Summary
ESIChangeOrgFinder()
           
 
Method Summary
 Collection getTargets(Collection parts)
          Return a collection of ESITargets that are associated with the objects contained by the argument.
 Collection getTargets(Persistable persistable)
          Return a collection of ESI targets associated with the argument.
 Collection getTargets(WTChangeActivity2 changeActivity)
          Return a collection of ESITargets that are associated with the changeable objects contained by the argument.
 Collection getTargets(WTChangeOrder2 changeOrder)
          Return a collection of ESITargets that are associated with the changeable objects contained by the argument.
private static Set getTargetsFromAssociations(Collection targetAssns)
           
private  Collection getTargetsFromQueryResult(QueryResult qr)
           
 
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

targetUtility

private ESITargetUtility targetUtility
Constructor Detail

ESIChangeOrgFinder

public ESIChangeOrgFinder()
Method Detail

getTargets

public Collection getTargets(Persistable persistable)
                      throws WTException
Return a collection of ESI targets associated with the argument. Each target appears only once in the collection.

Supported API: true

Parameters:
persistable -
Returns:
Collection
Throws:
WTException

getTargets

public Collection getTargets(Collection parts)
                      throws WTException
Return a collection of ESITargets that are associated with the objects contained by the argument. Each target appears only once in the collection.

Supported API: true

Parameters:
parts -
Returns:
Collection
Throws:
WTException

getTargets

public Collection getTargets(WTChangeOrder2 changeOrder)
                      throws ESIRendererException
Return a collection of ESITargets that are associated with the changeable objects contained by the argument. Each target appears only once in the collection.

Supported API: true

Parameters:
changeOrder -
Returns:
Collection
Throws:
ESIRendererException

getTargets

public Collection getTargets(WTChangeActivity2 changeActivity)
                      throws ESIRendererException
Return a collection of ESITargets that are associated with the changeable objects contained by the argument. Each target appears only once in the collection.

Supported API: true

Parameters:
changeActivity -
Returns:
Collection
Throws:
ESIRendererException

getTargetsFromAssociations

private static Set getTargetsFromAssociations(Collection targetAssns)

getTargetsFromQueryResult

private Collection getTargetsFromQueryResult(QueryResult qr)
                                      throws ESIRendererException
Throws:
ESIRendererException