Package com.ptc.windchill.esi.tgt
Interface ESITargetFinder
- All Known Implementing Classes:
ESIRootInheritTargetFinder,ESISimplePartTargetFinder,ESITargetFinderImpl
public interface ESITargetFinder
Interface for obtaining ESITargets that are associated with Persistable objects.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionGiven a collection of ESITargetAssociations, returns a Collection of ESITargetAssociations, The returned objects are the persisted versions that are associated with the Persistable objects contained in the ESITargetAssociation objects in the argument.getTargetAssnsFromObjects(Collection<Persistable> objects) Returns a Collection of ESITargetAssociations that are associated with the specified Persistables in the argument.getTargetAssociations(Persistable object) Returns the targets assigned to an object.
-
Method Details
-
getTargetAssnsFromObjects
Collection<ESITargetAssociation> getTargetAssnsFromObjects(Collection<Persistable> objects) throws WTException Returns a Collection of ESITargetAssociations that are associated with the specified Persistables in the argument.
Supported API: true- Parameters:
objects- A collection of Persistable objects.- Returns:
- A collection ESITargetAssociations that are associated with the specified Persistables.
- Throws:
WTException
-
getTargetAssnsFromAssns
Collection<ESITargetAssociation> getTargetAssnsFromAssns(Collection<ESITargetAssociation> assns) throws WTException Given a collection of ESITargetAssociations, returns a Collection of ESITargetAssociations, The returned objects 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:
- A collection of ESITargetAssociations which are the persisted versions that are associated with the Persistable objects contained in the ESITargetAssociation objects in the argument.
- Throws:
WTException
-
getTargetAssociations
Returns the targets assigned to an object.
Supported API: true- Parameters:
object- The object of interest.- Returns:
- A collection of targets in the form of ESITargetAssociations.
- Throws:
WTException
-