CalendarItemApi class

Constructors

CalendarItemApi(String _sdkId)

Properties

encrypted EncryptedCalendarItemApi
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover TryAndRecoverCalendarItemApi
final

Methods

createCalendarItem(DecryptedCalendarItem entity) Future<DecryptedCalendarItem>
createDelegationDeAnonymizationMetadata(CalendarItem entity, Set<String> delegates) Future<void>
decrypt(EncryptedCalendarItem calendarItem) Future<DecryptedCalendarItem>
decryptPatientIdOf(CalendarItem calendarItem) Future<Set<String>>
deleteCalendarItem(CalendarItem calendarItem) Future<DocIdentifier>
deleteCalendarItemById(String entityId, String rev) Future<DocIdentifier>
deleteCalendarItems(List<CalendarItem> calendarItems) Future<List<DocIdentifier>>
deleteCalendarItemsByIds(List<IdWithMandatoryRev> entityIds) Future<List<DocIdentifier>>
filterCalendarItemsBy(FilterOptions<CalendarItem> filter) Future<PaginatedListIterator<DecryptedCalendarItem>>
filterCalendarItemsBySorted(SortableFilterOptions<CalendarItem> filter) Future<PaginatedListIterator<DecryptedCalendarItem>>
getCalendarItem(String entityId) Future<DecryptedCalendarItem>
getCalendarItems(List<String> entityIds) Future<List<DecryptedCalendarItem>>
getEncryptionKeysOf(CalendarItem calendarItem) Future<Set<HexString>>
hasWriteAccess(CalendarItem calendarItem) Future<bool>
linkToPatient(CalendarItem calendarItem, Patient patient, Set<String> shareLinkWithDelegates) Future<DecryptedCalendarItem>
matchCalendarItemsBy(FilterOptions<CalendarItem> filter) Future<List<String>>
matchCalendarItemsBySorted(SortableFilterOptions<CalendarItem> filter) Future<List<String>>
modifyCalendarItem(DecryptedCalendarItem entity) Future<DecryptedCalendarItem>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
purgeCalendarItem(CalendarItem calendarItem) Future<void>
purgeCalendarItemById(String id, String rev) Future<void>
shareWith(String delegateId, DecryptedCalendarItem calendarItem, {CalendarItemShareOptions? options}) Future<DecryptedCalendarItem>
shareWithMany(DecryptedCalendarItem calendarItem, Map<String, CalendarItemShareOptions> delegates) Future<DecryptedCalendarItem>
subscribeToEvents(Set<SubscriptionEventType> events, FilterOptions<CalendarItem> filter, {EntitySubscriptionConfiguration? subscriptionConfig}) Future<EntitySubscription<EncryptedCalendarItem>>
toString() String
A string representation of this object.
inherited
tryDecrypt(EncryptedCalendarItem calendarItem) Future<CalendarItem>
undeleteCalendarItem(CalendarItem calendarItem) Future<DecryptedCalendarItem>
undeleteCalendarItemById(String id, String rev) Future<DecryptedCalendarItem>
withEncryptionMetadata(DecryptedCalendarItem? base, Patient patient, {User? user, Map<String, AccessLevel> delegates = const {}, SecretIdUseOption secretId = SecretIdUseOption.UseAnySharedWithParent}) Future<DecryptedCalendarItem>

Operators

operator ==(Object other) bool
The equality operator.
inherited