com.ptc.windchill.esi.tgt
Class ESIRootInheritTargetFinder
java.lang.Object
com.ptc.windchill.esi.tgt.ESITargetFinderImpl
com.ptc.windchill.esi.tgt.ESIRootInheritTargetFinder
- All Implemented Interfaces:
- ESITargetFinder
- public final class ESIRootInheritTargetFinder
- extends ESITargetFinderImpl
Supported API: true
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
VECTOR_SIZE_MULTIPLIER
private static final int VECTOR_SIZE_MULTIPLIER
ESIRootInheritTargetFinder
public ESIRootInheritTargetFinder()
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
getTargetAssociations
public final Collection getTargetAssociations(Persistable object)
throws WTException
- Returns the targets assigned to an object. If no targets are assigned
to the object, use the assignments of the base object.
Supported API: false
- Parameters:
object
- The object of interest.
- Returns:
- Collection
- Throws:
WTException
addBaseAssignments
private void addBaseAssignments(Vector result,
Persistable object,
Collection baseAssignments)
throws WTException
- Throws:
WTException