Package co.ecg.alpaca.toolkit.generated
Class Group.GroupScheduleModifyEventRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.Group.GroupScheduleModifyEventRequest
- Enclosing class:
- Group
@Choice(minOccurs=0,value={@ChoiceGroup("allDayEvent"),@ChoiceGroup({"startTime","endTime"})})
public static class Group.GroupScheduleModifyEventRequest
extends Request<DefaultResponse>
Modify an event of a 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 LocalDate
protected @Valid HourMinute
protected @NotNull @Size(min=1,max=40) String
protected @NotNull @Valid Group
protected @Size(min=1,max=40) String
protected Optional<@Valid Recurrence>
protected @NotNull @Valid ScheduleKey
protected LocalDate
protected @Valid HourMinute
-
Constructor Summary
ConstructorsConstructorDescriptionGroupScheduleModifyEventRequest
(Group group, ScheduleKey scheduleKey, String eventName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Forms the XML Document for this Request Object.getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.getGroup()
Optional<@Valid Recurrence>
setEndDate
(LocalDate endDate) setEndTime
(HourMinute endTime) setEventName
(String eventName) setNewEventName
(String newEventName) 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
-
newEventName
-
startDate
-
allDayEvent
-
startTime
-
endTime
-
endDate
-
recurrence
-
-
Constructor Details
-
GroupScheduleModifyEventRequest
public GroupScheduleModifyEventRequest() -
GroupScheduleModifyEventRequest
-
-
Method Details
-
setGroup
-
getGroup
-
setScheduleKey
-
getScheduleKey
-
setEventName
-
getEventName
-
setNewEventName
-
getNewEventName
-
setStartDate
-
getStartDate
-
setFlagAllDayEvent
-
allDayEventFlagExist
public boolean allDayEventFlagExist() -
getAllDayEvent
-
setStartTime
-
getStartTime
-
setEndTime
-
getEndTime
-
setEndDate
-
getEndDate
-
unsetRecurrence
-
setRecurrence
-
getRecurrence
-
getEmptyObject
public static Group.GroupScheduleModifyEventRequest getEmptyObject(BroadWorksServer broadWorksServer) 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>
-