Package wt.businessRules
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
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
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:
-
Field Summary
Fields inherited from class wt.businessRules._BusinessRuleSet
OVERRIDABLEFields inherited from class wt.businessRules._BusinessRuleObject
DESCRIPTION, ENABLED, NAME, UNIQUE_KEY -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessRuleSetnewBusinessRuleSet(String key) Create a instance of theBusinessRuleSetobject that will hold the attributes information.static BusinessRuleSetnewBusinessRuleSet(String name, String key, boolean enabled, boolean overridable) Create a instance of theBusinessRuleSetobject that will hold the attributes information.Methods inherited from class wt.businessRules._BusinessRuleSet
isOverridable, setOverridableMethods inherited from class wt.businessRules._BusinessRuleObject
getUniqueKey, isEnabled, setDescription, setEnabled, setName, setUniqueKeyMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
newBusinessRuleSet
public static BusinessRuleSet newBusinessRuleSet(String name, String key, boolean enabled, boolean overridable) throws WTException Create a instance of theBusinessRuleSetobject that will hold the attributes information.
Supported API: true- Parameters:
name-key-enabled-overridable-- Returns:
- Throws:
WTException
-
newBusinessRuleSet
Create a instance of theBusinessRuleSetobject 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
-