Package wt.notify
Class _NotificationSubscription
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.notify._NotificationSubscription
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.ownership._Ownable,wt.ownership.Ownable,wt.type._TypeManaged,wt.type.TypeManaged
- Direct Known Subclasses:
NotificationSubscription
public abstract class _NotificationSubscription
extends WTObject
implements AdHocControlled, wt.ownership.Ownable, wt.access.PolicyAccessControlled, SecurityLabeled, wt.type.TypeManaged, Externalizable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe expiration time for this subscription.static final StringAn integer constant to indicate what should be used for the email From user when sending a notification email for this subscription.static final StringAdditional message text to include in any notification emails sent for this subscription.static final StringThe subscription name.static final StringNotification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent.static final StringThe email subject to include in any notification emails sent for this subscription.Fields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields 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_VALUE -
Method Summary
Modifier and TypeMethodDescriptionThe expiration time for this subscription.intAn integer constant to indicate what should be used for the email From user when sending a notification email for this subscription.Additional message text to include in any notification emails sent for this subscription.getName()The subscription name.The email subject to include in any notification emails sent for this subscription.booleanNotification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent.voidsetExpirationTime(Timestamp expirationTime) The expiration time for this subscription.voidsetFromUser(int fromUser) An integer constant to indicate what should be used for the email From user when sending a notification email for this subscription.voidsetMessage(String message) Additional message text to include in any notification emails sent for this subscription.voidThe subscription name.voidsetSendImmediate(boolean sendImmediate) Notification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent.voidsetSubject(String subject) The email subject to include in any notification emails sent for this subscription.Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initialize, 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
-
Field Details
-
NAME
The subscription name. Subscriptions are not required to have names. This optional attribute is provided in case users want to specify a meaningful name for a subscription.Supported API: true
- See Also:
-
FROM_USER
An integer constant to indicate what should be used for the email From user when sending a notification email for this subscription. Possible values are:- NotificationSubscription.INITIATOR_FROM_USER,
- NotificationSubscription.OWNER_FROM_USER, or
- NotificationSubscription.SYSTEM_FROM_USER
Supported API: true
- See Also:
-
SUBJECT
The email subject to include in any notification emails sent for this subscription. This attribute is optional; if not specified, default text is generated for the subject whenever an email is sent for this subscription.Supported API: true
- See Also:
-
MESSAGE
Additional message text to include in any notification emails sent for this subscription. This attribute is optitonal; if not specified, no additional message text is included in the email bodySupported API: true
- See Also:
-
EXPIRATION_TIME
The expiration time for this subscription. When the expiration time is reached the subscription is deleted. This attribute is optional; if not specified, the subscription never expires.Supported API: true
- See Also:
-
SEND_IMMEDIATE
Notification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent. This attribute indicates whether notification emails for this subscription should be sent immediately or sent in a scheduled notification digest email. True means emails should be sent immediately for this subscription. This attribute is optitonal; IF NOT SPECIFIED, IT DEFAULTS TO FALSE.Supported API: true
- See Also:
-
-
Method Details
-
getName
The subscription name. Subscriptions are not required to have names. This optional attribute is provided in case users want to specify a meaningful name for a subscription.Supported API: true
- See Also:
-
setName
The subscription name. Subscriptions are not required to have names. This optional attribute is provided in case users want to specify a meaningful name for a subscription.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getFromUser
public int getFromUser()An integer constant to indicate what should be used for the email From user when sending a notification email for this subscription. Possible values are:- NotificationSubscription.INITIATOR_FROM_USER,
- NotificationSubscription.OWNER_FROM_USER, or
- NotificationSubscription.SYSTEM_FROM_USER
Supported API: true
- See Also:
-
setFromUser
An integer constant to indicate what should be used for the email From user when sending a notification email for this subscription. Possible values are:- NotificationSubscription.INITIATOR_FROM_USER,
- NotificationSubscription.OWNER_FROM_USER, or
- NotificationSubscription.SYSTEM_FROM_USER
Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getSubject
The email subject to include in any notification emails sent for this subscription. This attribute is optional; if not specified, default text is generated for the subject whenever an email is sent for this subscription.Supported API: true
- See Also:
-
setSubject
The email subject to include in any notification emails sent for this subscription. This attribute is optional; if not specified, default text is generated for the subject whenever an email is sent for this subscription.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getMessage
Additional message text to include in any notification emails sent for this subscription. This attribute is optitonal; if not specified, no additional message text is included in the email bodySupported API: true
- See Also:
-
setMessage
Additional message text to include in any notification emails sent for this subscription. This attribute is optitonal; if not specified, no additional message text is included in the email bodySupported API: true
- Throws:
WTPropertyVetoException- See Also:
-
getExpirationTime
The expiration time for this subscription. When the expiration time is reached the subscription is deleted. This attribute is optional; if not specified, the subscription never expires.Supported API: true
- See Also:
-
setExpirationTime
The expiration time for this subscription. When the expiration time is reached the subscription is deleted. This attribute is optional; if not specified, the subscription never expires.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-
isSendImmediate
public boolean isSendImmediate()Notification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent. This attribute indicates whether notification emails for this subscription should be sent immediately or sent in a scheduled notification digest email. True means emails should be sent immediately for this subscription. This attribute is optitonal; IF NOT SPECIFIED, IT DEFAULTS TO FALSE.Supported API: true
- See Also:
-
setSendImmediate
Notification subscription emails can be sent at the time an event satisfying the subscription occurs or at a scheduled time in digest email format containing all notifications that have occured since the last digest email was sent. This attribute indicates whether notification emails for this subscription should be sent immediately or sent in a scheduled notification digest email. True means emails should be sent immediately for this subscription. This attribute is optitonal; IF NOT SPECIFIED, IT DEFAULTS TO FALSE.Supported API: true
- Throws:
WTPropertyVetoException- See Also:
-