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