@GwtIncompatible public static class User.UserScheduleModifyEventRequest 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 |
protected User |
user |
Constructor and Description |
---|
UserScheduleModifyEventRequest(User user,
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 transient User user
@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 UserScheduleModifyEventRequest(User user, ScheduleKey scheduleKey, String eventName)
public User.UserScheduleModifyEventRequest setUser(User user)
public User getUser()
public User.UserScheduleModifyEventRequest setScheduleKey(ScheduleKey scheduleKey)
public ScheduleKey getScheduleKey()
public User.UserScheduleModifyEventRequest setEventName(String eventName)
public String getEventName()
public User.UserScheduleModifyEventRequest setNewEventName(String newEventName)
public String getNewEventName()
public User.UserScheduleModifyEventRequest setStartDate(LocalDate startDate)
public LocalDate getStartDate()
public User.UserScheduleModifyEventRequest setFlagAllDayEvent()
public boolean allDayEventFlagExist()
public User.UserScheduleModifyEventRequest setStartTime(HourMinute startTime)
public HourMinute getStartTime()
public User.UserScheduleModifyEventRequest setEndTime(HourMinute endTime)
public HourMinute getEndTime()
public User.UserScheduleModifyEventRequest setEndDate(LocalDate endDate)
public LocalDate getEndDate()
public User.UserScheduleModifyEventRequest setRecurrence(Recurrence recurrence)
public com.google.common.base.Optional<Recurrence> getRecurrence()
public static User.UserScheduleModifyEventRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.