org.sandev.tools.JDBC
Class THD_UpdateProcessor

java.lang.Object
  extended by org.sandev.tools.JDBC.THD_UpdateProcessor

public class THD_UpdateProcessor
extends java.lang.Object

A SandUpdateMessage processor for standard SQL. AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: declared in build
generator: org.sandev.generator.SQLUpdateProcessorGenerator
time: Jul 31, 2008 4:34:17 PM


Field Summary
static java.lang.String insertAccountSQL
          The static statement for all Account inserts
static java.lang.String insertDataManagementSQL
          The static statement for all DataManagement inserts
static java.lang.String insertExternalPlanSQL
          The static statement for all ExternalPlan inserts
static java.lang.String insertHeapAssociationSQL
          The static statement for all HeapAssociation inserts
static java.lang.String insertHeapAttributesSQL
          The static statement for all HeapAttributes inserts
static java.lang.String insertPlanComponentSQL
          The static statement for all PlanComponent inserts
static java.lang.String insertPlanSQL
          The static statement for all Plan inserts
static java.lang.String insertRoleSQL
          The static statement for all Role inserts
static java.lang.String insertSystemStatusSQL
          The static statement for all SystemStatus inserts
static java.lang.String insertTaskPhaseSQL
          The static statement for all TaskPhase inserts
static java.lang.String insertTaskSQL
          The static statement for all Task inserts
static java.lang.String insertTaskTypeSQL
          The static statement for all TaskType inserts
static java.lang.String updateAccountSQL
          The static statement for all Account updates
static java.lang.String updateDataManagementSQL
          The static statement for all DataManagement updates
static java.lang.String updateExternalPlanSQL
          The static statement for all ExternalPlan updates
static java.lang.String updateHeapAssociationSQL
          The static statement for all HeapAssociation updates
static java.lang.String updateHeapAttributesSQL
          The static statement for all HeapAttributes updates
static java.lang.String updatePlanComponentSQL
          The static statement for all PlanComponent updates
static java.lang.String updatePlanSQL
          The static statement for all Plan updates
static java.lang.String updateRoleSQL
          The static statement for all Role updates
static java.lang.String updateSystemStatusSQL
          The static statement for all SystemStatus updates
static java.lang.String updateTaskPhaseSQL
          The static statement for all TaskPhase updates
static java.lang.String updateTaskSQL
          The static statement for all Task updates
static java.lang.String updateTaskTypeSQL
          The static statement for all TaskType updates
 
Constructor Summary
THD_UpdateProcessor()
           
 
Method Summary
static org.sandev.TaskHeap.sandmessages.AccountUpdate doAccountUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.AccountUpdate update)
          Process a AccountUpdate.
static org.sandev.TaskHeap.sandmessages.DataManagementUpdate doDataManagementUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
          Process a DataManagementUpdate.
static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate doExternalPlanUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
          Process a ExternalPlanUpdate.
static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate doHeapAssociationUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
          Process a HeapAssociationUpdate.
static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate doHeapAttributesUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
          Process a HeapAttributesUpdate.
static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate doPlanComponentUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
          Process a PlanComponentUpdate.
static org.sandev.TaskHeap.sandmessages.PlanUpdate doPlanUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanUpdate update)
          Process a PlanUpdate.
static org.sandev.TaskHeap.sandmessages.RoleUpdate doRoleUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.RoleUpdate update)
          Process a RoleUpdate.
static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate doSystemStatusUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
          Process a SystemStatusUpdate.
static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate doTaskPhaseUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
          Process a TaskPhaseUpdate.
static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate doTaskTypeUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
          Process a TaskTypeUpdate.
static org.sandev.TaskHeap.sandmessages.TaskUpdate doTaskUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskUpdate update)
          Process a TaskUpdate.
static org.sandev.basics.structs.SandUpdateMessage doUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.basics.structs.SandUpdateMessage update)
          Process the specified update and return the result.
