com.planet_ink.coffee_mud.core.database
Class PollLoader

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.database.PollLoader

public class PollLoader
extends java.lang.Object


Field Summary
protected  DBConnector DB
           
 
Constructor Summary
PollLoader(DBConnector newDB)
           
 
Method Summary
 void DBCreate(java.lang.String name, java.lang.String player, java.lang.String subject, java.lang.String description, java.lang.String optionXML, int flag, java.lang.String qualZapper, java.lang.String results, long expiration)
           
 void DBDelete(java.lang.String name)
           
 DatabaseEngine.PollData DBRead(java.lang.String name)
           
 java.util.List<DatabaseEngine.PollData> DBReadList()
           
 void DBUpdate(java.lang.String name, java.lang.String results)
           
 void DBUpdate(java.lang.String OldName, java.lang.String name, java.lang.String player, java.lang.String subject, java.lang.String description, java.lang.String optionXML, int flag, java.lang.String qualZapper, java.lang.String results, long expiration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DB

protected DBConnector DB
Constructor Detail

PollLoader

public PollLoader(DBConnector newDB)
Method Detail

DBRead

public DatabaseEngine.PollData DBRead(java.lang.String name)

DBReadList

public java.util.List<DatabaseEngine.PollData> DBReadList()

DBUpdate

public void DBUpdate(java.lang.String OldName,
                     java.lang.String name,
                     java.lang.String player,
                     java.lang.String subject,
                     java.lang.String description,
                     java.lang.String optionXML,
                     int flag,
                     java.lang.String qualZapper,
                     java.lang.String results,
                     long expiration)

DBUpdate

public void DBUpdate(java.lang.String name,
                     java.lang.String results)

DBDelete

public void DBDelete(java.lang.String name)

DBCreate

public void DBCreate(java.lang.String name,
                     java.lang.String player,
                     java.lang.String subject,
                     java.lang.String description,
                     java.lang.String optionXML,
                     int flag,
                     java.lang.String qualZapper,
                     java.lang.String results,
                     long expiration)