Esri Geoportal Server
1.2.9

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

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

public class DayOfTheWeekEvent
extends AdHocEvent

Day of the week ad-hoc event.


Nested Class Summary
static class DayOfTheWeekEvent.DayOfTheWeek
          Day of the week enumeration.
 
Constructor Summary
DayOfTheWeekEvent(DayOfTheWeekEvent.DayOfTheWeek dayOfTheWeek, 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

DayOfTheWeekEvent

public DayOfTheWeekEvent(DayOfTheWeekEvent.DayOfTheWeek dayOfTheWeek,
                         Date timeOfTheDay)
Creates instance of the event.

Parameters:
dayOfTheWeek - day of the week
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.