summaryrefslogtreecommitdiff
path: root/src/private/org.gnome.evolution.dataserver.AddressBook.xml
blob: b0fcad283810611b4054ce78a016581d51d33c77 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">

<!--
    org.gnome.evolution.dataserver.AddressBook:
    @short_description: Address book objects
    @since: 3.8

    This interface allows for interaction with an address book backend.
-->
<interface name="org.gnome.evolution.dataserver.AddressBook">

  <property name="Online" type="b" access="read"/>
  <property name="Revision" type="s" access="read"/>
  <property name="Locale" type="s" access="read"/>
  <property name="Writable" type="b" access="read"/>
  <property name="Categories" type="as" access="read"/>

  <!-- These properties are static. -->

  <property name="CacheDir" type="s" access="read"/>
  <property name="Capabilities" type="as" access="read"/>
  <property name="RequiredFields" type="as" access="read"/>
  <property name="SupportedFields" type="as" access="read"/>

  <signal name="Error">
    <arg name="error_message" type="s"/>
  </signal>

  <method name="RetrieveProperties">
    <arg name="properties" direction="out" type="as"/>
  </method>

  <method name="Open">
    <arg name="properties" direction="out" type="as"/>
  </method>

  <method name="Close"/>

  <method name="Refresh"/>

  <method name="CreateContacts">
    <arg name="vcards" direction="in" type="as"/>
    <arg name="opflags" direction="in" type="u"/>
    <arg name="uids" direction="out" type="as"/>
  </method>

  <method name="ModifyContacts">
    <arg name="vcards" direction="in" type="as"/>
    <arg name="opflags" direction="in" type="u"/>
  </method>

  <method name="RemoveContacts">
    <arg name="uids" direction="in" type="as"/>
    <arg name="opflags" direction="in" type="u"/>
  </method>

  <method name="GetContact">
    <arg name="uid" direction="in" type="s"/>
    <arg name="vcard" direction="out" type="s"/>
  </method>

  <method name="GetContactList">
    <arg name="query" direction="in" type="s"/>
    <arg name="vcards" direction="out" type="as"/>
  </method>

  <method name="GetContactListUids">
    <arg name="query" direction="in" type="s"/>
    <arg name="uids" direction="out" type="as"/>
  </method>

  <method name="GetView">
    <arg name="query" direction="in" type="s"/>
    <arg name="object_path" direction="out" type="o"/>
  </method>

  <method name="GetCursor">
    <arg name="query" direction="in" type="s"/>
    <arg name="sort_keys" direction="in" type="as"/>
    <arg name="sort_types" direction="in" type="as"/>
    <arg name="object_path" direction="out" type="o"/>
  </method>

  <method name="ContainsEmail">
    <arg name="email" direction="in" type="s"/>
    <arg name="result" direction="out" type="b"/>
  </method>

</interface>