@Path(value="/calendars/{containerUid}")
public interface ICalendar
extends IChangelogSupport, ICrudByIdSupport<VEventSeries>, ICountingSupport, ISortingSupport, IDataShardSupport, IRestoreCrudSupport<VEventSeries>
| 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. | 
Ack | 
createById(long id,
          VEventSeries event)
Creates a  
VEventSeries. | 
void | 
delete(java.lang.String uid,
      java.lang.Boolean sendNotifications)
Deletes the  
VEventSeries identified by the given unique identifier. | 
void | 
deleteById(long id)
Delete the event identified by the given item identifier. 
 | 
java.util.List<ItemValue<VEventSeries>> | 
getByIcsUid(java.lang.String uid)
Returns all  
VEventSeries matching the given ICS unique identifier. | 
ItemValue<VEventSeries> | 
getComplete(java.lang.String uid)
Returns the  
VEventSeries identified by the given unique identifier. | 
ItemValue<VEventSeries> | 
getCompleteById(long id)
Retrieve the  
VEventSeries identified by the given identifier. | 
boolean | 
isAutoSyncActivated()
Check the automatic synchronization is activated for this calendar. 
 | 
ListResult<ItemValue<VEventSeries>> | 
list()
List all the events of this calendar. 
 | 
java.util.List<ItemValue<VEventSeries>> | 
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple  
VEventSeries identified by the given unique
 identifiers. | 
java.util.List<ItemValue<VEventSeries>> | 
multipleGetById(java.util.List<java.lang.Long> ids)
Fetch multiple  
VEventSeries from theirs uniques ids | 
TaskRef | 
reset()
Remove all events from this calendar. 
 | 
ListResult<ItemValue<VEventSeries>> | 
search(VEventQuery query)
Search for events matching the given query. 
 | 
ListResult<ItemValue<VEventSeries>> | 
searchPendingCounters()
Search pending counters of the current user 
 | 
java.util.List<java.lang.Long> | 
sortedIds(SortDescriptor sorted)
Sort the events item identifiers in function of the given
  
SortDescriptor. | 
ContainerChangeset<java.lang.String> | 
sync(java.lang.Long since,
    VEventChanges changes)
Apply the given changes and return the differences since the given time. 
 | 
void | 
touch(java.lang.String uid)
Touch a  
VEvent. | 
void | 
update(java.lang.String uid,
      VEventSeries event,
      java.lang.Boolean sendNotifications)
Updates a  
VEventSeries. | 
Ack | 
updateById(long id,
          VEventSeries value)
Update the event identified by the given item identifier. 
 | 
ContainerUpdatesResult | 
updates(VEventChanges changes)
Applies changes (create, update, delete) to a calendar specified by its
  
containerUid. | 
allIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelogmultipleDeleteByIdcountxferdeleteget, restore@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 - the unique identifier for the new eventevent - the VEventSeries to storesendNotifications - if true then notify this event creation
                          on the events busServerFault@POST
 @Path(value="id/{id}")
Ack updateById(@PathParam(value="id")
                                             long id,
                                             VEventSeries value)
updateById in interface ICrudByIdSupport<VEventSeries>id - the item identifier of the VEventSeriesvalue - the new value to set@DELETE
 @Path(value="id/{id}")
void deleteById(@PathParam(value="id")
                                                long id)
deleteById in interface ICrudByIdSupport<VEventSeries>the - item identifier of the VEventSeries@PUT
 @Path(value="id/{id}")
Ack createById(@PathParam(value="id")
                                            long id,
                                            VEventSeries event)
                                     throws ServerFault
VEventSeries.createById in interface ICrudByIdSupport<VEventSeries>id - the item identifier of the VEventSeriesevent - the VEventSeries to storeServerFault@POST
 @Path(value="{uid}")
void update(@PathParam(value="uid")
                                        java.lang.String uid,
                                        VEventSeries event,
                                        @QueryParam(value="sendNotifications")
                                        java.lang.Boolean sendNotifications)
                                 throws ServerFault
VEventSeries.uid - the unique identifier of the eventevent - the VEventSeries to updatesendNotifications - if true then notify this event creation
                          on the events busServerFault@GET
 @Path(value="{uid}/complete")
ItemValue<VEventSeries> getComplete(@PathParam(value="uid")
                                                                        java.lang.String uid)
                                                                 throws ServerFault
VEventSeries identified by the given unique identifier.uid - the unique identifier of the eventVEventSeries if successfulServerFault@GET
 @Path(value="_icsuid/{uid}")
java.util.List<ItemValue<VEventSeries>> getByIcsUid(@PathParam(value="uid")
                                                                                       java.lang.String uid)
                                                                                throws ServerFault
VEventSeries matching the given ICS unique identifier.uid - the ICS unique identifierVEventSeriesServerFault@GET
 @Path(value="{id}/completeById")
ItemValue<VEventSeries> getCompleteById(@PathParam(value="id")
                                                                               long id)
VEventSeries identified by the given identifier.getCompleteById in interface IReadByIdSupport<VEventSeries>id - the identifier of the eventVEventSeries if successfulSortDescriptor@POST @Path(value="_mget") java.util.List<ItemValue<VEventSeries>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
VEventSeries identified by the given unique
 identifiers.uids - the list of unique identifiersVEventSeriesServerFault@POST @Path(value="_mgetById") java.util.List<ItemValue<VEventSeries>> multipleGetById(java.util.List<java.lang.Long> ids) throws ServerFault
VEventSeries from theirs uniques idsmultipleGetById in interface IReadByIdSupport<VEventSeries>ids - the list of unique idVEventSeriesServerFault@DELETE
 @Path(value="{uid}")
void delete(@PathParam(value="uid")
                                          java.lang.String uid,
                                          @QueryParam(value="sendNotifications")
                                          java.lang.Boolean sendNotifications)
                                   throws ServerFault
VEventSeries identified by the given unique identifier.uid - the unique identifier of the eventsendNotifications - if true then notify this event deletion
                          on the events busServerFault@POST
 @Path(value="{uid}/_touch")
void touch(@PathParam(value="uid")
                                              java.lang.String uid)
                                       throws ServerFault
VEvent.uid - the unique identifier of the eventServerFault@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(VEventChanges changes) throws ServerFault
containerUid.changes - the changes to applyServerFault@POST @Path(value="_search") ListResult<ItemValue<VEventSeries>> search(VEventQuery query) throws ServerFault
query - the VEventQuery to match againstVEventSeriesServerFault@PUT @Path(value="_sync") ContainerChangeset<java.lang.String> sync(@QueryParam(value="since") java.lang.Long since, VEventChanges changes) throws ServerFault
since - the time from wich compare changeschanges - the changes to applyContainerChangeset of the difSortDescriptorferencesServerFault@GET @Path(value="_list") ListResult<ItemValue<VEventSeries>> list() throws ServerFault
VEventSeriesServerFault@POST @Path(value="_reset") TaskRef reset() throws ServerFault
ServerFault@GET
 @Path(value="_all")
java.util.List<java.lang.String> all()
                                                        throws ServerFault
ServerFault@POST @Path(value="_sorted") java.util.List<java.lang.Long> sortedIds(SortDescriptor sorted) throws ServerFault
SortDescriptor.sortedIds in interface ISortingSupportthe - sort directiveServerFault@GET
 @Path(value="_isAutoSyncActivated")
boolean isAutoSyncActivated()
                                                               throws ServerFault
true if this calendar is automatically synchronized,
         false otherwiseServerFault@GET @Path(value="_search_counters") ListResult<ItemValue<VEventSeries>> searchPendingCounters()
Copyright © 2023. All Rights Reserved.