com.ptc.windchill.esi.tgt
Class ESIRootInheritTargetFinder

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

public final class ESIRootInheritTargetFinder
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.
If a persistable object has no target assignments, the assignments of the base object are returned for that persistable object.
 Collection getTargetAssnsFromObjects(Collection objects)
          Returns a Collection of ESITargetAssociations that are associated with the Persistables in the argument.
 
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. If the members of the collection have no assignment, use the assignments of the base object that was passed to the target finder by the initializer.

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.
If a persistable object has no target assignments, the assignments of the base object are returned for that persistable object.

Supported API: true

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