Interface BusinessRuleSetRelationshipDelegate
- All Known Implementing Classes:
AffectedObjectsRelationshipDelegate,ESIPartRelationshipDelegate,IncludedInRelationshipDelegate,MaturityBaselineObjectsRelationshipDelegate,PromotionSeedObjectsRelationshipDelegate,PromotionTargetObjectsRelationshipDelegate,ResultingObjectsRelationshipDelegate
public interface BusinessRuleSetRelationshipDelegate
The relationship delegate is used to get the target objects for a primary
business object that is to be evaluated for a particular business rule set.
Relationship delegates are registered in service.properties. The following is an example of a delegate for getting the resulting objects for a primary object:
Supported API: true
Extendable: true
Relationship delegates are registered in service.properties. The following is an example of a delegate for getting the resulting objects for a primary object:
invalid input: '<Service' context="default" name="com.ptc.core.businessRules.relationship.BusinessRuleSetRelationshipDelegate"invalid input: '>' invalid input: '<Option' serviceClass="com.ptc.core.businessRules.relationship.ResultingObjectsRelationshipDelegate" selector="wt.change2.ChangeRecord2" cardinality="singleton" requestor="null"/invalid input: '>'The selector is the relationship key which is used lookup the relationship delegate instance. The relationship key naming convention is to use the link class name but is not a requirement. See
BusinessRuleSetBean for
details on how to specify the relationship for a business rule set and
current supported relationship delegates.
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptiongetTargetObjects(Object primaryBusinessObject) Returns the target objects the given primary business object.
-
Method Details
-
getTargetObjects
Returns the target objects the given primary business object.
Supported API: true- Parameters:
primaryBusinessObject-- Returns:
- target objects
- Throws:
WTException
-