aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/vcomponent/data-stores.texi
blob: ec3962da27451857693176aa80e739a0c27e7a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@node Data Stores
@section Data Stores
Data stores are persistant stores for events, such as databases or the
file system. Each data store can support any number of data formats,
but which is an implementation detail of that format and shouldn't be
needed information from the high level view.
@footnote{It is however important for interoperability with other programs}.

@c (make <calendar-store> #:path ``hello'')

@defun path store
@end defun

@deftp {GOOPS method} get-calendar this
Returns a vcomponent object of type @code{VCALENDAR}. Should contain
all @code{VEVENT} components of this calendar.
@end deftp

@deftp {GOOPS method} get-by-uid this uid
Return the event object with UID equal to the string @var{uid}.
@end deftp

@deftp {GOOPS method} queue-save this event
Queue a save event of @var{event} to the store.
@end deftp

@deftp {GOOPS method} flush this
Force write of all queued actions.
@end deftp

@subsection VDir
[VDIR]: http://vdirsyncer.pimutils.org/en/latest/vdir.html

@subsection File

@subsection SQLite