All Packages Class Hierarchy This Package Previous Next Index
Class w3c.pics.db.DataPusher
java.lang.Object
|
+----w3c.pics.db.DataPusher
- public class DataPusher
- extends Object
The DataPusher class handles the user notification portion of the system.
It is sent updates from the database as they are created. It purges its
state every time it actually sends out an update.
-
DataPusher()
-
-
addPage(String, String)
- Adds an entry to the DataPusher.
-
addPicsPage(String, String)
- Adds an entry to the DataPusher, when using PicsRULZ.
-
addPicsPage(String, String, String)
- Adds an entry to the DataPusher, when using PicsRULZ.
-
printData()
- Prints out the contents of the DataPusher.
-
printUser(String)
- Prints out the data for a single user.
-
purgeAll()
- Removes all entries from the DataPusher.
-
purgeUser(String)
- Removes the entry for a single user from the DataPusher.
-
pushAll()
- Prints out an HTML page for each user in the DataPusher.
DataPusher
public DataPusher()
addPicsPage
public void addPicsPage(String theuser,
String thepage)
- Adds an entry to the DataPusher, when using PicsRULZ.
- Parameters:
- theuser - The name of the user.
- thepage - The label to store.
addPicsPage
public void addPicsPage(String theuser,
String thepage,
String theurl)
- Adds an entry to the DataPusher, when using PicsRULZ.
- Parameters:
- theuser - The name of the user.
- thepage - The label to store.
- theurl - The URL to store.
addPage
public void addPage(String theuser,
String thepage)
- Adds an entry to the DataPusher.
- Parameters:
- theuser - The name of the user.
- thepage - The label to store.
printData
public void printData()
- Prints out the contents of the DataPusher.
purgeAll
public void purgeAll()
- Removes all entries from the DataPusher.
purgeUser
public void purgeUser(String user)
- Removes the entry for a single user from the DataPusher.
- Parameters:
- user - The user to remove.
printUser
public void printUser(String user)
- Prints out the data for a single user.
- Parameters:
- user - The user whose data is to be printed.
pushAll
public void pushAll()
- Prints out an HTML page for each user in the DataPusher.
All Packages Class Hierarchy This Package Previous Next Index