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