Package co.ecg.alpaca.toolkit.generated
Class User.UserScheduleModifyEventRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.User.UserScheduleModifyEventRequest
- Enclosing class:
- User
@Choice(minOccurs=0,value={@ChoiceGroup("allDayEvent"),@ChoiceGroup({"startTime","endTime"})})
public static class User.UserScheduleModifyEventRequest
extends Request<DefaultResponse>
Modify an event of a user 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 @Size(min=1,max=40) String
protected Optional<@Valid Recurrence>
protected @NotNull @Valid ScheduleKey
protected LocalDate
protected @Valid HourMinute
protected @NotNull @Valid BroadWorksUser
-
Constructor Summary
ConstructorsConstructorDescriptionUserScheduleModifyEventRequest
(BroadWorksUser user, 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.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) setUser
(BroadWorksUser user) 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
-
user
-
scheduleKey
-
eventName
-
newEventName
-
startDate
-
allDayEvent
-
startTime
-
endTime
-
endDate
-
recurrence
-
-
Constructor Details
-
UserScheduleModifyEventRequest
public UserScheduleModifyEventRequest() -
UserScheduleModifyEventRequest
public UserScheduleModifyEventRequest(BroadWorksUser user, ScheduleKey scheduleKey, String eventName)
-
-
Method Details
-
setUser
-
getBroadWorksUser
-
setScheduleKey
-
getScheduleKey
-
setEventName
-
getEventName
-
setNewEventName
-
getNewEventName
-
setStartDate
-
getStartDate
-
setFlagAllDayEvent
-
allDayEventFlagExist
public boolean allDayEventFlagExist() -
getAllDayEvent
-
setStartTime
-
getStartTime
-
setEndTime
-
getEndTime
-
setEndDate
-
getEndDate
-
unsetRecurrence
-
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>
-