public class CalendarAuditProxy extends java.lang.Object implements IInternalCalendar
| Constructor and Description |
|---|
CalendarAuditProxy(CalendarAuditor auditor,
IInternalCalendar cal) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
all()
Returns all the items uid from the container.
|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since) |
ContainerChangeset<java.lang.Long> |
changesetById(java.lang.Long since) |
ContainerChangelog |
containerChangelog(java.lang.Long since) |
Count |
count(ItemFlagFilter filter)
Count items matching an
ItemFlagFilter |
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) |
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.
|
void |
emitNotification() |
ContainerChangeset<ItemVersion> |
filteredChangesetById(java.lang.Long since,
ItemFlagFilter filter) |
VEventSeries |
get(java.lang.String uid) |
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. |
long |
getVersion() |
boolean |
isAutoSyncActivated()
Check the automatic synchronization is activated for this calendar.
|
ItemChangelog |
itemChangelog(java.lang.String itemUid,
java.lang.Long since) |
ListResult<ItemValue<VEventSeries>> |
list()
List all the events of this calendar.
|
void |
multipleDeleteById(java.util.List<java.lang.Long> ids) |
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.
|
void |
restore(ItemValue<VEventSeries> item,
boolean isCreate) |
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. |
ContainerUpdatesResult |
updates(VEventChanges changes,
boolean notify) |
void |
xfer(java.lang.String serverUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallIdspublic CalendarAuditProxy(CalendarAuditor auditor, IInternalCalendar cal)
public ItemChangelog itemChangelog(java.lang.String itemUid, java.lang.Long since) throws ServerFault
itemChangelog in interface IChangelogSupportContainerChangelogServerFaultpublic ContainerChangelog containerChangelog(java.lang.Long since) throws ServerFault
containerChangelog in interface IChangelogSupportContainerChangelogServerFaultpublic ContainerChangeset<java.lang.String> changeset(java.lang.Long since) throws ServerFault
changeset in interface IChangelogSupportContainerChangesetServerFaultpublic ContainerChangeset<java.lang.Long> changesetById(java.lang.Long since) throws ServerFault
changesetById in interface IChangelogSupportContainerChangeset with internal
numeric idsServerFaultpublic long getVersion()
throws ServerFault
getVersion in interface IChangelogSupportServerFaultpublic void create(java.lang.String uid,
VEventSeries event,
java.lang.Boolean sendNotifications)
throws ServerFault
ICalendarVEvent.create in interface ICalendaruid - the unique identifier for the new eventevent - the VEventSeries to storesendNotifications - if true then notify this event creation
on the events busServerFaultpublic Ack createById(long id, VEventSeries event) throws ServerFault
ICalendarVEventSeries.createById in interface ICalendarcreateById in interface ICrudByIdSupport<VEventSeries>id - the item identifier of the VEventSeriesevent - the VEventSeries to storeServerFaultpublic void update(java.lang.String uid,
VEventSeries event,
java.lang.Boolean sendNotifications)
throws ServerFault
ICalendarVEventSeries.update in interface ICalendaruid - the unique identifier of the eventevent - the VEventSeries to updatesendNotifications - if true then notify this event creation
on the events busServerFaultpublic ItemValue<VEventSeries> getComplete(java.lang.String uid) throws ServerFault
ICalendarVEventSeries identified by the given unique identifier.getComplete in interface ICalendaruid - the unique identifier of the eventVEventSeries if successfulServerFaultpublic java.util.List<ItemValue<VEventSeries>> getByIcsUid(java.lang.String uid) throws ServerFault
ICalendarVEventSeries matching the given ICS unique identifier.getByIcsUid in interface ICalendaruid - the ICS unique identifierVEventSeriesServerFaultpublic java.util.List<ItemValue<VEventSeries>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
ICalendarVEventSeries identified by the given unique
identifiers.multipleGet in interface ICalendaruids - the list of unique identifiersVEventSeriesServerFaultpublic void delete(java.lang.String uid,
java.lang.Boolean sendNotifications)
throws ServerFault
ICalendarVEventSeries identified by the given unique identifier.delete in interface ICalendaruid - the unique identifier of the eventsendNotifications - if true then notify this event deletion
on the events busServerFaultpublic void touch(java.lang.String uid)
throws ServerFault
ICalendarVEvent.touch in interface ICalendaruid - the unique identifier of the eventServerFaultpublic ContainerUpdatesResult updates(VEventChanges changes) throws ServerFault
ICalendarcontainerUid.updates in interface ICalendarchanges - the changes to applyServerFaultpublic ListResult<ItemValue<VEventSeries>> search(VEventQuery query) throws ServerFault
ICalendarsearch in interface ICalendarquery - the VEventQuery to match againstVEventSeriesServerFaultpublic ContainerChangeset<java.lang.String> sync(java.lang.Long since, VEventChanges changes) throws ServerFault
ICalendarsync in interface ICalendarsince - the time from wich compare changeschanges - the changes to applyContainerChangeset of the difSortDescriptorferencesServerFaultpublic ListResult<ItemValue<VEventSeries>> list() throws ServerFault
ICalendarlist in interface ICalendarVEventSeriesServerFaultpublic TaskRef reset() throws ServerFault
ICalendarreset in interface ICalendarServerFaultpublic java.util.List<java.lang.String> all()
throws ServerFault
ICalendarall in interface ICalendarServerFaultpublic ContainerChangeset<ItemVersion> filteredChangesetById(java.lang.Long since, ItemFlagFilter filter) throws ServerFault
filteredChangesetById in interface IChangelogSupportfilter - to exclude some items (eg. deleted items)ContainerChangeset with internal
numeric ids matching the given filterServerFaultpublic Count count(ItemFlagFilter filter) throws ServerFault
ICountingSupportItemFlagFiltercount in interface ICountingSupportServerFaultpublic Ack updateById(long id, VEventSeries value)
ICalendarupdateById in interface ICalendarupdateById in interface ICrudByIdSupport<VEventSeries>id - the item identifier of the VEventSeriesvalue - the new value to setpublic void deleteById(long id)
ICalendardeleteById in interface ICalendardeleteById in interface ICrudByIdSupport<VEventSeries>public ItemValue<VEventSeries> getCompleteById(long id)
ICalendarVEventSeries identified by the given identifier.getCompleteById in interface ICalendargetCompleteById in interface IReadByIdSupport<VEventSeries>id - the identifier of the eventVEventSeries if successfulSortDescriptorpublic java.util.List<java.lang.Long> sortedIds(SortDescriptor sorted) throws ServerFault
ICalendarSortDescriptor.sortedIds in interface ICalendarsortedIds in interface ISortingSupportsorted - sorting criteriaServerFaultpublic void xfer(java.lang.String serverUid)
throws ServerFault
xfer in interface IDataShardSupportServerFaultpublic void multipleDeleteById(java.util.List<java.lang.Long> ids)
throws ServerFault
multipleDeleteById in interface ICrudByIdSupport<VEventSeries>ServerFaultpublic boolean isAutoSyncActivated()
throws ServerFault
ICalendarisAutoSyncActivated in interface ICalendartrue if this calendar is automatically synchronized,
false otherwiseServerFaultpublic ContainerUpdatesResult updates(VEventChanges changes, boolean notify)
updates in interface IInternalCalendarpublic void emitNotification()
emitNotification in interface IInternalCalendarpublic java.util.List<ItemValue<VEventSeries>> multipleGetById(java.util.List<java.lang.Long> ids) throws ServerFault
ICalendarVEventSeries from theirs uniques idsmultipleGetById in interface ICalendarmultipleGetById in interface IReadByIdSupport<VEventSeries>ids - the list of unique idVEventSeriesServerFaultpublic ListResult<ItemValue<VEventSeries>> searchPendingCounters()
ICalendarsearchPendingCounters in interface ICalendarpublic void delete(java.lang.String uid)
delete in interface IRestoreCrudSupport<VEventSeries>public VEventSeries get(java.lang.String uid)
get in interface IRestoreSupport<VEventSeries>public void restore(ItemValue<VEventSeries> item, boolean isCreate)
restore in interface IRestoreSupport<VEventSeries>Copyright © 2023. All Rights Reserved.