//getLatestTemplateID Runs the getTemplateID SQL Statement with DB Conenction Instance
 public void getLatestTemplateID()
 {
     DBConnection.getDBConnectionToInstance().getTempTemplateID(Constants.getTempTemplateID);
 }
 //writeNameToDB Runs the InsertSectioName SQL Statement to Insert Section Name and Template ID to table
 public void writeNameToDB()
 {
     DBConnection.getDBConnectionToInstance().insertSectionTitle(Constants.InsertSectionName, sectionNameOne, tempID);
 }
Exemple #3
0
 //Gets the Database Connection and Runs the SQL Statement.
 public void getLatestsectionID()
 {
     DBConnection.getDBConnectionToInstance().getSectioneID(Constants.getSectionsID);
 }
Exemple #4
0
 //Gets the Database Connection and Runs the SQL Statement.
 public void writeOptionDetailsToDB()
 {
     DBConnection.getDBConnectionToInstance().insertOption(Constants.InsertOption, optionTitleOne, optionCommentOne, secID);
 }
 public void createEditOption()
 {
     DBConnection.getDBConnectionToInstance().makeTemplateOption(Constants.SQLCreateEditOption, editTemplate.sectID[optionCount]);
     optionCount += 1;
 }
 public void fillEditSection()
 {
     DBConnection.getDBConnectionToInstance().fillSection(Constants.SQLFillEditSection, editTemplate.tempEditID);
 }
Exemple #7
0
 public void getSecTitles()
 {
     sectionTitle = DBConnection.getDBConnectionToInstance().getTempSecTitle(Constants.searchSecTitle, templateID);
 }
Exemple #8
0
 public void getSecIDs()
 {
     sectionID = DBConnection.getDBConnectionToInstance().getTempSecID(Constants.searchSecID, templateID);
 }
Exemple #9
0
 public void getTPosition()
 {
     templatePosition = DBConnection.getDBConnectionToInstance().getTempPosition(Constants.searchTPos, templateID);
 }
Exemple #10
0
 public void getTReviewer()
 {
     templateReviewer = DBConnection.getDBConnectionToInstance().getTempReviewer(Constants.searchTRev, templateID);
 }
Exemple #11
0
 public void getTID()
 {
     templateID = DBConnection.getDBConnectionToInstance().getTempID(Constants.searchTID, templateName);
 }