SilverStream
Application Server 3.5

com.sssw.srv.busobj
Class AgoScheduledEvent

java.lang.Object
 |
 +--java.util.EventObject
       |
       +--com.sssw.srv.busobj.AgoBusinessObjectEvent
             |
             +--com.sssw.srv.busobj.AgoScheduledEvent
All Implemented Interfaces:
Serializable

public class AgoScheduledEvent
extends AgoBusinessObjectEvent

An instance of the AgoScheduledEvent is passed into each Scheduled event that is fired.

Scheduled events are executed at a scheduled time. Objects can be scheduled to run as follows:

Interval

These minute intervals may be specified: 1, 2, 3, 4, 5, 6, 8, 10, 12, 15, 20, and 30. Note that the business object runs at the evenly divisible minute of the hour. For example, business object scheduled to run every 2 minutes will run every even minute of the hour

Hourly

These hourly intervals may be specified: 1, 2, 3, 4, 6, 8, and 12. Note that the business object runs at the top of the hour.

Daily

The actual time at which the business object should be run may be specified.

Weekly

The day of the week and the time to run may be specified.

Monthly

The day of the week and the time to run may be specified.

The date to start each business object, as well as the date to stop it can be specified. If a start date is not specified, then the business object is run the next time the specified schedule occurs (the next hour, the next day, and so on). Weekends are specified as Saturday and Sunday and cannot be configured.

Note: The date must be a valid date, but it does not have to be greater than the current date.

Because and AgoScheduledEvent is also an AgoBusinessObjectEvent, it could also be used to access other information about the current session, the SilverStream Server, or an AgaData object.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
AgoScheduledEvent()
           
 
Methods inherited from class com.sssw.srv.busobj.AgoBusinessObjectEvent
getAgaData, getDatabase, getDatabaseURL, getServer, getSession, getUser, runAgData, updateTransactionally, userInGroup
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgoScheduledEvent

public AgoScheduledEvent()

SilverStream
Application Server 3.5