com.ptc.windchill.esi.tgt
Class ESISimplePartTargetFinder

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

public final class ESISimplePartTargetFinder
extends ESITargetFinderImpl



Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class com.ptc.windchill.esi.tgt.ESITargetFinderImpl
 
Constructor Summary
ESISimplePartTargetFinder()
           
 
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 com.ptc.windchill.esi.tgt.ESITargetFinderImpl
getBase, getUtility, setBase, setUtility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

ESISimplePartTargetFinder

public ESISimplePartTargetFinder()
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