Org gnome evolution dataserver AddressBook. org gnome evolution dataserver addressbook file 3a 2f 2f 2f home 2f root 2f 2e evolution 2f addressbook 2f local 2f system

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
Line 122: Line 122:
  
 
</pre>
 
</pre>
 +
 +
[[Category:Application Developer]]

Revision as of 06:21, 8 July 2008

Overview

Bus name: org.gnome.evolution.dataserver.AddressBook
Object name: /org/gnome/evolution/dataserver/addressbook/file_3a__2f__2f__2f_home_2f_root_2f__2e_evolution_2f_addressbook_2f_local_2f_system
  interface org.freedesktop.DBus.Introspectable
    (data:s) Introspect()
  interface org.freedesktop.DBus.Properties
    (value:v) Get(interface:s,propname:s)
    () Set(interface:s,propname:s,value:v)
  interface org.gnome.evolution.dataserver.addressbook.Book
    () close()
    () cancelOperation()
    (changes:a(us)) getChanges(change_id:s)
    (view:o) getBookView(query:s,max_results:u)
    (auth_methods:as) getSupportedAuthMethods()
    (fields:as) getSupportedFields()
    (fields:as) getRequiredFields()
    (capabilities:s) getStaticCapabilities()
    () modifyContacts(vcards:as)
    () modifyContact(vcard:s)
    () removeContacts(list:as)
    (uid:s) addContact(vcard:s)
    () authenticateUser(user:s,passwd:s,auth_method:s)
    (vcards:as) getContactList(query:s)
    (vcard:s) getContact(uid:s)
    () remove()
    () open(only_if_exists:b)
    auth_required()
    connection(arg1:b)
    writable(arg1:b)

Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="data" direction="out" type="s"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="out" type="v"/>
    </method>
    <method name="Set">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="in" type="v"/>
    </method>
  </interface>
  <interface name="org.gnome.evolution.dataserver.addressbook.Book">
    <method name="close">
    </method>
    <method name="cancelOperation">
    </method>
    <method name="getChanges">
      <arg name="change_id" type="s" direction="in"/>
      <arg name="changes" type="a(us)" direction="out"/>
    </method>
    <method name="getBookView">
      <arg name="query" type="s" direction="in"/>
      <arg name="max_results" type="u" direction="in"/>
      <arg name="view" type="o" direction="out"/>
    </method>
    <method name="getSupportedAuthMethods">
      <arg name="auth_methods" type="as" direction="out"/>
    </method>
    <method name="getSupportedFields">
      <arg name="fields" type="as" direction="out"/>
    </method>
    <method name="getRequiredFields">
      <arg name="fields" type="as" direction="out"/>
    </method>
    <method name="getStaticCapabilities">
      <arg name="capabilities" type="s" direction="out"/>
    </method>
    <method name="modifyContacts">
      <arg name="vcards" type="as" direction="in"/>
    </method>
    <method name="modifyContact">
      <arg name="vcard" type="s" direction="in"/>
    </method>
    <method name="removeContacts">
      <arg name="list" type="as" direction="in"/>
    </method>
    <method name="addContact">
      <arg name="vcard" type="s" direction="in"/>
      <arg name="uid" type="s" direction="out"/>
    </method>
    <method name="authenticateUser">
      <arg name="user" type="s" direction="in"/>
      <arg name="passwd" type="s" direction="in"/>
      <arg name="auth_method" type="s" direction="in"/>
    </method>
    <method name="getContactList">
      <arg name="query" type="s" direction="in"/>
      <arg name="vcards" type="as" direction="out"/>
    </method>
    <method name="getContact">
      <arg name="uid" type="s" direction="in"/>
      <arg name="vcard" type="s" direction="out"/>
    </method>
    <method name="remove">
    </method>
    <method name="open">
      <arg name="only_if_exists" type="b" direction="in"/>
    </method>
    <signal name="auth_required">
    </signal>
    <signal name="connection">
      <arg type="b"/>
    </signal>
    <signal name="writable">
      <arg type="b"/>
    </signal>
  </interface>
