|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.ganymede.GanymedeWarningTask
This is a Ganymede server task, for use with the GanymedeScheduler.
The standard GanymedeWarningTask class scans through all objects
in the database and mails out warnings for those objects that are
going to expire on this day one, two, or three weeks in the future,
as well as those objects that are going to expire within the
following 24 hours. The email messages sent are based on the
server's Object Events configuration settings, and will also be
sent to the list of email addresses returned by the getEmailTargets() customization method in each object's DBEditObject customization class,
if any such is defined.
GanymedeWarningTask must not be run more than once a day by the GanymedeScheduler, or else users and admins may receive redundant warnings.
The GanymedeWarningTask is paired with the
standard GanymedeExpirationTask task,
which handles the actual expiration and removal of database objects.
| Constructor Summary | |
GanymedeWarningTask()
|
|
| Method Summary | |
java.lang.String |
getExpirationWarningMesg(arlut.csd.ganymede.DBObject object)
|
void |
run()
Just Do It (tm) |
private void |
sendMail(java.lang.String type,
java.lang.String title,
java.lang.String description,
java.util.Vector invids)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GanymedeWarningTask()
| Method Detail |
public void run()
run in interface java.lang.RunnableRunnable
private void sendMail(java.lang.String type,
java.lang.String title,
java.lang.String description,
java.util.Vector invids)
public java.lang.String getExpirationWarningMesg(arlut.csd.ganymede.DBObject object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||