org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcProjectManager
java.lang.Object
org.opengroupware.jogi.connect.xmlrpc.XmlRpcProjectManager
- All Implemented Interfaces:
- java.util.Observer, ProjectManager
- public class XmlRpcProjectManager
- extends java.lang.Object
- implements ProjectManager
- Author:
- Andreas Rath (teddius), Werner Schuster (murphee)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OGO_CALL_PROJECT_UPDATE
public static final java.lang.String OGO_CALL_PROJECT_UPDATE
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_DELETE
public static final java.lang.String OGO_CALL_PROJECT_DELETE
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_INSERT
public static final java.lang.String OGO_CALL_PROJECT_INSERT
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_GET_BY_ID
public static final java.lang.String OGO_CALL_PROJECT_GET_BY_ID
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_GET_BY_NAME
public static final java.lang.String OGO_CALL_PROJECT_GET_BY_NAME
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_CATEGORIES
public static final java.lang.String OGO_CALL_PROJECT_CATEGORIES
- See Also:
- Constant Field Values
OGO_CALL_PROJECT_FETCH
public static final java.lang.String OGO_CALL_PROJECT_FETCH
- See Also:
- Constant Field Values
cached_projects_
protected java.util.Map cached_projects_
XmlRpcProjectManager
public XmlRpcProjectManager(XmlRpcCaller caller)
insert
public Project insert(java.lang.String name,
java.util.Date startDate,
java.util.Date endDate)
throws OgoException,
ConnectionException
- Specified by:
insert
in interface ProjectManager
- Throws:
OgoException
ConnectionException
delete
public void delete(Project project)
throws OgoException,
ConnectionException
- Specified by:
delete
in interface ProjectManager
- Throws:
OgoException
ConnectionException
update
public void update(java.util.Observable o,
java.lang.Object arg)
- Specified by:
update
in interface java.util.Observer
fetch
public java.util.Iterator fetch(java.lang.String fspec)
throws OgoException,
ConnectionException
- Description copied from interface:
ProjectManager
- Fetches a list of Projects.
- Specified by:
fetch
in interface ProjectManager
- Parameters:
fspec
- the query expression to find the Projects.
- Returns:
- an Iterator of Project objects;
- Throws:
OgoException
ConnectionException
fetch
public java.util.Iterator fetch(FetchSpecification spec)
throws OgoException,
ConnectionException
- Description copied from interface:
ProjectManager
- Fetches a list of Projects.
- Specified by:
fetch
in interface ProjectManager
- Parameters:
spec
- A FetchSpecification describing the projects to fetch.
- Returns:
- an Iterator of Project objects;
- Throws:
OgoException
ConnectionException
- See Also:
FetchSpecification
prepareFetchResult
protected java.util.List prepareFetchResult(java.lang.Object res)
throws OgoException,
ConnectionException
- Throws:
OgoException
ConnectionException
receiveProject
protected XmlRpcProject receiveProject(java.lang.Object accTemp)
throws OgoException,
ConnectionException
- Throws:
OgoException
ConnectionException
getCachedProject
protected XmlRpcProject getCachedProject(java.lang.Object obj)
throws OgoException,
ConnectionException
- Throws:
OgoException
ConnectionException
createNewProject
protected XmlRpcProject createNewProject(java.util.Map content)
throws OgoException,
ConnectionException
- Throws:
OgoException
ConnectionException
Copyright © 2003 ogojogi Project, All Rights Reserved.