Fido Alpha 3.2

fido.db
Class InstructionGroupTable

java.lang.Object
  |
  +--fido.db.InstructionGroupTable

public class InstructionGroupTable
extends java.lang.Object


Constructor Summary
InstructionGroupTable()
           
 
Method Summary
 void addGroupInstruction(int id, int groupId)
           
 void addInstructionAt(java.sql.Statement stmt, int id, int row, int groupId)
           
 void deleteGroupInstruction(int id, int rank)
           
 void deleteInstruction(java.sql.Statement stmt, int id)
           
 java.util.Collection listGroupInstructions(int id)
           
 void moveRowDown(int id, int row)
          Moves the row specified by row down in priority.
 void moveRowUp(int id, int row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstructionGroupTable

public InstructionGroupTable()
Method Detail

addInstructionAt

public void addInstructionAt(java.sql.Statement stmt,
                             int id,
                             int row,
                             int groupId)
                      throws java.sql.SQLException
java.sql.SQLException

deleteInstruction

public void deleteInstruction(java.sql.Statement stmt,
                              int id)
                       throws java.sql.SQLException
java.sql.SQLException

addGroupInstruction

public void addGroupInstruction(int id,
                                int groupId)
                         throws FidoDatabaseException,
                                InstructionNotFoundException
FidoDatabaseException
InstructionNotFoundException

deleteGroupInstruction

public void deleteGroupInstruction(int id,
                                   int rank)
                            throws FidoDatabaseException,
                                   InstructionNotFoundException
FidoDatabaseException
InstructionNotFoundException

moveRowUp

public void moveRowUp(int id,
                      int row)
               throws FidoDatabaseException
FidoDatabaseException

moveRowDown

public void moveRowDown(int id,
                        int row)
                 throws FidoDatabaseException
Moves the row specified by row down in priority. The String row must be a number.

Throws:
java.sql.SQLException - Input / Output error saving WordClassifications object to database
FidoDatabaseException

listGroupInstructions

public java.util.Collection listGroupInstructions(int id)
                                           throws FidoDatabaseException
FidoDatabaseException

Fido Alpha 3.2