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
EXTERNALIZATION_VERSION_UID, OVERRIDABLEFields inherited from class wt.businessRules._BusinessRuleObject
DESCRIPTION, ENABLED, NAME, UNIQUE_KEYFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
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
getClassInfo, getConceptualClassname, getType, isOverridable, readExternal, readExternal, readVersion, setOverridable, super_readExternal_BusinessRuleSet, super_readVersion_BusinessRuleSet, super_writeExternal_BusinessRuleSet, writeExternal, writeExternalMethods inherited from class wt.businessRules.BusinessRuleObject
getDescription, getDescription, getInternalDescription, getInternalName, getName, getNameMethods inherited from class wt.businessRules._BusinessRuleObject
getContainer, getContainerName, getContainerReference, getUniqueKey, isEnabled, readVersion, setContainer, setContainerReference, setDescription, setEnabled, setName, setUniqueKey, super_readExternal_BusinessRuleObject, super_readVersion_BusinessRuleObject, super_writeExternal_BusinessRuleObjectMethods inherited from class wt.enterprise.Simple
getBusinessType, getIdentity, initializeMethods inherited from class wt.enterprise._Simple
getAdministrativeLock, getDomainRef, getEventSet, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setEventSet, setInheritedDomain, setSecurityLabels, super_readExternal_Simple, super_readVersion_Simple, super_writeExternal_SimpleMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
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:
key-name-enabled-overridable-- Returns:
- Throws:
WTException
-