|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.lifecycle.NotifyLifecycleListener
LifecycleListener implementation which sends out a notification that the item is about to expire. Does nothing at the end of the phase.
Field Summary |
Fields inherited from interface com.arsdigita.cms.lifecycle.LifecycleListener |
versionId |
Constructor Summary | |
NotifyLifecycleListener()
|
Method Summary | |
void |
begin(LifecycleEvent event)
Handle the begin event. |
protected com.arsdigita.messaging.Message |
createMessage(ContentItem item,
LifecycleEvent lc)
Create the message object. |
void |
end(LifecycleEvent event)
100% bug-free, empty method. |
protected com.arsdigita.kernel.UserCollection |
getRecipients(ContentItem item)
Determine the set of recipients for the alerts sent by this listener, based on the content item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NotifyLifecycleListener()
Method Detail |
public void begin(LifecycleEvent event)
begin
in interface LifecycleListener
public void end(LifecycleEvent event)
end
in interface LifecycleListener
event
- ignoredprotected com.arsdigita.kernel.UserCollection getRecipients(ContentItem item)
item
- the ContentItem which the alerts are about
protected com.arsdigita.messaging.Message createMessage(ContentItem item, LifecycleEvent lc)
item
- the item which the created Message relates to;
must not be nulllc
- the lifecycle event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |