@GwtIncompatible public static class Group.GroupScheduleAddEventRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected Boolean |
allDayEvent |
protected LocalDate |
endDate |
protected HourMinute |
endTime |
protected String |
eventName |
protected Group |
group |
protected Recurrence |
recurrence |
protected ScheduleKey |
scheduleKey |
protected LocalDate |
startDate |
protected HourMinute |
startTime |
Constructor and Description |
---|
GroupScheduleAddEventRequest(Group group,
ScheduleKey scheduleKey,
String eventName,
LocalDate startDate,
LocalDate endDate) |
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 transient Group group
@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 GroupScheduleAddEventRequest(Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate)
public Group.GroupScheduleAddEventRequest setGroup(Group group)
public Group getGroup()
public Group.GroupScheduleAddEventRequest setScheduleKey(ScheduleKey scheduleKey)
public ScheduleKey getScheduleKey()
public Group.GroupScheduleAddEventRequest setEventName(String eventName)
public String getEventName()
public Group.GroupScheduleAddEventRequest setStartDate(LocalDate startDate)
public LocalDate getStartDate()
public Group.GroupScheduleAddEventRequest setFlagAllDayEvent()
public boolean allDayEventFlagExist()
public Group.GroupScheduleAddEventRequest setStartTime(HourMinute startTime)
public HourMinute getStartTime()
public Group.GroupScheduleAddEventRequest setEndTime(HourMinute endTime)
public HourMinute getEndTime()
public Group.GroupScheduleAddEventRequest setEndDate(LocalDate endDate)
public LocalDate getEndDate()
public Group.GroupScheduleAddEventRequest setRecurrence(Recurrence recurrence)
public Recurrence getRecurrence()
public static Group.GroupScheduleAddEventRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.