@Path(value="/calendars/{containerUid}") public interface ICalendar extends IChangelogSupport
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
all()
Returns all the items uid from the container
|
void |
create(java.lang.String uid,
VEventSeries event,
java.lang.Boolean sendNotifications)
Creates a
VEvent |
void |
createById(long id,
VEventSeries event,
java.lang.Boolean sendNotifications) |
void |
delete(java.lang.String uid,
java.lang.Boolean sendNotifications)
Deletes a
VEvent |
java.util.List<ItemValue<VEventSeries>> |
getByIcsUid(java.lang.String uid)
Returns
VEventSeries |
ItemValue<VEventSeries> |
getComplete(java.lang.String uid)
Returns a
VEvent |
boolean |
isAutoSyncActivated()
Check the automatic synchronization is activated for this calendar.
|
ListResult<ItemValue<VEventSeries>> |
list() |
java.util.List<ItemValue<VEventSeries>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
VEvent s from theirs uniques uids |
TaskRef |
reset()
Remove all events from this calendar.
|
ListResult<ItemValue<VEventSeries>> |
search(VEventQuery query)
|
ContainerChangeset<java.lang.String> |
sync(java.lang.Long since,
VEventChanges changes)
CLIENT_WIN style
|
void |
touch(java.lang.String uid)
Touch an
VEvent |
void |
update(java.lang.String uid,
VEventSeries event,
java.lang.Boolean sendNotifications)
Updates a
VEvent |
ContainerUpdatesResult |
updates(VEventChanges changes)
Applies changes (create, update, delete) to a calendar specified by its
containerUid . |
changeset, changesetById, containerChangelog, getVersion, itemChangelog
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, VEventSeries event, @QueryParam(value="sendNotifications") java.lang.Boolean sendNotifications) throws ServerFault
VEvent
uid
- event
- sendNotifications
- ServerFault
@PUT @Path(value="_byId") void createById(@QueryParam(value="id") long id, VEventSeries event, @QueryParam(value="sendNotifications") java.lang.Boolean sendNotifications) throws ServerFault
ServerFault
@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, VEventSeries event, @QueryParam(value="sendNotifications") java.lang.Boolean sendNotifications) throws ServerFault
VEvent
uid
- event
- sendNotifications
- ServerFault
@GET @Path(value="{uid}/complete") ItemValue<VEventSeries> getComplete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
VEvent
uid
- VEvent
ServerFault
@GET @Path(value="_icsuid/{uid}") java.util.List<ItemValue<VEventSeries>> getByIcsUid(@PathParam(value="uid") java.lang.String uid) throws ServerFault
VEventSeries
uid
- VEventSeries.icsUid
VEvent
ServerFault
@POST @Path(value="_mget") java.util.List<ItemValue<VEventSeries>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
VEvent
s from theirs uniques uidsuids
- List>
ServerFault
@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid, @QueryParam(value="sendNotifications") java.lang.Boolean sendNotifications) throws ServerFault
VEvent
uid
- sendNotifications
- ServerFault
@POST @Path(value="{uid}/_touch") void touch(@PathParam(value="uid") java.lang.String uid) throws ServerFault
VEvent
uid
- ServerFault
@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(VEventChanges changes) throws ServerFault
containerUid
.changes
- ServerFault
@POST @Path(value="_search") ListResult<ItemValue<VEventSeries>> search(VEventQuery query) throws ServerFault
query
- ServerFault
@PUT @Path(value="_sync") ContainerChangeset<java.lang.String> sync(@QueryParam(value="since") java.lang.Long since, VEventChanges changes) throws ServerFault
since
- changes
- ServerFault
@GET @Path(value="_list") ListResult<ItemValue<VEventSeries>> list() throws ServerFault
ServerFault
@POST @Path(value="_reset") TaskRef reset() throws ServerFault
ServerFault
@GET @Path(value="_all") java.util.List<java.lang.String> all() throws ServerFault
ServerFault
@GET @Path(value="_isAutoSyncActivated") boolean isAutoSyncActivated() throws ServerFault
true
if this calendar is automatically synchronized,
false
otherwiseServerFault
Copyright © 2021. All Rights Reserved.