Class BusinessRuleSet

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.businessRules._BusinessRuleObject
wt.businessRules.BusinessRuleObject
wt.businessRules._BusinessRuleSet
wt.businessRules.BusinessRuleSet
All Implemented Interfaces:
com.ptc.windchill.bac._BACManaged, com.ptc.windchill.bac.BACManaged, Externalizable, Serializable, wt.access._AccessControlled, wt.access._PolicyAccessControlled, wt.access._SecurityLabeled, AccessControlled, wt.access.PolicyAccessControlled, SecurityLabeled, wt.admin._DomainAdministered, DomainAdministered, wt.businessRules.BusinessRuleObjectIfc, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.adminlock._AdministrativelyLockable, AdministrativelyLockable, wt.fc.BusinessInformation, NetFactor, ObjectMappable, Persistable, DisplayIdentification, wt.inf.container._WTContained, WTContained, wt.notify._Notifiable, Notifiable, wt.recent.RecentlyVisited

@GenAsPersistable(superClass=wt.businessRules.BusinessRuleObject.class, extendable=true, properties=@GeneratedProperty(name="overridable",type=boolean.class,initialValue="true",supportedAPI=PUBLIC,javaDoc="Flag that indicates if the rule set can be over ridden at a container below in the hierarchy. Used to support the hierarchical look up.",constraints=@PropertyConstraints(required=true))) public class BusinessRuleSet extends _BusinessRuleSet
A business object that will hold the information about the set of business rules to be executed for a container. A Rule is a business object that will be linked to the RuleSet using a binary link BusinessRuleLink. The key should be unique across a container. The rules executed by the business rules engine will be calculated based on the rule set key. The rules engine will be responsible for the execution of the configured business rules and returning the results.
A typical example of the rule set key would be "CHANGE_RELEASE_VALIDATION" that will be mapped to different rules object
Supported API: true

Extendable: false
See Also:
  • Method Details

    • newBusinessRuleSet

      public static BusinessRuleSet newBusinessRuleSet(String name, String key, boolean enabled, boolean overridable) throws WTException
      Create a instance of the BusinessRuleSet object that will hold the attributes information.

      Supported API: true
      Parameters:
      name -
      key -
      enabled -
      overridable -
      Returns:
      Throws:
      WTException
    • newBusinessRuleSet

      public static BusinessRuleSet newBusinessRuleSet(String key) throws WTException
      Create a instance of the BusinessRuleSet object that will hold the attributes information. The enabled flag will be set to true while as the the overridable attribute will be true. Attribute name will be set to null.

      Supported API: true
      Parameters:
      name -
      key -
      enabled -
      overridable -
      Returns:
      Throws:
      WTException