|
|
Choosing A Webhost: |
Re: ogojogi->job->set: msg#00007cms.opengroupware.xmlrpc.devel
Christoph Guse wrote: Hi Helge, It's in the org.opengroupware.jogi.connect.xmlrpc.XmlRpcJobManager class, defined as JOB_MANAGER_JOB_UPDATE, which is used in the public void update(Observable o, Object arg) method in the same class. I looked at the code, and you could something like this (in the update method): List param = new Vector(); // New Code start: XmlRpcPerson pers = (XmlRpcPerson)job.getCreator().getPerson(); param.add(new Hashtable(pers.getContent())); // New Code end param.add(jobDoc); The jobs.updateJob function needs full Person object... but I'm not sure which Person they want. I assume it's the creator, but it might also be the Executor (in that case, adapt code in the first new line with (XmlRpcPerson)job.getCreator().getPerson(); ). I haven't tested this code, so I don't know if this really works. If you get this working, I'd appreciate it if you could send me the working code (a patch or diff, or just the code you updated), so I could incorporate these changes into the JOGI CVS HEAD. murphee -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: ogojogi->job->set, Christoph Guse |
|---|---|
| Next by Date: | Re: ogojogi->job->set, Christoph Guse |
| Previous by Thread: | Re: ogojogi->job->set, Christoph Guse |
| Next by Thread: | Re: ogojogi->job->set, Christoph Guse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |