org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcTeamManager

java.lang.Object
  extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcTeamManager
All Implemented Interfaces:
java.util.Observer, TeamManager

public class XmlRpcTeamManager
extends java.lang.Object
implements TeamManager, java.util.Observer

Author:
Andreas Rath (teddius), Werner Schuster (murphee)

Field Summary
protected  java.util.Map cached_teams_
           
protected  XmlRpcCaller caller_
           
static java.lang.String OGO_CALL_TEAM_GET_BY_LOGIN
           
static java.lang.String OGO_CALL_TEAM_GET_TEAMS
           
static java.lang.String OGO_CALL_TEAM_INSERT
           
 
Constructor Summary
XmlRpcTeamManager(XmlRpcCaller caller, OpenGroupWare ogo)
           
 
Method Summary
protected  XmlRpcTeam createNewTeam(java.util.Map newContents)
           
 Team getByLogin(java.lang.String login)
           
protected  XmlRpcTeam getCachedTeam(java.lang.Object obj)
           
 java.util.Iterator getTeams()
           
 Team insert(java.lang.String desc)
           
protected  XmlRpcTeam receiveTeam(java.lang.Object accTemp)
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OGO_CALL_TEAM_INSERT

public static final java.lang.String OGO_CALL_TEAM_INSERT
See Also:
Constant Field Values

OGO_CALL_TEAM_GET_TEAMS

public static final java.lang.String OGO_CALL_TEAM_GET_TEAMS
See Also:
Constant Field Values

OGO_CALL_TEAM_GET_BY_LOGIN

public static final java.lang.String OGO_CALL_TEAM_GET_BY_LOGIN
See Also:
Constant Field Values

cached_teams_

protected java.util.Map cached_teams_

caller_

protected XmlRpcCaller caller_
Constructor Detail

XmlRpcTeamManager

public XmlRpcTeamManager(XmlRpcCaller caller,
                         OpenGroupWare ogo)
Method Detail

getTeams

public java.util.Iterator getTeams()
                            throws OgoException,
                                   ConnectionException
Specified by:
getTeams in interface TeamManager
Throws:
OgoException
ConnectionException

getByLogin

public Team getByLogin(java.lang.String login)
                throws OgoException,
                       ConnectionException
Specified by:
getByLogin in interface TeamManager
Throws:
OgoException
ConnectionException

insert

public Team insert(java.lang.String desc)
            throws OgoException,
                   ConnectionException
Specified by:
insert in interface TeamManager
Throws:
OgoException
ConnectionException

createNewTeam

protected XmlRpcTeam createNewTeam(java.util.Map newContents)
                            throws OgoException,
                                   ConnectionException
Throws:
OgoException
ConnectionException

receiveTeam

protected XmlRpcTeam receiveTeam(java.lang.Object accTemp)
                          throws OgoException,
                                 ConnectionException
Throws:
OgoException
ConnectionException

getCachedTeam

protected XmlRpcTeam getCachedTeam(java.lang.Object obj)
                            throws OgoException,
                                   ConnectionException
Throws:
OgoException
ConnectionException

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer


Copyright © 2003 ogojogi Project, All Rights Reserved.