</node>

Personal tools

Overview

Bus name: org.gnome.evolution.dataserver.AddressBook
Object name: /org/gnome/evolution/dataserver/addressbook/file_3a__2f__2f__2f_home_2f_root_2f__2e_evolution_2f_addressbook_2f_local_2f_system
  interface org.freedesktop.DBus.Introspectable
    (data:s) Introspect()
  interface org.freedesktop.DBus.Properties
    (value:v) Get(interface:s,propname:s)
    () Set(interface:s,propname:s,value:v)
  interface org.gnome.evolution.dataserver.addressbook.Book
    () close()
    () cancelOperation()
    (changes:a(us)) getChanges(change_id:s)
    (view:o) getBookView(query:s,max_results:u)
    (auth_methods:as) getSupportedAuthMethods()
    (fields:as) getSupportedFields()
    (fields:as) getRequiredFields()
    (capabilities:s) getStaticCapabilities()
    () modifyContacts(vcards:as)
    () modifyContact(vcard:s)
    () removeContacts(list:as)
    (uid:s) addContact(vcard:s)
    () authenticateUser(user:s,passwd:s,auth_method:s)
    (vcards:as) getContactList(query:s)
    (vcard:s) getContact(uid:s)
    () remove()
    () open(only_if_exists:b)
    auth_required()
    connection(arg1:b)
    writable(arg1:b)

Introspect XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
  <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
      <arg name="data" direction="out" type="s"/>
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="out" type="v"/>
    </method>
    <method name="Set">
      <arg name="interface" direction="in" type="s"/>
      <arg name="propname" direction="in" type="s"/>
      <arg name="value" direction="in" type="v"/>
    </method>
  </interface>
  <interface name="org.gnome.evolution.dataserver.addressbook.Book">
    <method name="close">
    </method>
    <method name="cancelOperation">
    </method>
    <method name="getChanges">
      <arg name="change_id" type="s" direction="in"/>
      <arg name="changes" type="a(us)" direction="out"/>
    </method>
    <method name="getBookView">
      <arg name="query" type="s" direction="in"/>
      <arg name="max_results" type="u" direction="in"/>
      <arg name="view" type="o" direction="out"/>
    </method>
    <method name="getSupportedAuthMethods">
      <arg name="auth_methods" type="as" direction="out"/>
    </method>
    <method name="getSupportedFields">
      <arg name="fields" type="as" direction="out"/>
    </method>
    <method name="getRequiredFields">
      <arg name="fields" type="as" direction="out"/>
    </method>
    <method name="getStaticCapabilities">
      <arg name="capabilities" type="s" direction="out"/>
    </method>
    <method name="modifyContacts">
      <arg name="vcards" type="as" direction="in"/>
    </method>
    <method name="modifyContact">
      <arg name="vcard" type="s" direction="in"/>
    </method>
    <method name="removeContacts">
      <arg name="list" type="as" direction="in"/>
    </method>
    <method name="addContact">
      <arg name="vcard" type="s" direction="in"/>
      <arg name="uid" type="s" direction="out"/>
    </method>
    <method name="authenticateUser">
      <arg name="user" type="s" direction="in"/>
      <arg name="passwd" type="s" direction="in"/>
      <arg name="auth_method" type="s" direction="in"/>
    </method>
    <method name="getContactList">
      <arg name="query" type="s" direction="in"/>
      <arg name="vcards" type="as" direction="out"/>
    </method>
    <method name="getContact">
      <arg name="uid" type="s" direction="in"/>
      <arg name="vcard" type="s" direction="out"/>
    </method>
    <method name="remove">
    </method>
    <method name="open">
      <arg name="only_if_exists" type="b" direction="in"/>
    </method>
    <signal name="auth_required">
    </signal>
    <signal name="connection">
      <arg type="b"/>
    </signal>
    <signal name="writable">
      <arg type="b"/>
    </signal>
  </interface>
</node>