Re: need project.addPerson or person.addProject
Helge Hess <[email protected]> Thu, 22 Dec 2005 13:00:47 +0100
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
On 22. Dez 2005, at 11:46 Uhr, Frank Patzig wrote:
> i found in the system.listMethods not the function project.addPerson
> (project.delPerson) or person.addProject(person.delProject). I
> will combination person with project. Can i help me?
I don't know whether you can help yourself ;-)
There is a project.addAccount method, maybe thats sufficient for what
you want to do:
bool project.addAccount(string project-id,
string login,
string permissions)
The permissions field is a string containing the chars 'r', 'w', 'i',
'd', 'm'.
Apparently there is no project.removeAccount() method and I can't
find methods to work on the associated contacts, teams or companies
either. I assume those simply do not exist (feel free to file enh-
requests in Bugzilla).
Greets,
Helge
---snip---
helge@groove$ grep Action DirectAction+Project.m
#include "DirectAction.h"
#include "EOControl+XmlRpcDirectAction.h"
@implementation DirectAction(Project)
- (NSArray *)project_fetchAction:(id)_arg {
- (id)project_addAccountAction:(NSString *)_projectID
- (id)project_getAccountsAction:(id)_projectID {
- (id)project_insertAction:(id)_arg {
- (id)project_updateAction:(id)_arg {
- (id)project_deleteAction:(id)_arg {
- (id)project_newDocumentAction:(id)_pid:(id)_path:(id)_cont:(id)_at {
- (NSString *)project_loadDocumentAction:(id)_pid:(NSString *)_path {
- (NSData *)project_getFileContentAction:(id)_pid:(NSString *)_path:
(NSString *)_version
- (NSNumber *)project_saveDocumentAction:(id)_pid:(NSString *)_path:
(id)_cont {
- (NSString *)project_cwdAction:(id)_pid {
- (NSNumber *)project_cdAction:(id)_pid:(NSString *)_path {
- (id)project_lsAction:(id)_pid:(id)_args {
- (NSNumber *)project_mkdirAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_rmdirAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_rmAction:(id)_pid:(NSArray *)_args {
- (id)project_attrAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_cpAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_cpAction:(id)_pid
return [self project_cpAction:_pid:args];
- (NSNumber *)project_mvAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_mvAction:(id)_pid
return [self project_mvAction:_pid:args];
- (NSNumber *)project_lnAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_lnAction:(id)_pid
return [self project_lnAction:_pid:args];
- (NSNumber *)project_existsAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_isdirAction:(id)_pid:(NSArray *)_args {
- (NSNumber *)project_islinkAction:(id)_pid:(NSArray *)_args {
- (id)project_flushAction:(id)_pid {
- (id)project_zipAction:(id)_pid:(NSArray *)_args {
- (id)project_subPathsAtPathAction:(id)_pid:(NSArray *)_args {
- (id)project_fileAttributesAtDirectoryAction:(id)_pid:(NSArray *)
_args {
- (id)project_checkoutFileAtPathAction:(id)_pid:(NSString *)_path:
(NSString *)_ver {
- (id)project_checkoutFileAtPathAction:(id)_pid:(NSString *)_path {
return [self project_checkoutFileAtPathAction:_pid:_path:nil];
- (id)project_releaseFileAtPathAction:(id)_pid:(NSString *)_path {
- (id)project_rejectFileAtPathAction:(id)_pid:(NSString *)_path {
- (NSArray *)project_getVersionsAtPathAction:(id)_pid:(NSString *)
_path {
- (NSString *)project_getLastVersionAtPathAction:(id)_pid:(NSString *)
_path {
@end /* DirectAction(Project) */
---snap--
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc