Package net.bluemind.calendar.api
Interface IPublishCalendar
@Path("/calendars/publish/{containerUid}")
public interface IPublishCalendar
-
Method Summary
Modifier and TypeMethodDescriptioncreateUrl
(PublishMode mode, String token) Create an url for external calendar accessvoid
disableUrl
(String url) generateUrl
(PublishMode mode) Generate an url for external calendar accessgetGeneratedUrls
(PublishMode mode)
-
Method Details
-
createUrl
@PUT @Path("_create/{mode}") String createUrl(@PathParam("mode") PublishMode mode, @QueryParam("token") String token) throws ServerFault Create an url for external calendar access- Parameters:
mode
- publish mode, private or publictoken
- associate this url with a token- Returns:
- generated url
- Throws:
ServerFault
-
generateUrl
@PUT @Path("_generate/{mode}") String generateUrl(@PathParam("mode") PublishMode mode) throws ServerFault Generate an url for external calendar access- Parameters:
mode
- publish mode, private or public- Returns:
- generated url
- Throws:
ServerFault
-
getGeneratedUrls
@GET @Path("generated/{mode}") List<String> getGeneratedUrls(@PathParam("mode") PublishMode mode) throws ServerFault - Throws:
ServerFault
-
disableUrl
- Throws:
ServerFault
-
publish
- Throws:
ServerFault
-