@GwtIncompatible public static class BWSystem.SystemScheduleAddEventRequest extends Request<DefaultResponse>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDayEvent |
protected Date |
endDate |
protected HourMinute |
endTime |
protected String |
eventName |
protected Recurrence |
recurrence |
protected ScheduleKey |
scheduleKey |
protected Date |
startDate |
protected HourMinute |
startTime |
Constructor and Description |
---|
SystemScheduleAddEventRequest(BroadWorksServer broadWorksServer,
ScheduleKey scheduleKey,
String eventName,
Date startDate,
Date endDate) |
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCommandType, getDomDocument, getId, getResponseClass, isMemberOfBundle, isValid, run, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setResponseClass, setRootElement, toString, validate
@NotNull protected ScheduleKey scheduleKey
@Size(min=1, max=40) protected String eventName
protected Date startDate
@AssertTrue protected Boolean allDayEvent
protected HourMinute startTime
protected HourMinute endTime
protected Date endDate
protected Recurrence recurrence
public SystemScheduleAddEventRequest(BroadWorksServer broadWorksServer, ScheduleKey scheduleKey, String eventName, Date startDate, Date endDate)
public BWSystem.SystemScheduleAddEventRequest setScheduleKey(ScheduleKey scheduleKey)
public ScheduleKey getScheduleKey()
public BWSystem.SystemScheduleAddEventRequest setEventName(String eventName)
public String getEventName()
public BWSystem.SystemScheduleAddEventRequest setStartDate(Date startDate)
public Date getStartDate()
public BWSystem.SystemScheduleAddEventRequest setAllDayEvent(Boolean allDayEvent)
public Boolean getAllDayEvent()
public BWSystem.SystemScheduleAddEventRequest setStartTime(HourMinute startTime)
public HourMinute getStartTime()
public BWSystem.SystemScheduleAddEventRequest setEndTime(HourMinute endTime)
public HourMinute getEndTime()
public BWSystem.SystemScheduleAddEventRequest setEndDate(Date endDate)
public Date getEndDate()
public BWSystem.SystemScheduleAddEventRequest setRecurrence(Recurrence recurrence)
public Recurrence getRecurrence()
public static BWSystem.SystemScheduleAddEventRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.