< < E-NEF > >
Prog. Perl | Art Roman | Voyager | Cartes ()
                  dragon                     e-nef                 Plan du Site
Contact
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class orchid.server.DBQuerying

java.lang.Object
   |
   +----orchid.server.DBQuerying

public class DBQuerying
extends Object
A class used by servers to strore and retrieve data to and from the Data Bases of the Orchid system.

Author:
Marc-Aurèle DARCHE

Constructor Index

 o DBQuerying(String)

Method Index

 o addAgent(AgentInfo)
add an agent to the agents database of the SAA.
 o addMeeting(String, Meeting)
 o addServer(ServerInfo)
add a new server to the servers database of the SAA.
 o getAgents(String)
give all the agents info living on the local server.
 o getAuthentication(String, String)
Tells wether a user authentified by a login and a password is authorized to log in.
 o getMeetings(String, Date, Date)
This method return a Vector, sorted by date, containing the Meetings scheduled between the beginning date and the end date.
 o getServers(String)
give all the servers info known by the SAA.
 o main(String[])
The main method is only here to test the other DBQuerying methods.
 o removeAgent(AgentInfo)
 o removeMeeting(String, Meeting)
 o removeServer(ServerInfo)
remove a server from the servers database of the SAA.
 o updateAgent(AgentInfo)
 o updateMeeting(Meeting)
 o updateServer(ServerInfo)
update info about a server in the servers database of the SAA.

Constructors

 o DBQuerying
 public DBQuerying(String dbname)

Methods

 o getServers
 public Vector getServers(String filter)
give all the servers info known by the SAA.

 o addServer
 public void addServer(ServerInfo si)
add a new server to the servers database of the SAA.

 o removeServer
 public void removeServer(ServerInfo si)
remove a server from the servers database of the SAA.

 o updateServer
 public void updateServer(ServerInfo si)
update info about a server in the servers database of the SAA.

 o getAuthentication
 public boolean getAuthentication(String login,
                                  String password)
Tells wether a user authentified by a login and a password is authorized to log in.

 o getAgents
 public Vector getAgents(String filter)
give all the agents info living on the local server.

 o addAgent
 public void addAgent(AgentInfo ai)
add an agent to the agents database of the SAA.

 o removeAgent
 public void removeAgent(AgentInfo ai)
 o updateAgent
 public void updateAgent(AgentInfo ai)
 o getMeetings
 public Vector getMeetings(String user,
                           Date beginning,
                           Date end)
This method return a Vector, sorted by date, containing the Meetings scheduled between the beginning date and the end date.

 o addMeeting
 public void addMeeting(String user,
                        Meeting m)
 o removeMeeting
 public void removeMeeting(String user,
                           Meeting m)
 o updateMeeting
 public void updateMeeting(Meeting m)
 o main
 public static void main(String args[])
The main method is only here to test the other DBQuerying methods.


All Packages  Class Hierarchy  This Package  Previous  Next  Index
© Copyright 1998-2008 Emmanuel PIERRE. Libre reproduction sous Licence LLDDv1.
Pour tout commentaire, webmaster@e-nef.com
Dernière MaJ 31/01/2018

Valid XHTML 1.0!

No Patents/