Package io.milton.resource
Interface ExtMakeCalendarResource
- All Superinterfaces:
CollectionResource,Resource
-
Method Summary
Modifier and TypeMethodDescriptioncreateCalendar(String newName, Map<QName, String> fieldsToSet) Create an empty calendar, and set appropriate fieldsMethods inherited from interface io.milton.resource.CollectionResource
child, getChildrenMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Method Details
-
createCalendar
CollectionResource createCalendar(String newName, Map<QName, String> fieldsToSet) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.ConflictException, io.milton.http.exceptions.BadRequestExceptionCreate an empty calendar, and set appropriate fields- Parameters:
newName-- Returns:
- Throws:
io.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.ConflictExceptionio.milton.http.exceptions.BadRequestException
-