@ChoiceGroup(value="allDayEvent") @ChoiceGroup(value={"startTime","endTime"}) @GwtIncompatible public static class BWSystem.SystemScheduleAddEventRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDayEvent |
protected LocalDate |
endDate |
protected HourMinute |
endTime |
protected String |
eventName |
protected Recurrence |
recurrence |
protected ScheduleKey |
scheduleKey |
protected LocalDate |
startDate |
protected HourMinute |
startTime |
Constructor and Description |
---|
SystemScheduleAddEventRequest(BroadWorksServer broadWorksServer,
ScheduleKey scheduleKey,
String eventName,
LocalDate startDate,
LocalDate endDate) |
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRootElement, getValidationErrorsAsString, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRootElement, toString, validate
@NotNull protected ScheduleKey scheduleKey
@NotNull @Size(min=1, max=40) protected String eventName
@NotNull protected LocalDate startDate
@AssertTrue protected Boolean allDayEvent
protected HourMinute startTime
protected HourMinute endTime
@NotNull protected LocalDate endDate
protected Recurrence recurrence
public SystemScheduleAddEventRequest(BroadWorksServer broadWorksServer, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate)
public BWSystem.SystemScheduleAddEventRequest setScheduleKey(ScheduleKey scheduleKey)
public ScheduleKey getScheduleKey()
public BWSystem.SystemScheduleAddEventRequest setEventName(String eventName)
public String getEventName()
public BWSystem.SystemScheduleAddEventRequest setStartDate(LocalDate startDate)
public LocalDate getStartDate()
public BWSystem.SystemScheduleAddEventRequest setFlagAllDayEvent()
public boolean allDayEventFlagExist()
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(LocalDate endDate)
public LocalDate 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 © 2017 ECG. All rights reserved.