com.ptc.windchill.esi.tgt
Interface ESITargetFinder

All Known Implementing Classes:
ESITargetFinderImpl

public interface ESITargetFinder

Interface for obtaining ESITargets that are associated with Persistable objects.

Supported API: true

Extendable: true


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.
 

Method Detail

getTargetAssnsFromObjects

public 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 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 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