org.inigma.waragent.crud
Class SpellCrud

java.lang.Object
  extended by org.inigma.waragent.crud.AbstractCrud
      extended by org.inigma.waragent.crud.SpellCrud

public class SpellCrud
extends AbstractCrud


Field Summary
 
Fields inherited from class org.inigma.waragent.crud.AbstractCrud
configuration, connection
 
Constructor Summary
SpellCrud()
           
 
Method Summary
 boolean deleteSpell(org.inigma.utopia.spellbook.Spell spell)
           
 org.inigma.utopia.spellbook.Spellbook getSpellbook(java.lang.String accountId)
           
 java.util.Map<java.lang.String,org.inigma.utopia.spellbook.Spell> getSpellDescription()
           
 boolean saveSpellbook(org.inigma.utopia.spellbook.Spellbook spellbook)
           
 
Methods inherited from class org.inigma.waragent.crud.AbstractCrud
commit, getConfig, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpellCrud

public SpellCrud()
Method Detail

deleteSpell

public boolean deleteSpell(org.inigma.utopia.spellbook.Spell spell)
                    throws java.sql.SQLException
Throws:
java.sql.SQLException

getSpellbook

public org.inigma.utopia.spellbook.Spellbook getSpellbook(java.lang.String accountId)
                                                   throws java.sql.SQLException
Throws:
java.sql.SQLException

getSpellDescription

public java.util.Map<java.lang.String,org.inigma.utopia.spellbook.Spell> getSpellDescription()
                                                                                      throws java.sql.SQLException
Throws:
java.sql.SQLException

saveSpellbook

public boolean saveSpellbook(org.inigma.utopia.spellbook.Spellbook spellbook)
                      throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2008. All Rights Reserved.