Class CheckoutRuleValidator

java.lang.Object
com.ptc.core.businessRules.validation.CheckoutRuleValidator
All Implemented Interfaces:
RuleValidation

public class CheckoutRuleValidator extends Object implements RuleValidation
This class is a validator configured to execute with the BusinessRules engine. As such, it extends RuleValidation.

This class validates whether or not a set of workable objects has checkouts. This validator will return RuleValidationStatus.SUCCESS if no objects are checked out. It will return RuleValidationStatus.FAILURE if there is at least one object checked out. This can be invoked by calling the business rules engine:

BusinessRulesHelper.engine.execute("CHANGEABLE_PRE_RELEASE", criteria);



Supported API: true

Extendable: true