//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); }
//Gets the Database Connection and Runs the SQL Statement. public void getLatestsectionID() { DBConnection.getDBConnectionToInstance().getSectioneID(Constants.getSectionsID); }
//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); }
public void getSecTitles() { sectionTitle = DBConnection.getDBConnectionToInstance().getTempSecTitle(Constants.searchSecTitle, templateID); }
public void getSecIDs() { sectionID = DBConnection.getDBConnectionToInstance().getTempSecID(Constants.searchSecID, templateID); }
public void getTPosition() { templatePosition = DBConnection.getDBConnectionToInstance().getTempPosition(Constants.searchTPos, templateID); }
public void getTReviewer() { templateReviewer = DBConnection.getDBConnectionToInstance().getTempReviewer(Constants.searchTRev, templateID); }
public void getTID() { templateID = DBConnection.getDBConnectionToInstance().getTempID(Constants.searchTID, templateName); }