Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Some more XML-RPC questions: msg#00027

cms.opengroupware.xmlrpc.devel

Subject: Re: Some more XML-RPC questions

Werner Schuster wrote:
Team:
- why is there no team.update ?

There is team.setMembers. If you need team.update, please post an enh-bug.

- what is the "ownerID" in the Team document?
is that an Id of an Account or of a Person?

owner_id's are always accounts.

- what is this "isLocationTeam" field in the Team document?
the name suggests a boolean that tells whether the Team ... well,
is a "LocationTeam"... but is that right? If not, what does this
field contain?

Yes, this is right. Its a boolean which marks a team as a "location" (eg London, Munich). Whether this has practical value, I don't know ;-)
Its a bit more convenient to select a location in the UI.

Person:
- Well, there we're a little confused about the Person document;

Martin can probably tell more about Person documents when he is back ...

the Address information is stored in a Map, where the key is the
name of the Address ("location", "mailing", etc).

Yes.

But the Phone information seems a little too redundant:
there is a list that contains the Phone types, then there is a
Map where the Phone documents are stored with their phone type as
key AND those Phone documents have again a field that stores the
Phones type... hmm... is there a reason for that?

Not sure. The "model idea" is that you have a "company" record which has named "address" and "phone" records (1:N, 1:N).

You may want to post a bug if you think there is redundant information. Note that the information may indeed be redundant in the Document ObjC object for speed and that the XML-RPC representation is autogenerated.
Anyway, Martin must tell ;-) And I'm not sure whether we want to break the output for legacy reasons.

- about the keys of the Map storing the Addres documents: are those
keys defined in OGo? I mean mustthe names "location", etc. be used or
are they user defined?

In theory they are user defined, but in practice the WebUI frontend only displayed the default set (AFAIK, Martin?) The set of default address always created is LSAddressType, see Defaults.plist.

You may want to submit a bug "add user defined addresses" to Bugzilla.

- similar question about the phone types: are they userdefined or
standard in OGo?

Somewhat like above. But I think the viewers display all available phones, its configurable using the LSTeleType default (see Defaults.plist in LSAddress).

Added the plist to docs:

http://docs.opengroupware.org/Members/helge/.personal/Address%20Defaults/document_view

Thanks in advance to whoever answers these questions (we shall
thank you with a very-early-alpha-if-not-experimental release of JOGI some
time next week (hopefully Tuesday));

:-)

PS: Note to Helge Hess: about the OGo Bug #12, we are a little pressed
for time right now, so we cannot test this at the moment; I hope this is
not a problem;

Seems to be fixed, Burkhard checked. Close the bug.

regards,
Helge
--
http://www.opengroupware.org/

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation