public class PublishCalendarService extends java.lang.Object implements IPublishCalendar
Constructor and Description |
---|
PublishCalendarService(BmContext context,
javax.sql.DataSource ds,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
disableUrl(java.lang.String url) |
java.lang.String |
generateUrl(PublishMode mode)
Generate a url for external calendar access
|
java.util.List<java.lang.String> |
getGeneratedUrls(PublishMode mode) |
Stream |
publish(java.lang.String token) |
public PublishCalendarService(BmContext context, javax.sql.DataSource ds, Container container) throws ServerFault
ServerFault
public java.lang.String generateUrl(PublishMode mode) throws ServerFault
IPublishCalendar
generateUrl
in interface IPublishCalendar
mode
- publish mode, private or publicServerFault
public java.util.List<java.lang.String> getGeneratedUrls(PublishMode mode) throws ServerFault
getGeneratedUrls
in interface IPublishCalendar
ServerFault
public void disableUrl(java.lang.String url) throws ServerFault
disableUrl
in interface IPublishCalendar
ServerFault
public Stream publish(java.lang.String token) throws ServerFault
publish
in interface IPublishCalendar
ServerFault
Copyright © 2021. All Rights Reserved.