[OGo-XML-RPC] project.fetchJobs alternative?
Adam Williams
xmlrpc@opengroupware.org
Thu, 08 Feb 2007 07:00:56 -0500
> the project.fetchJobs method seems not to be implemented.
Correct
---
- (NSArray *)project_fetchJobsAction:(id)_person :(id)_fSpec {
/* TODO: hh: NOT IMPLEMENTED ?? */
/* TODO: hh: person argument ??? */
return [NSArray array];
// TODO: ???
return [self _fetchJobsOf:[self _getPersonByArgument:_person]
fSpec:_fSpec];
}
---
Pretty weird looking.
> What is the
> best way if i want to have all jobs assigned to a project?
> I have no idea to get the relationship between a job and a project.
It seems that person.fetchJobs takes a fetch specification as the second
parameter - person_fetchJobsAction:(id)_person :(id)_fSpec
Have you tried setting a "projectId = 123456" as a parameter in the
fetch spec?
Or you could try my alternative XML-RPC interface, which will return
jobs in a project; http://code.google.com/p/zogi/wiki/Project It is
not yet complete, but that part is working. ZOGI builds into a
ZideStore bundle.