CalendarItemApi class

Constructors

CalendarItemApi.new(String _sdkId, Object _dartSdk)

Properties

encrypted CalendarItemEncryptedApi
final
hashCode int
The hash code for this object.
no setterinherited
inGroup CalendarItemInGroupApi
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tryAndRecover CalendarItemTryAndRecoverApi
final

Methods

createCalendarItem(DecryptedCalendarItem entity) Future<DecryptedCalendarItem>
createDelegationDeAnonymizationMetadata(CalendarItem entity, Set<String> delegates) Future<void>
decrypt(List<EncryptedCalendarItem> calendarItems) Future<List<DecryptedCalendarItem>>
decryptPatientIdOf(CalendarItem calendarItem) Future<Set<EntityReferenceInGroup>>
deleteCalendarItem(CalendarItem calendarItem) Future<StoredDocumentIdentifier>
deleteCalendarItemById(String entityId, String rev) Future<StoredDocumentIdentifier>
deleteCalendarItems(List<CalendarItem> calendarItems) Future<List<StoredDocumentIdentifier>>
deleteCalendarItemsByIds(List<StoredDocumentIdentifier> entityIds) Future<List<StoredDocumentIdentifier>>
encryptOrValidate(List<CalendarItem> calendarItems) Future<List<EncryptedCalendarItem>>
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(List<EncryptedCalendarItem> calendarItems) Future<List<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