Class ESISimplePartTargetFinder

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

public final class ESISimplePartTargetFinder extends ESITargetFinderImpl
This class implements explicit assignment. It delegates all of its work to the ESITargetUtility class. Target finder finds the explicit assignments for an object by querying the database.

Supported API: true

Extendable: false
  • Method Details

    • getTargetAssnsFromObjects

      public final Collection<ESITargetAssociation> getTargetAssnsFromObjects(Collection<Persistable> objects) throws WTException
      Returns a Collection of ESITargetAssociation objects 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

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

      public final Collection<ESITargetAssociation> getTargetAssociations(Persistable object) throws WTException
      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