org.sandev.tools.JDBC
Class THD_UpdateProcessor

java.lang.Object
  extended byorg.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: Dec 2, 2005 6:38:59 PM


Field Summary
static java.lang.String insertExternalPlanSQL
          The static statement for all ExternalPlan 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 insertReaderSQL
          The static statement for all Reader inserts
static java.lang.String insertResourceSQL
          The static statement for all Resource 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 updateExternalPlanSQL
          The static statement for all ExternalPlan 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 updateReaderSQL
          The static statement for all Reader updates
static java.lang.String updateResourceSQL
          The static statement for all Resource 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.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.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.ReaderUpdate doReaderUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ReaderUpdate update)
          Process a ReaderUpdate.
static org.sandev.TaskHeap.sandmessages.ResourceUpdate doResourceUpdate(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ResourceUpdate update)
          Process a ResourceUpdate.
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.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.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.ReaderUpdate insertReader(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ReaderUpdate update)
          Insert a new row into the Reader table, using the update message for the values.
static org.sandev.TaskHeap.sandmessages.ResourceUpdate insertResource(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ResourceUpdate update)
          Insert a new row into the Resource 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.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.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.ReaderUpdate updateReader(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ReaderUpdate update)
          Update a row in the Reader table with the specified values.
static org.sandev.TaskHeap.sandmessages.ResourceUpdate updateResource(org.sandev.basics.DataManager.DataManagerNode dm, java.sql.Connection conn, org.sandev.TaskHeap.sandmessages.ResourceUpdate update)
          Update a row in the Resource 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

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

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

insertReaderSQL

public static final java.lang.String insertReaderSQL
The static statement for all Reader inserts

See Also:
Constant Field Values

updateReaderSQL

public static final java.lang.String updateReaderSQL
The static statement for all Reader updates

See Also:
Constant Field Values

insertResourceSQL

public static final java.lang.String insertResourceSQL
The static statement for all Resource inserts

See Also:
Constant Field Values

updateResourceSQL

public static final java.lang.String updateResourceSQL
The static statement for all Resource 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

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

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

doReaderUpdate

public static org.sandev.TaskHeap.sandmessages.ReaderUpdate doReaderUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                           java.sql.Connection conn,
                                                                           org.sandev.TaskHeap.sandmessages.ReaderUpdate update)
                                                                    throws java.sql.SQLException
Process a ReaderUpdate. 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

insertReader

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

Throws:
java.sql.SQLException

updateReader

public static org.sandev.TaskHeap.sandmessages.ReaderUpdate updateReader(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                         java.sql.Connection conn,
                                                                         org.sandev.TaskHeap.sandmessages.ReaderUpdate update)
                                                                  throws java.sql.SQLException
Update a row in the Reader 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

doResourceUpdate

public static org.sandev.TaskHeap.sandmessages.ResourceUpdate doResourceUpdate(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                               java.sql.Connection conn,
                                                                               org.sandev.TaskHeap.sandmessages.ResourceUpdate update)
                                                                        throws java.sql.SQLException
Process a ResourceUpdate. 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

insertResource

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

Throws:
java.sql.SQLException

updateResource

public static org.sandev.TaskHeap.sandmessages.ResourceUpdate updateResource(org.sandev.basics.DataManager.DataManagerNode dm,
                                                                             java.sql.Connection conn,
                                                                             org.sandev.TaskHeap.sandmessages.ResourceUpdate update)
                                                                      throws java.sql.SQLException
Update a row in the Resource 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