org.opengroupware.jogi.ogo
Interface System

All Known Implementing Classes:
XmlRpcSystem

public interface System

Gives access to some information of the system the OpenGroupware.org installation runs on.

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

Method Summary
 java.lang.String getHostName()
          Returns the hostname of the OpenGroupWare server where all the Remote Calls are made.
 java.util.Date getServerTime()
          Returns the current time on the server.
 java.lang.String getServerTimeZone()
          Returns the timezone from the OpenGroupWare server.
 

Method Detail

getHostName

public java.lang.String getHostName()
                             throws OgoException,
                                    ConnectionException
Returns the hostname of the OpenGroupWare server where all the Remote Calls are made.

Returns:
A string representing the fully qualified domain name of the remote host.
Throws:
OgoException
ConnectionException

getServerTimeZone

public java.lang.String getServerTimeZone()
                                   throws OgoException,
                                          ConnectionException
Returns the timezone from the OpenGroupWare server.

Returns:
A string representing the timezone from the OpenGroupware server.
Throws:
OgoException
ConnectionException

getServerTime

public java.util.Date getServerTime()
                             throws OgoException,
                                    ConnectionException
Returns the current time on the server.

Returns:
the time on the server as Date object, or null if the call could not be completed.
Throws:
OgoException
ConnectionException


Copyright © 2003 ogojogi Project, All Rights Reserved.