static org.sandev.TaskHeap.sandmessages.AccountUpdate insertAccount(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.AccountUpdate update)
          Insert a new row into the Account table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.DataManagementUpdate insertDataManagement(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
          Insert a new row into the DataManagement table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate insertExternalPlan(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
          Insert a new row into the ExternalPlan table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate insertHeapAssociation(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
          Insert a new row into the HeapAssociation table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate insertHeapAttributes(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
          Insert a new row into the HeapAttributes table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.PlanUpdate insertPlan(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanUpdate update)
          Insert a new row into the Plan table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate insertPlanComponent(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
          Insert a new row into the PlanComponent table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.RoleUpdate insertRole(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.RoleUpdate update)
          Insert a new row into the Role table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate insertSystemStatus(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
          Insert a new row into the SystemStatus table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.TaskUpdate insertTask(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskUpdate update)
          Insert a new row into the Task table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate insertTaskPhase(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
          Insert a new row into the TaskPhase table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate insertTaskType(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
          Insert a new row into the TaskType table, using the update message for the values.
protected static void sqlLog(org.sandev.basics.DataManager.DataManagerNode dm, java.lang.String text)
          Log the given message wrapping any failure in a SQLException
static org.sandev.TaskHeap.sandmessages.AccountUpdate updateAccount(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.AccountUpdate update)
          Update a row in the Account table with the specified values.
static org.sandev.TaskHeap.sandmessages.DataManagementUpdate updateDataManagement(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
          Update a row in the DataManagement table with the specified values.
static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate updateExternalPlan(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
          Update a row in the ExternalPlan table with the specified values.
static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate updateHeapAssociation(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
          Update a row in the HeapAssociation table with the specified values.
static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate updateHeapAttributes(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
          Update a row in the HeapAttributes table with the specified values.
static org.sandev.TaskHeap.sandmessages.PlanUpdate updatePlan(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanUpdate update)
          Update a row in the Plan table with the specified values.
static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate updatePlanComponent(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
          Update a row in the PlanComponent table with the specified values.
static org.sandev.TaskHeap.sandmessages.RoleUpdate updateRole(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.RoleUpdate update)
          Update a row in the Role table with the specified values.
static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate updateSystemStatus(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
          Update a row in the SystemStatus table with the specified values.
static org.sandev.TaskHeap.sandmessages.TaskUpdate updateTask(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskUpdate update)
          Update a row in the Task table with the specified values.
static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate updateTaskPhase(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
          Update a row in the TaskPhase table with the specified values.
static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate updateTaskType(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
          Update a row in the TaskType table with the specified values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insertAccountSQL

public static final java.lang.String insertAccountSQL
The static statement for all Account inserts

See Also:
Constant Field Values

updateAccountSQL

public static final java.lang.String updateAccountSQL
The static statement for all Account updates

See Also:
Constant Field Values

insertDataManagementSQL

public static final java.lang.String insertDataManagementSQL
The static statement for all DataManagement inserts

See Also:
Constant Field Values

updateDataManagementSQL

public static final java.lang.String updateDataManagementSQL
The static statement for all DataManagement updates

See Also:
Constant Field Values

insertExternalPlanSQL

public static final java.lang.String insertExternalPlanSQL
The static statement for all ExternalPlan inserts

See Also:
Constant Field Values

updateExternalPlanSQL

public static final java.lang.String updateExternalPlanSQL
The static statement for all ExternalPlan updates

See Also:
Constant Field Values

insertHeapAssociationSQL

public static final java.lang.String insertHeapAssociationSQL
The static statement for all HeapAssociation inserts

See Also:
Constant Field Values

updateHeapAssociationSQL

public static final java.lang.String updateHeapAssociationSQL
The static statement for all HeapAssociation updates

See Also:
Constant Field Values

insertHeapAttributesSQL

public static final java.lang.String insertHeapAttributesSQL
The static statement for all HeapAttributes inserts

See Also:
Constant Field Values

updateHeapAttributesSQL

public static final java.lang.String updateHeapAttributesSQL
The static statement for all HeapAttributes updates

See Also:
Constant Field Values

insertPlanComponentSQL

public static final java.lang.String insertPlanComponentSQL
The static statement for all PlanComponent inserts

See Also:
Constant Field Values

updatePlanComponentSQL

public static final java.lang.String updatePlanComponentSQL
The static statement for all PlanComponent updates

See Also:
Constant Field Values

insertPlanSQL

public static final java.lang.String insertPlanSQL
The static statement for all Plan inserts

See Also:
Constant Field Values

updatePlanSQL

public static final java.lang.String updatePlanSQL
The static statement for all Plan updates

See Also:
Constant Field Values

insertRoleSQL

public static final java.lang.String insertRoleSQL
The static statement for all Role inserts

See Also:
Constant Field Values

updateRoleSQL

public static final java.lang.String updateRoleSQL
The static statement for all Role updates

See Also:
Constant Field Values

insertSystemStatusSQL

public static final java.lang.String insertSystemStatusSQL
The static statement for all SystemStatus inserts

See Also:
Constant Field Values

updateSystemStatusSQL

public static final java.lang.String updateSystemStatusSQL
The static statement for all SystemStatus updates

See Also:
Constant Field Values

insertTaskPhaseSQL

public static final java.lang.String insertTaskPhaseSQL
The static statement for all TaskPhase inserts

See Also:
Constant Field Values

updateTaskPhaseSQL

public static final java.lang.String updateTaskPhaseSQL
The static statement for all TaskPhase updates

See Also:
Constant Field Values

insertTaskSQL

public static final java.lang.String insertTaskSQL
The static statement for all Task inserts

See Also:
Constant Field Values

updateTaskSQL

public static final java.lang.String updateTaskSQL
The static statement for all Task updates

See Also:
Constant Field Values

insertTaskTypeSQL

public static final java.lang.String insertTaskTypeSQL
The static statement for all TaskType inserts

See Also:
Constant Field Values

updateTaskTypeSQL

public static final java.lang.String updateTaskTypeSQL
The static statement for all TaskType updates

See Also:
Constant Field Values
Constructor Detail

THD_UpdateProcessor

public THD_UpdateProcessor()
Method Detail

doUpdate

public static org.sandev.basics.structs.SandUpdateMessage doUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                   java.sql.Connection conn,
                                                                   org.sandev.basics.structs.SandUpdateMessage update)
                                                            throws java.sql.SQLException
Process the specified update and return the result.

Throws:
java.sql.SQLException

doAccountUpdate

public static org.sandev.TaskHeap.sandmessages.AccountUpdate doAccountUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                             java.sql.Connection conn,
                                                                             org.sandev.TaskHeap.sandmessages.AccountUpdate update)
                                                                      throws java.sql.SQLException
Process a AccountUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertAccount

public static org.sandev.TaskHeap.sandmessages.AccountUpdate insertAccount(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                           java.sql.Connection conn,
                                                                           org.sandev.TaskHeap.sandmessages.AccountUpdate update)
                                                                    throws java.sql.SQLException
Insert a new row into the Account table, using the update message for the values.

Throws:
java.sql.SQLException

updateAccount

public static org.sandev.TaskHeap.sandmessages.AccountUpdate updateAccount(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                           java.sql.Connection conn,
                                                                           org.sandev.TaskHeap.sandmessages.AccountUpdate update)
                                                                    throws java.sql.SQLException
Update a row in the Account table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doDataManagementUpdate

public static org.sandev.TaskHeap.sandmessages.DataManagementUpdate doDataManagementUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                           java.sql.Connection conn,
                                                                                           org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
                                                                                    throws java.sql.SQLException
Process a DataManagementUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertDataManagement

public static org.sandev.TaskHeap.sandmessages.DataManagementUpdate insertDataManagement(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                         java.sql.Connection conn,
                                                                                         org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
                                                                                  throws java.sql.SQLException
Insert a new row into the DataManagement table, using the update message for the values.

Throws:
java.sql.SQLException

updateDataManagement

public static org.sandev.TaskHeap.sandmessages.DataManagementUpdate updateDataManagement(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                         java.sql.Connection conn,
                                                                                         org.sandev.TaskHeap.sandmessages.DataManagementUpdate update)
                                                                                  throws java.sql.SQLException
Update a row in the DataManagement table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doExternalPlanUpdate

public static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate doExternalPlanUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                       java.sql.Connection conn,
                                                                                       org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
                                                                                throws java.sql.SQLException
Process a ExternalPlanUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertExternalPlan

public static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate insertExternalPlan(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                     java.sql.Connection conn,
                                                                                     org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
                                                                              throws java.sql.SQLException
Insert a new row into the ExternalPlan table, using the update message for the values.

Throws:
java.sql.SQLException

updateExternalPlan

public static org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate updateExternalPlan(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                     java.sql.Connection conn,
                                                                                     org.sandev.TaskHeap.sandmessages.ExternalPlanUpdate update)
                                                                              throws java.sql.SQLException
Update a row in the ExternalPlan table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doHeapAssociationUpdate

public static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate doHeapAssociationUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                             java.sql.Connection conn,
                                                                                             org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
                                                                                      throws java.sql.SQLException
Process a HeapAssociationUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertHeapAssociation

public static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate insertHeapAssociation(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                           java.sql.Connection conn,
                                                                                           org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
                                                                                    throws java.sql.SQLException
Insert a new row into the HeapAssociation table, using the update message for the values.

Throws:
java.sql.SQLException

updateHeapAssociation

public static org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate updateHeapAssociation(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                           java.sql.Connection conn,
                                                                                           org.sandev.TaskHeap.sandmessages.HeapAssociationUpdate update)
                                                                                    throws java.sql.SQLException
Update a row in the HeapAssociation table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doHeapAttributesUpdate

public static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate doHeapAttributesUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                           java.sql.Connection conn,
                                                                                           org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
                                                                                    throws java.sql.SQLException
Process a HeapAttributesUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertHeapAttributes

public static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate insertHeapAttributes(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                         java.sql.Connection conn,
                                                                                         org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
                                                                                  throws java.sql.SQLException
Insert a new row into the HeapAttributes table, using the update message for the values.

Throws:
java.sql.SQLException

updateHeapAttributes

public static org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate updateHeapAttributes(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                         java.sql.Connection conn,
                                                                                         org.sandev.TaskHeap.sandmessages.HeapAttributesUpdate update)
                                                                                  throws java.sql.SQLException
Update a row in the HeapAttributes table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doPlanComponentUpdate

public static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate doPlanComponentUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                         java.sql.Connection conn,
                                                                                         org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
                                                                                  throws java.sql.SQLException
Process a PlanComponentUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertPlanComponent

public static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate insertPlanComponent(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                       java.sql.Connection conn,
                                                                                       org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
                                                                                throws java.sql.SQLException
Insert a new row into the PlanComponent table, using the update message for the values.

Throws:
java.sql.SQLException

updatePlanComponent

public static org.sandev.TaskHeap.sandmessages.PlanComponentUpdate updatePlanComponent(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                       java.sql.Connection conn,
                                                                                       org.sandev.TaskHeap.sandmessages.PlanComponentUpdate update)
                                                                                throws java.sql.SQLException
Update a row in the PlanComponent table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doPlanUpdate

public static org.sandev.TaskHeap.sandmessages.PlanUpdate doPlanUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                       java.sql.Connection conn,
                                                                       org.sandev.TaskHeap.sandmessages.PlanUpdate update)
                                                                throws java.sql.SQLException
Process a PlanUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertPlan

public static org.sandev.TaskHeap.sandmessages.PlanUpdate insertPlan(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.PlanUpdate update)
                                                              throws java.sql.SQLException
Insert a new row into the Plan table, using the update message for the values.

Throws:
java.sql.SQLException

updatePlan

public static org.sandev.TaskHeap.sandmessages.PlanUpdate updatePlan(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.PlanUpdate update)
                                                              throws java.sql.SQLException
Update a row in the Plan table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doRoleUpdate

public static org.sandev.TaskHeap.sandmessages.RoleUpdate doRoleUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                       java.sql.Connection conn,
                                                                       org.sandev.TaskHeap.sandmessages.RoleUpdate update)
                                                                throws java.sql.SQLException
Process a RoleUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertRole

public static org.sandev.TaskHeap.sandmessages.RoleUpdate insertRole(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.RoleUpdate update)
                                                              throws java.sql.SQLException
Insert a new row into the Role table, using the update message for the values.

Throws:
java.sql.SQLException

updateRole

public static org.sandev.TaskHeap.sandmessages.RoleUpdate updateRole(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.RoleUpdate update)
                                                              throws java.sql.SQLException
Update a row in the Role table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doSystemStatusUpdate

public static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate doSystemStatusUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                       java.sql.Connection conn,
                                                                                       org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
                                                                                throws java.sql.SQLException
Process a SystemStatusUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertSystemStatus

public static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate insertSystemStatus(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                     java.sql.Connection conn,
                                                                                     org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
                                                                              throws java.sql.SQLException
Insert a new row into the SystemStatus table, using the update message for the values.

Throws:
java.sql.SQLException

updateSystemStatus

public static org.sandev.TaskHeap.sandmessages.SystemStatusUpdate updateSystemStatus(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                     java.sql.Connection conn,
                                                                                     org.sandev.TaskHeap.sandmessages.SystemStatusUpdate update)
                                                                              throws java.sql.SQLException
Update a row in the SystemStatus table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doTaskPhaseUpdate

public static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate doTaskPhaseUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                                 java.sql.Connection conn,
                                                                                 org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
                                                                          throws java.sql.SQLException
Process a TaskPhaseUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertTaskPhase

public static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate insertTaskPhase(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                               java.sql.Connection conn,
                                                                               org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
                                                                        throws java.sql.SQLException
Insert a new row into the TaskPhase table, using the update message for the values.

Throws:
java.sql.SQLException

updateTaskPhase

public static org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate updateTaskPhase(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                               java.sql.Connection conn,
                                                                               org.sandev.TaskHeap.sandmessages.TaskPhaseUpdate update)
                                                                        throws java.sql.SQLException
Update a row in the TaskPhase table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doTaskUpdate

public static org.sandev.TaskHeap.sandmessages.TaskUpdate doTaskUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                       java.sql.Connection conn,
                                                                       org.sandev.TaskHeap.sandmessages.TaskUpdate update)
                                                                throws java.sql.SQLException
Process a TaskUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertTask

public static org.sandev.TaskHeap.sandmessages.TaskUpdate insertTask(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.TaskUpdate update)
                                                              throws java.sql.SQLException
Insert a new row into the Task table, using the update message for the values.

Throws:
java.sql.SQLException

updateTask

public static org.sandev.TaskHeap.sandmessages.TaskUpdate updateTask(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                     java.sql.Connection conn,
                                                                     org.sandev.TaskHeap.sandmessages.TaskUpdate update)
                                                              throws java.sql.SQLException
Update a row in the Task table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

doTaskTypeUpdate

public static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate doTaskTypeUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                               java.sql.Connection conn,
                                                                               org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
                                                                        throws java.sql.SQLException
Process a TaskTypeUpdate. The specified information is added/updated. We return the same message as what was passed in as a parameter, but with the revisionNumber updated. It is the callers responsibility to manage the transaction, dates, and uniqueID values.

Throws:
java.sql.SQLException

insertTaskType

public static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate insertTaskType(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                             java.sql.Connection conn,
                                                                             org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
                                                                      throws java.sql.SQLException
Insert a new row into the TaskType table, using the update message for the values.

Throws:
java.sql.SQLException

updateTaskType

public static org.sandev.TaskHeap.sandmessages.TaskTypeUpdate updateTaskType(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                             java.sql.Connection conn,
                                                                             org.sandev.TaskHeap.sandmessages.TaskTypeUpdate update)
                                                                      throws java.sql.SQLException
Update a row in the TaskType table with the specified values. It is the responsibility of the caller to verify that the data for the update is valid, so if the update fails it is either due to a database failure, or the update being out of date.

Throws:
java.sql.SQLException

sqlLog

protected static void sqlLog(org.sandev.basics.DataManager.DataManagerNode dm,
                             java.lang.String text)
                      throws java.sql.SQLException
Log the given message wrapping any failure in a SQLException

Throws:
java.sql.SQLException