Package wt.notify
Class _NotifySubscriptionTarget
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.notify._NotifySubscriptionTarget
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,NetFactor,ObjectMappable,Persistable,DisplayIdentification
- Direct Known Subclasses:
NotifySubscriptionTarget
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIf a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values.static final StringThe event that is subscribed to for the target object.static final StringIf the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version.static final StringThe reference to the subscription target object.static final StringThe target object type subscribed to. -
Method Summary
Modifier and TypeMethodDescriptionIf a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values.getEvent()The event that is subscribed to for the target object.The target object type subscribed to.booleanIf the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version.voidsetAttributeValueMap(WTStringMap attributeValueMap) If a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values.voidThe event that is subscribed to for the target object.voidsetSubscribeAllVersions(boolean subscribeAllVersions) If the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version.voidsetTargetType(String targetType) The target object type subscribed to.Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
Field Details
-
EVENT
The event that is subscribed to for the target object. When the event occurs for the target this subscription fires.Supported API: true
-
TARGET_TYPE
The target object type subscribed to. Target object type only applies for subscription targets (the targetRef) that are folder objects or container objects.Supported API: true
-
TARGET_REF
The reference to the subscription target object. Three different types of references can be stored. If the target object isIterated, theObjectReferencewill reference aControlBranch. If the object isVersionedand thesubscribeAllVersionsattribure is true, theObjectReferencewill reference the target object'sMaster; ifsubscribeAllVersionsis false theObjectReferencewill reference aControlBranch. Otherwise, the reference will be to the target object itself.Supported API: true
-
ATTRIBUTE_VALUE_MAP
If a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values. This map maps String attribute names to their corresponding String value. When the subscribed to event occurs for the target object, the subscription won't fire unless these attributes and values match the current values for the target object's corresponding attributes. For example, a subscription could be created for a State Change where the target object's State attribute value has to be Released for the subscription to fire.Supported API: true
-
SUBSCRIBE_ALL_VERSIONS
If the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version. True means the subscription applies to all iterations of all versions. If notspecified, the default value is false.Supported API: true
-
-
Method Details
-
getEvent
The event that is subscribed to for the target object. When the event occurs for the target this subscription fires.Supported API: true
- See Also:
-
setEvent
The event that is subscribed to for the target object. When the event occurs for the target this subscription fires.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getTargetType
The target object type subscribed to. Target object type only applies for subscription targets (the targetRef) that are folder objects or container objects.Supported API: true
- See Also:
-
setTargetType
The target object type subscribed to. Target object type only applies for subscription targets (the targetRef) that are folder objects or container objects.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getAttributeValueMap
If a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values. This map maps String attribute names to their corresponding String value. When the subscribed to event occurs for the target object, the subscription won't fire unless these attributes and values match the current values for the target object's corresponding attributes. For example, a subscription could be created for a State Change where the target object's State attribute value has to be Released for the subscription to fire.Supported API: true
- See Also:
-
setAttributeValueMap
If a subscription is to apply only when the target object has one or more of its attributes set to a specific value, the attributeValueMap contains these attributes and their corresponding values. This map maps String attribute names to their corresponding String value. When the subscribed to event occurs for the target object, the subscription won't fire unless these attributes and values match the current values for the target object's corresponding attributes. For example, a subscription could be created for a State Change where the target object's State attribute value has to be Released for the subscription to fire.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
isSubscribeAllVersions
public boolean isSubscribeAllVersions()If the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version. True means the subscription applies to all iterations of all versions. If notspecified, the default value is false.Supported API: true
- See Also:
-
setSubscribeAllVersions
If the target object is a versioned object, indicates whether the subscription should apply to 1) all iterations of all versions or 2) only to iterations of a single version. True means the subscription applies to all iterations of all versions. If notspecified, the default value is false.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-