Package org.bedework.calfacade.requests
Class GetInstancesRequest
java.lang.Object
org.bedework.calfacade.requests.RequestBase
org.bedework.calfacade.requests.GetInstancesRequest
Request instances for a given recurrence rule and start date.
Exdates, Rdates may be provided. Additionally the result may be
limited by a begin and/or an end date.
If no rrule is provided then rdates MUST be supplied
User: douglm: Bedework Commercial Services-
Field Summary
Fields inherited from class org.bedework.calfacade.requests.RequestBase
getInstancesAction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBegin()getEnd()getEndDt()getRrule()voidvoidvoidsetExdates(Collection<String> val) voidsetRdates(Collection<String> val) voidtoStringSegment(org.bedework.util.misc.ToString ts) Add information to the ToString builderbooleanvalidate(org.bedework.util.misc.response.Response resp) May clean up the data in the request.
-
Constructor Details
-
GetInstancesRequest
public GetInstancesRequest() -
GetInstancesRequest
-
-
Method Details
-
getRrule
- Returns:
- rrule or null
-
getStartDt
- Returns:
- start date
-
getEndDt
- Returns:
- end date
-
setExdates
- Parameters:
val- collection of exdates
-
getExdates
- Returns:
- collection of exdates
-
setRdates
- Parameters:
val- collection of rdates
-
getRdates
- Returns:
- collection of rdates
-
setBegin
- Parameters:
val- beginning of window or null
-
getBegin
- Returns:
- beginning of window or null
-
setEnd
- Parameters:
val- end of window or null
-
getEnd
- Returns:
- end of window or null
-
validate
public boolean validate(org.bedework.util.misc.response.Response resp) Description copied from class:RequestBaseMay clean up the data in the request.- Overrides:
validatein classRequestBase- Parameters:
resp- for failed status and message- Returns:
- true for ok request
-
toStringSegment
public void toStringSegment(org.bedework.util.misc.ToString ts) Description copied from class:RequestBaseAdd information to the ToString builder- Overrides:
toStringSegmentin classRequestBase- Parameters:
ts- ToString builder
-