|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.notification.BaseSubscription
com.arsdigita.forum.Subscription
The abstract Subscription class provides the ability for Users to sign up for email notifications. Subclasses will specify the object to which the notifications apply. The default implementation provides instant notifications. Subclasses should override sendNotification() to alter this behavior.
Field Summary | |
static String |
versionId
|
Fields inherited from class com.arsdigita.notification.BaseSubscription |
ALERT_BLURB, REPLY_BLURB, SEPARATOR |
Fields inherited from class com.arsdigita.kernel.ACSObject |
BASE_DATA_OBJECT_TYPE, CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE |
Constructor Summary | |
Subscription(com.arsdigita.persistence.DataObject dataObj)
|
|
Subscription(com.arsdigita.persistence.OID oid)
|
|
Subscription(String objectType)
|
Method Summary | |
String |
getHeader(com.arsdigita.messaging.ThreadedMessage msg)
Returns a header for forum alerts with the following standard information: |
protected static String |
getReturnURLMessage(Post post)
|
String |
getSignature(com.arsdigita.messaging.ThreadedMessage post)
Returns the signature to be appended to the alert. |
Methods inherited from class com.arsdigita.notification.BaseSubscription |
getGroup, isSubscribed, sendNotification, setGroup, setGroupName, setupSubscriptionGroup, subscribe, unsubscribe |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public Subscription(String objectType)
public Subscription(com.arsdigita.persistence.DataObject dataObj)
public Subscription(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
Method Detail |
public String getHeader(com.arsdigita.messaging.ThreadedMessage msg)
Forum : Name Subject : Subject com.arsdigita.messaging.ThreadedMessageed by: User
public String getSignature(com.arsdigita.messaging.ThreadedMessage post)
protected static String getReturnURLMessage(Post post)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |