Package co.ecg.alpaca.toolkit.generated
Class Group.GroupScheduleAddEventRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.Group.GroupScheduleAddEventRequest
- Enclosing class:
- Group
@ChoiceGroup("allDayEvent") @ChoiceGroup({"startTime","endTime"})
public static class Group.GroupScheduleAddEventRequest
extends Request<DefaultResponse>
Add an event to group schedule. The response is either a SuccessResponse or an ErrorResponse. The startDate element is adjusted to the first occurrence of the recurrent schedule that comes at or after the startDate. The endDate element is set to the sum of the adjusted starDate element value and the event duration.
- Author:
- AlpacaGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @AssertTrue Boolean
protected @NotNull LocalDate
protected @Valid HourMinute
protected @NotNull @Size(min=1,max=40) String
protected @NotNull @Valid Group
protected @Valid Recurrence
protected @NotNull @Valid ScheduleKey
protected @NotNull LocalDate
protected @Valid HourMinute
-
Constructor Summary
ConstructorsConstructorDescriptionGroupScheduleAddEventRequest
(HourMinute startTime, HourMinute endTime, Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate) GroupScheduleAddEventRequest
(Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate) GroupScheduleAddEventRequest
(Boolean allDayEvent, Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.getGroup()
setEndDate
(LocalDate endDate) setEndTime
(HourMinute endTime) setEventName
(String eventName) setRecurrence
(Recurrence recurrence) setScheduleKey
(ScheduleKey scheduleKey) setStartDate
(LocalDate startDate) setStartTime
(HourMinute startTime) Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isIgnoreCache, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setIgnoreCache, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
group
-
scheduleKey
-
eventName
-
startDate
-
allDayEvent
-
startTime
-
endTime
-
endDate
-
recurrence
-
-
Constructor Details
-
GroupScheduleAddEventRequest
public GroupScheduleAddEventRequest() -
GroupScheduleAddEventRequest
public GroupScheduleAddEventRequest(Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate) -
GroupScheduleAddEventRequest
-
GroupScheduleAddEventRequest
public GroupScheduleAddEventRequest(HourMinute startTime, HourMinute endTime, Group group, ScheduleKey scheduleKey, String eventName, LocalDate startDate, LocalDate endDate)
-
-
Method Details
-
setGroup
-
getGroup
-
setScheduleKey
-
getScheduleKey
-
setEventName
-
getEventName
-
setStartDate
-
getStartDate
-
setFlagAllDayEvent
-
allDayEventFlagExist
public boolean allDayEventFlagExist() -
getAllDayEvent
-
setStartTime
-
getStartTime
-
setEndTime
-
getEndTime
-
setEndDate
-
getEndDate
-
setRecurrence
-
getRecurrence
-
getEmptyObject
Retrieves this object with minimal setup.- Parameters:
broadWorksServer
- The BroadWorksServer
-
formRequest
public void formRequest()Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequest
in classRequest<DefaultResponse>
-