com.ptc.windchill.esi.tgt
Class ESISimplePartTargetFinder

java.lang.Object
  extended by com.ptc.windchill.esi.tgt.ESITargetFinderImpl
      extended by com.ptc.windchill.esi.tgt.ESISimplePartTargetFinder
All Implemented Interfaces:
ESITargetFinder

public final class ESISimplePartTargetFinder
extends ESITargetFinderImpl



Supported API: true

Extendable: false


Method Summary
 Collection getTargetAssnsFromAssns(Collection assns)
          Given a collection of ESITargetAssociations, eturns a Collection of ESITargetAssociations, The returned objecs are the persisted versions that are associated with the Persistable objects contained in the ESITargetAssociation objects in the argument.
 Collection getTargetAssnsFromObjects(Collection objects)
          Returns a Collection of ESITargetAssociations that are associated with the Persistables in the argument.
 Collection getTargetAssociations(Persistable object)
          Returns the targets assigned to an object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTargetAssnsFromObjects

public final Collection getTargetAssnsFromObjects(Collection objects)
                                           throws WTException
Returns a Collection of ESITargetAssociations that are associated with the Persistables in the argument.

Supported API: true

Parameters:
objects - A collection of Persistable objects.
Returns:
Collection
Throws:
WTException

getTargetAssnsFromAssns

public final Collection getTargetAssnsFromAssns(Collection assns)
                                         throws WTException
Given a collection of ESITargetAssociations, eturns a Collection of ESITargetAssociations, The returned objecs are the persisted versions that are associated with the Persistable objects contained in the ESITargetAssociation objects in the argument.

Supported API: true

Parameters:
assns - A collection of ESITargetAssociations.
Returns:
Collection
Throws:
WTException

getTargetAssociations

public final Collection getTargetAssociations(Persistable object)
                                       throws WTException
Returns the targets assigned to an object.

Supported API: true

Parameters:
object - The object of interest.
Returns:
Collection
Throws:
WTException