Esri Geoportal Server
1.2.9

com.esri.gpt.framework.adhoc.events
Class DayOfTheMonthEvent

java.lang.Object
  extended by com.esri.gpt.framework.adhoc.events.AdHocEvent
      extended by com.esri.gpt.framework.adhoc.events.DayOfTheMonthEvent
All Implemented Interfaces:
IAdHocEvent

public class DayOfTheMonthEvent
extends AdHocEvent

Day of the month ad-hoc event.


Constructor Summary
DayOfTheMonthEvent(int dayOfTheMonth, Date timeOfTheDay)
          Creates instance of the event.
 
Method Summary
 String getCode()
          Gets event code.
 String getLocalizedCaption(MessageBroker broker)
          Gets localized caption.
 Date getNextEventDate(Date lastHarvestDate)
          Gets next event date.
 String toString()
           
 
Methods inherited from class com.esri.gpt.framework.adhoc.events.AdHocEvent
getCalendar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DayOfTheMonthEvent

public DayOfTheMonthEvent(int dayOfTheMonth,
                          Date timeOfTheDay)
Creates instance of the event.

Parameters:
dayOfTheMonth - day of the month
timeOfTheDay - time of the day
Method Detail

getNextEventDate

public Date getNextEventDate(Date lastHarvestDate)
Description copied from interface: IAdHocEvent
Gets next event date.

Parameters:
lastHarvestDate - last event date
Returns:
next harvest date or null if no next event date

getLocalizedCaption

public String getLocalizedCaption(MessageBroker broker)
Description copied from interface: IAdHocEvent
Gets localized caption.

Parameters:
broker - message broker
Returns:
caption

getCode

public String getCode()
Description copied from interface: IAdHocEvent
Gets event code.

Returns:
event code

toString

public String toString()
Overrides:
toString in class Object

Esri Geoportal Server
1.2.9

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.