org.opengroupware.jogi.connect.xmlrpc
Class XmlRpcTeam

java.lang.Object
  extended byjava.util.Observable
      extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
          extended byorg.opengroupware.jogi.connect.xmlrpc.XmlRpcTeam
All Implemented Interfaces:
Team

public class XmlRpcTeam
extends XmlRpcBaseDocument
implements Team

Author:
Werner Schuster (murphee)

Field Summary
static java.lang.String KEY_DESCRIPTION
           
static java.lang.String KEY_EMAIL
           
static java.lang.String KEY_IS_LOCATION_TEAM
           
static java.lang.String KEY_OWNER_ID
           
 
Fields inherited from class org.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
content_, id_, KEY_ID
 
Constructor Summary
XmlRpcTeam(XmlRpcCaller caller, java.util.Map content)
           
 
Method Summary
protected  boolean checkNewContent(java.util.Map new_content)
          This method checks whether the provided Map contains a valid document.
 java.lang.String getDescription()
          The description that this team is known by.
 java.lang.String getEmail()
           
 boolean isLocationTeam()
           
 void setDescription(java.lang.String description)
           
 void setEmail(java.lang.String email)
           
 void setIsLocationTeam(boolean isLocationTeam)
           
 
Methods inherited from class org.opengroupware.jogi.connect.xmlrpc.XmlRpcBaseDocument
fireNotify, getContent, getId, getString, put, setContent
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengroupware.jogi.ogo.Team
getId
 

Field Detail

KEY_DESCRIPTION

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

KEY_EMAIL

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

KEY_IS_LOCATION_TEAM

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

KEY_OWNER_ID

public static final java.lang.String KEY_OWNER_ID
See Also:
Constant Field Values
Constructor Detail

XmlRpcTeam

public XmlRpcTeam(XmlRpcCaller caller,
                  java.util.Map content)
           throws OgoException,
                  ConnectionException
Method Detail

getDescription

public java.lang.String getDescription()
                                throws OgoException,
                                       ConnectionException
Description copied from interface: Team
The description that this team is known by.

Specified by:
getDescription in interface Team
Returns:
String of the description
Throws:
OgoException
ConnectionException

setDescription

public void setDescription(java.lang.String description)
                    throws OgoException,
                           ConnectionException
Specified by:
setDescription in interface Team
Throws:
OgoException
ConnectionException

getEmail

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

setEmail

public void setEmail(java.lang.String email)
              throws OgoException,
                     ConnectionException
Specified by:
setEmail in interface Team
Throws:
OgoException
ConnectionException

isLocationTeam

public boolean isLocationTeam()
                       throws OgoException,
                              ConnectionException
Specified by:
isLocationTeam in interface Team
Throws:
OgoException
ConnectionException

setIsLocationTeam

public void setIsLocationTeam(boolean isLocationTeam)
                       throws OgoException,
                              ConnectionException
Specified by:
setIsLocationTeam in interface Team
Throws:
OgoException
ConnectionException

checkNewContent

protected boolean checkNewContent(java.util.Map new_content)
Description copied from class: XmlRpcBaseDocument
This method checks whether the provided Map contains a valid document. If essential parts are missing or are of a wrong type, this method must return false, otherwise true.

Specified by:
checkNewContent in class XmlRpcBaseDocument
Parameters:
new_content - The new content for the document.
Returns:
true if the content meets all requirements, otherwise false.


Copyright © 2003 ogojogi Project, All Rights Reserved.