|
|||||||||||
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
com.arsdigita.forum.ForumSubscription
com.arsdigita.forum.DailySubscription
Extends Subscription to implement digest (periodic) notifications on a forum.
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
Fields inherited from class com.arsdigita.forum.ForumSubscription |
FORUM, IS_MODERATION_ALERT |
Fields inherited from class com.arsdigita.forum.Subscription |
versionId |
Fields inherited from class com.arsdigita.notification.BaseSubscription |
ALERT_BLURB, REPLY_BLURB, SEPARATOR |
Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE |
Constructor Summary | |
protected |
DailySubscription(BigDecimal id)
|
protected |
DailySubscription(com.arsdigita.persistence.DataObject data)
|
|
DailySubscription(Forum forum,
com.arsdigita.kernel.Party sender)
|
protected |
DailySubscription(com.arsdigita.persistence.OID oid)
|
|
DailySubscription(String typeName,
Forum forum,
com.arsdigita.kernel.Party sender)
|
Method Summary | |
protected String |
getBaseDataObjectType()
|
static ForumSubscription |
getFromForum(Forum forum)
gets the ForumSubscription associated with the provided Forum |
void |
sendNotification(Post post)
Queues the post for once-daily notification of new posts. |
Methods inherited from class com.arsdigita.forum.ForumSubscription |
afterSave, doWriteCheck, getForum, getSignature, setIsModerationAlert, setIsModerationAlert |
Methods inherited from class com.arsdigita.forum.Subscription |
getHeader, getReturnURLMessage |
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, 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, 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 BASE_DATA_OBJECT_TYPE
Constructor Detail |
public DailySubscription(Forum forum, com.arsdigita.kernel.Party sender)
forum
- the Forum that is subscribed tosender
- the Party which will appear in the From: headerpublic DailySubscription(String typeName, Forum forum, com.arsdigita.kernel.Party sender)
forum
- the Forum that is subscribed tosender
- the Party which will appear in the From: headerprotected DailySubscription(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
protected DailySubscription(BigDecimal id) throws com.arsdigita.domain.DataObjectNotFoundException
protected DailySubscription(com.arsdigita.persistence.DataObject data)
Method Detail |
protected String getBaseDataObjectType()
getBaseDataObjectType
in class ForumSubscription
public void sendNotification(Post post)
public static ForumSubscription getFromForum(Forum forum)
ForumSubscription
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |