Uses of Class
com.instantbank.common.utilcomponents.DAOException

Packages that use DAOException
com.instantbank.common.utilcomponents General utilities related to the EJB and Web components of this system. 
com.instantbank.component.job.ejb This is the entity EJB which represents a letters Job. 
com.instantbank.component.lettertemplate.ejb This is the LetterTemplate EJB with services for Letters subsystem. 
com.instantbank.component.parameter.ejb This is the Parameter EJB with services for Parameter Module of Servicing susbsystem. 
 

Uses of DAOException in com.instantbank.common.utilcomponents
 

Methods in com.instantbank.common.utilcomponents that throw DAOException
static javax.sql.DataSource DAOUtil.getDataSource(java.lang.String dsName)
          Get the DataSource associated to a JNDIName
static java.sql.Connection DAOUtil.getDBConnection(javax.sql.DataSource datasource)
          Get a database connection
static void DAOUtil.closeConnection(java.sql.Connection dbConnection)
          Close database connection associated to dbConnection attribute
static void DAOUtil.closeResultSet(java.sql.ResultSet result)
          Close a resultSet
static void DAOUtil.closeStatement(java.sql.Statement stmt)
          Close a statement
static void DAOUtil.closePreparedStatement(java.sql.PreparedStatement stmt)
          Close a PreparedStatement statement
static void DAOUtil.closeCallableStatement(java.sql.CallableStatement cstmt)
          Close a CallableStatement
static long SqlUtils.getAgreementCodeFieldIndex(java.sql.Connection dbConnection)
           
static long SqlUtils.getActionCodeFieldIndex(java.sql.Connection dbConnection, java.lang.String sActionCode, long lCompID)
           
static long SqlUtils.getResultCodeFieldIndex(java.sql.Connection dbConnection, java.lang.String sResultCode, long lCompID)
           
static long SqlUtils.getLetterTemplateIndex(java.sql.Connection dbConnection, java.lang.String sLetterCode, long lCompID)
           
static java.lang.Long SqlUtils.getAgreementId(java.sql.Connection dbConnection, long lCompID, long lAgrmCode)
           
 

Uses of DAOException in com.instantbank.component.job.ejb
 

Methods in com.instantbank.component.job.ejb that throw DAOException
private  JobDAO JobEJB.getDao()
          Obtains a DAO instance assigning it to jobDao attribute
 void JobDAO.ejbCreate(JobModel jobModel)
          Supports ejbCreate() method of Job EJB: stores state of new ejb instance in the database (inserting master and details of jobModel attribute); updates jobId, with value assigned by DB; updates jobModel with state master value of the database.
 java.lang.Long JobDAO.ejbFindByPrimaryKey(java.lang.Long jobId)
          Supports ejbFindByPrimaryKey() method of Job EJB: checks existence of ejb instance in the database
 java.lang.Long JobDAO.ejbFindByName(java.lang.String companyId, java.lang.String name)
          Supports ejbFindByName() method of Job EJB: checks existence of ejb instance in the database
 boolean JobDAO.ejbRemove(java.lang.Long jobId)
          Supports ejbRemove() method of Job EJB: removes from database master and details of ejb instance
 void JobDAO.ejbLoad(java.lang.Long jobId)
          Supports ejbLoad() method of Job EJB: loads from database master and details of instance
 void JobDAO.ejbStore(JobModel jobModel)
          Supports ejbStore() method of Job EJB: updates in database master and details of instance
private  boolean JobDAO.existsKey(java.lang.Long jobId)
          Checks existence of a Job in the database, from DatabaseNames.LETT_JOB
private  java.lang.Long JobDAO.existsJobByName(java.lang.String companyId, java.lang.String name)
          Checks existence of a Job in the database, from DatabaseNames.LETT_JOB
private  void JobDAO.insertJob()
          Inserts the current Job (master part) in the database, in table: DatabaseNames.LETT_JOB
private  java.lang.Long JobDAO.selectJobId()
          Gets Id assigned by the database to the current job (jobId), in table DatabaseNames.LETT_JOB
private  java.sql.Date JobDAO.selectVersion()
          Gets version (last_changed_date) of the current job, in table DatabaseNames.LETT_JOB
private  void JobDAO.insertJobSELECT()
          Inserts SELECT elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_SELECT
private  void JobDAO.insertJobWHERE()
          Inserts WHERE elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_WHERE
private  void JobDAO.insertJobORDER()
          Inserts ORDER elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_ORDER
private  void JobDAO.deleteJob()
          Deletes the current Job (master part) in the database, in table: DatabaseNames.LETT_JOB
private  void JobDAO.deleteJobSELECT()
          Deletes SELECT elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_SELECT
private  void JobDAO.deleteJobWHERE()
          Deletes WHERE elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_WHERE
private  void JobDAO.deleteJobORDER()
          Deletes ORDER elements of the current Job in the database, in table: DatabaseNames.LETT_JOB_ORDER
private  boolean JobDAO.existsJobLogs()
          Checks if it exists log data of the current Job in the database, in table: DatabaseNames.LETT_JOB_LOG
private  void JobDAO.deleteJobLogs()
          Deletes log data of the current Job in the database, in tables: DatabaseNames.LETT_JOB_LOG, LETT_JOB_FTP_LOG
private  void JobDAO.selectJob()
          Selects the current Job (master part) from the database, table: DatabaseNames.LETT_JOB
private  void JobDAO.selectJobSELECT()
          Selects SELECT elements of the current Job from the database, in table: DatabaseNames.LETT_JOB_SELECT
private  void JobDAO.selectJobWHERE()
          Selects WHERE elements of the current Job from the database, in table: DatabaseNames.LETT_JOB_WHERE
private  void JobDAO.selectJobORDER()
          Selects ORDER elements of the current Job from the database, in table: DatabaseNames.LETT_JOB_ORDER
private  void JobDAO.updateJob()
          Updates the current Job (master part) in the database, in table: DatabaseNames.LETT_JOB
 

Constructors in com.instantbank.component.job.ejb that throw DAOException
JobDAO()
          Constructor: searchs the DataSource in the InitialContext
 

Uses of DAOException in com.instantbank.component.lettertemplate.ejb
 

Methods in com.instantbank.component.lettertemplate.ejb that throw DAOException
 java.util.Hashtable LetterTemplateEJB.loadFields()
          Loads data of system Fields for current company
 java.util.ArrayList LetterTemplateEJB.loadFieldsDisplay()
          Loads company fields with display information and menu references (for current company), ordered by fieldId;
 java.util.ArrayList LetterTemplateEJB.loadFieldMenus()
          Loads system field Menus with its values ordered by description (name of menu);
 java.util.Hashtable LetterTemplateEJB.loadAlias()
          Loads data of system Alias
 java.util.ArrayList LetterTemplateEJB.loadVariables()
          Loads name of letter variables of the current company, ordered by name
 CodeDescription[] LetterTemplateEJB.loadVariableFormats()
          Loads code and description of format of letter variables; ordered by description
 CodeDescription[] LetterTemplateEJB.loadPrintTypes()
          Loads code and description of printTypes; ordered by description
 CodeDescription[] LetterTemplateEJB.loadCategories()
          Loads all [code, description] of the categories of the current company; ordered by name
 java.util.ArrayList LetterTemplateEJB.applyItemsCategory(java.util.ArrayList items)
          Applies a set of changes in the categories of the current company;
 long LetterTemplateEJB.storeImageRepository(java.lang.String nameImage, byte[] image)
          Stores a new image for the current company
 CodeDescription[] LetterTemplateEJB.loadImagesNamesRepository()
          Loads all [code, description] of the images of the current company; ordered by name
 byte[] LetterTemplateEJB.loadImageRepository(java.lang.String nameImage)
          Loads an image of the current company;
 void LetterTemplateEJB.removeImageRepository(java.lang.String nameImage)
          Removes an image of the current company
 java.util.ArrayList LetterTemplateEJB.applyImagesRepository(java.util.ArrayList items)
          Applies a set of changes in the images of the current company;
 CodeDescription[] LetterTemplateEJB.storeTemplate(Template template)
          Stores a letters template for the current company, generating code for the template if it is new, and generating code for each component if it is new.
 CodeDescription[] LetterTemplateEJB.loadTemplatesDescription(long category, int printType)
          Loads code and description of all templates, for the current company and for the specified category; ordered by name.
 CodeDescription[] LetterTemplateEJB.loadTemplateCodes(long templateCode)
          Loads code and description of one template and its components for the specified template code
 CodeDescription[] LetterTemplateEJB.loadTemplateCodes(long category, int printType, java.lang.String name)
          Loads code and stamp of one template and its components for the specified template code
 CodeDescription[] LetterTemplateEJB.loadTemplateCodeDescription(long category, int printType, java.lang.String name)
          Loads code and description of one template and its components for the specified template code
 CodeDescription[] LetterTemplateEJB.loadCodesStamps(long category, int printType, java.lang.String name, java.lang.String header, java.lang.String body, java.lang.String closing)
          Loads code and stamp of template and components
 Template LetterTemplateEJB.loadTemplate(long templateCode)
          Loads a letters template of the current company, corresponding to a code.
 void LetterTemplateEJB.removeTemplate(long code)
          Removes a letters template (not its components) of the current company, corresponding to a code.
 java.util.ArrayList LetterTemplateEJB.loadAllTemplatesDescription()
          Loads code, print type and name of templates and their categories names.
 java.util.ArrayList LetterTemplateEJB.applyItemsTemplate(java.util.ArrayList items)
          Applies a set of changes in the templates of the current company;
 java.sql.Date LetterTemplateEJB.loadTemplateDate(long templateCode)
          Load the date of template.
 java.lang.String LetterTemplateEJB.loadLoanDummy()
          Load the dummy loan of a company.
 CodeDescription LetterTemplateEJB.storeComponent(LetterComponent component)
          Stores a letters component for the current company, generating code for the component if it is new.
 CodeDescription LetterTemplateEJB.storeComponentAs(long templateCode, LetterComponent component)
          Store as a letters component for the current company, generating code for the component if it is new.
 CodeDescription[] LetterTemplateEJB.loadComponentsDescription(int componentType, int printType)
          Loads code and description of all components, for the current company, for the specified component type and print type; ordered by name
 LetterComponent LetterTemplateEJB.loadComponent(long code)
          Loads a letters component of the current company, corresponding to a code.
 void LetterTemplateEJB.removeComponent(long code)
          Removes a letters component of the current company, corresponding to a code.
 CodeDescription LetterTemplateEJB.loadComponentCode(int componentType, int printType, java.lang.String name)
          Load [code, stamp] for specified component
 java.util.ArrayList LetterTemplateEJB.loadUnlikedComponents()
          If the relationship between Template and Component doesn't exist loads code, name and print type of components and name of component type.
 java.util.ArrayList LetterTemplateEJB.applyItemsComponent(java.util.ArrayList items)
          Applies a set of changes in the components of the current company where the relationship between Template and Component doesn't exist.
 java.util.ArrayList LetterTemplateEJB.generatePreviewTemplate(long templateCode, long loanCode, java.lang.Long[] templateVarsCodes)
          Gets template variables values for one loan of the current company, which will be used in a preview of the template.
 java.util.ArrayList[] LetterTemplateEJB.executeSQL(java.lang.String sentenceSQL, java.lang.Long[] selectFields, java.util.Hashtable jobORDERhashtable)
          Gets a result set executing a SQL sentence, associated with a letter job.
 CodeDescription[] LetterTemplateEJB.loadFTPCodes()
          Loads all [code, name] of the ftp's of the current company, ordered by name
 CodeDescription[] LetterTemplateEJB.loadJobsCodes()
          Loads all [code, name] of the jobs of the current company; ordered by name
 java.util.Hashtable LetterTemplateEJB.loadCalendars()
          Loads all the calendars of the current company
 LetterBatchStartModel LetterTemplateEJB.loadLetterJob()
          Loads all letters Job information.
 java.sql.Date LetterTemplateEJB.loadSysDate()
          Loads the date (Oracle SYSDATE() function).
 java.lang.String LetterTemplateEJB.loadCompanyWorkDir()
          Loads the temporal directory path of the current company.
 LettersJobLogBean LetterTemplateEJB.storeLetterJobLog(long jobId, java.sql.Date executionDate, java.lang.String success, long resultSetLength, java.lang.String loggeableResultSet, java.lang.String foTemplate)
          Store the log of executed letter jobs of the current company.
 void LetterTemplateEJB.storeLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Store the Log of ftps made for executed letter jobs of the current company.
 void LetterTemplateEJB.updateLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Update the Log of ftps made for executed letter jobs of the current company.
 void LetterTemplateEJB.updateJobExecDate(long jobId, java.sql.Date date)
          Update the date of execution of the letter job of the current company.
 CompanyLocation LetterTemplateEJB.loadCompanyLocation(long ftpId)
          Load the data of company locations.
 LetterBatchReviewModel LetterTemplateEJB.loadLetterBatchReview(java.lang.String dayMonthYear)
          Review the batch of letters jobs
private  LetterTemplateDAO LetterTemplateEJB.getDao()
          Obtains a DAO instance assigning to lettertemplateDao attribute
private  java.util.Hashtable LetterTemplateEJB.getSystemAlias()
          Obtains a value for systemAlias attribute
private  java.util.Hashtable LetterTemplateEJB.getSystemFields()
          Obtains a value for systemFields attribute
 void LetterTemplateEJB.insertLetterARHistory(java.sql.Connection dbConnection, long lCompID, long lAgrmID, java.sql.Date procDate, long lLettID, long lLettCode, long lActionCode, long lResultCode)
           
 java.util.Hashtable LetterTemplate.loadFields()
          Loads data of systems Fields of the current company
 java.util.ArrayList LetterTemplate.loadFieldsDisplay()
          Loads company fields with display information and menu references (for current company), ordered by display name.
 java.util.ArrayList LetterTemplate.loadFieldMenus()
          Loads system field Menus with its values ordered by description (name of menu);
 java.util.Hashtable LetterTemplate.loadAlias()
          Loads data of system alias
 java.util.ArrayList LetterTemplate.loadVariables()
          Loads display name of letter variables (fields) of the current company, ordered by display name
 CodeDescription[] LetterTemplate.loadVariableFormats()
          Loads code and description of format of letter variables; ordered by description
 CodeDescription[] LetterTemplate.loadPrintTypes()
          Loads code and description of printTypes; ordered by description
 CodeDescription[] LetterTemplate.loadCategories()
          Loads all [code, description] of the categories of the current company; ordered by name
 java.util.ArrayList LetterTemplate.applyItemsCategory(java.util.ArrayList items)
          Applies a set of changes in the categories of the current company;
 long LetterTemplate.storeImageRepository(java.lang.String nameImage, byte[] image)
          Stores a new image for the current company
 CodeDescription[] LetterTemplate.loadImagesNamesRepository()
          Loads all [code, description] of the images of the current company; ordered by name
 byte[] LetterTemplate.loadImageRepository(java.lang.String nameImage)
          Loads an image of the current company;
 void LetterTemplate.removeImageRepository(java.lang.String nameImage)
          Removes an image of the current company
 java.util.ArrayList LetterTemplate.applyImagesRepository(java.util.ArrayList items)
          Applies a set of changes in the images of the current company;
 CodeDescription[] LetterTemplate.storeTemplate(Template template)
          Stores a letters template for the current company, generating code for the template if it is new, and generating code for each component if it is new.
 CodeDescription[] LetterTemplate.loadTemplatesDescription(long category, int printType)
          Loads code and description of all templates, for the current company and for the specified category; ordered by name.
 CodeDescription[] LetterTemplate.loadTemplateCodes(long templateCode)
          Loads code and description of one template and its components for the specified template code
 CodeDescription[] LetterTemplate.loadTemplateCodes(long category, int printType, java.lang.String name)
          Loads code and stamp of one template and its components for the specified template code
 CodeDescription[] LetterTemplate.loadTemplateCodeDescription(long category, int printType, java.lang.String name)
          Loads code and description of one template and its components for the specified template code
 CodeDescription[] LetterTemplate.loadCodesStamps(long category, int printType, java.lang.String name, java.lang.String header, java.lang.String body, java.lang.String closing)
          Loads code and stamp of template and components
 Template LetterTemplate.loadTemplate(long templateCode)
          Loads a letters template of the current company, corresponding to a code.
 void LetterTemplate.removeTemplate(long code)
          Removes a letters template (not its components) of the current company, corresponding to a code.
 java.util.ArrayList LetterTemplate.loadAllTemplatesDescription()
          Loads code, print type and name of templates and their categories names.
 java.util.ArrayList LetterTemplate.applyItemsTemplate(java.util.ArrayList items)
          Applies a set of changes in the templates of the current company;
 java.sql.Date LetterTemplate.loadTemplateDate(long templateCode)
          Load the date of template.
 java.lang.String LetterTemplate.loadLoanDummy()
          Load the dummy loan of a company.
 CodeDescription LetterTemplate.storeComponent(LetterComponent component)
          Stores a letters component for the current company, generating code for the component if it is new.
 CodeDescription LetterTemplate.storeComponentAs(long templateCode, LetterComponent component)
          Store as a letters component for the current company, generating code for the component if it is new.
 CodeDescription[] LetterTemplate.loadComponentsDescription(int componentType, int printType)
          Loads code and description of all components, for the current company, for the specified component type and print type; ordered by name
 LetterComponent LetterTemplate.loadComponent(long code)
          Loads a letters component of the current company, corresponding to a code.
 void LetterTemplate.removeComponent(long code)
          Removes a letters component of the current company, corresponding to a code.
 CodeDescription LetterTemplate.loadComponentCode(int componentType, int printType, java.lang.String name)
          Load [code, stamp] for specified component
 java.util.ArrayList LetterTemplate.loadUnlikedComponents()
          If the relationship between Template and Component doesn't exist loads code, name and print type of components and name of component type.
 java.util.ArrayList LetterTemplate.applyItemsComponent(java.util.ArrayList items)
          Applies a set of changes in the components of the current company where the relationship between Template and Component doesn't exist.
 java.util.ArrayList LetterTemplate.generatePreviewTemplate(long templateCode, long agreementCode, java.lang.Long[] templateVarsCodes)
          Gets template variables values for one loan of the current company, which will be used in the preview of the template.
 java.util.ArrayList[] LetterTemplate.executeSQL(java.lang.String sentenceSQL, java.lang.Long[] selectFields, java.util.Hashtable jobORDERhashtable)
          Gets a result set executing a SQL sentence, associated with a letter job.
 CodeDescription[] LetterTemplate.loadFTPCodes()
          Loads all [code, name] of the ftp's of the current company, ordered by name
 CodeDescription[] LetterTemplate.loadJobsCodes()
          Loads all [code, name] of the jobs of the current company; ordered by name
 java.util.Hashtable LetterTemplate.loadCalendars()
          Loads all the calendars of the current company
 LetterBatchStartModel LetterTemplate.loadLetterJob()
          Loads all letters Job information.
 java.sql.Date LetterTemplate.loadSysDate()
          Loads the date (Oracle SYSDATE() function).
 java.lang.String LetterTemplate.loadCompanyWorkDir()
          Loads the temporal directory path of the current company.
 LettersJobLogBean LetterTemplate.storeLetterJobLog(long jobId, java.sql.Date executionDate, java.lang.String success, long resultSetLength, java.lang.String loggeableResultSet, java.lang.String foTemplate)
          Store the log of executed letter jobs of the current company.
 void LetterTemplate.storeLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Store the Log of ftps made for executed letter jobs of the current company.
 void LetterTemplate.updateLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Update the Log of ftps made for executed letter jobs of the current company.
 void LetterTemplate.updateJobExecDate(long jobId, java.sql.Date date)
          Update the date of execution of the letter job of the current company.
 CompanyLocation LetterTemplate.loadCompanyLocation(long ftpId)
          Load the data of company locations.
 LetterBatchReviewModel LetterTemplate.loadLetterBatchReview(java.lang.String dayMonthYear)
          Review the batch of letters jobs
 void LetterTemplate.insertLetterARHistory(java.sql.Connection dbConnection, long lCompID, long lAgrmID, java.sql.Date procDate, long lLettID, long lLettCode, long lActionCode, long lResultCode)
           
 java.util.Hashtable LetterTemplateDAO.loadFields()
          Loads data of DatabaseNames.LETT_FIELD of the current company (i.e.
 java.util.ArrayList LetterTemplateDAO.loadFieldsDisplay()
          Loads company fields with display information and menu references (for current company).
 java.util.ArrayList LetterTemplateDAO.loadFieldMenus()
          Loads system field Menus with its values ordered by description (name of menu); from DatabaseNames.LETT_FIELD_MENU, LETT_FIELD_VALUE
 java.util.Hashtable LetterTemplateDAO.loadAlias()
          Loads data of DatabaseNames.LETT_ALIAS
 java.util.ArrayList LetterTemplateDAO.loadVariables()
          Loads name of letter variables of the current company, ordered by name from DatabaseNames.LETT_FIELD and DatabaseNames.LETT_COMPANY_FIELD
 CodeDescription[] LetterTemplateDAO.loadVariableFormats()
          Loads code and description of format of letter variables from DatabaseNames.LETT_FORMAT table; ordered by description
 CodeDescription[] LetterTemplateDAO.loadPrintTypes()
          Loads code and description of printTypes; from DatabaseNames.LETT_PRINT_TYPE table; ordered by description
 CodeDescription[] LetterTemplateDAO.loadCategories()
          Loads all [code, description] of the categories of the current company, in DatabaseNames.LETT_CATEGORY; ordered by name
 java.util.ArrayList LetterTemplateDAO.applyItemsCategory(java.util.ArrayList items)
          Applies a set of changes in the categories of the current company; in DatabaseNames.LETT_CATEGORY;
 long LetterTemplateDAO.storeImageRepository(java.lang.String nameImage, byte[] image)
          Stores a new image for the current company in DatabaseNames.LETT_IMAGES_REPOSITORY
 CodeDescription[] LetterTemplateDAO.loadImagesNamesRepository()
          Loads all [code, description] of the images of the current company; ordered by name from DatabaseNames.LETT_IMAGES_REPOSITORY
 byte[] LetterTemplateDAO.loadImageRepository(java.lang.String nameImage)
          Loads an image of the current company; from DatabaseNames.LETT_IMAGES_REPOSITORY
 void LetterTemplateDAO.removeImageRepository(java.lang.String nameImage)
          Removes an image of the current company in DatabaseNames.LETT_IMAGES_REPOSITORY
 java.util.ArrayList LetterTemplateDAO.applyImagesRepository(java.util.ArrayList items)
          Applies a set of changes in the images of the current company in DatabaseNames.LETT_IMAGES_REPOSITORY ;
 CodeDescription[] LetterTemplateDAO.storeTemplate(Template template)
          Stores a letters template for the current company, in tables DatabaseNames.LETT_TEMPLATE, LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE Generates code for the template if it is new, and generates code for each component if it is new.
 CodeDescription[] LetterTemplateDAO.loadTemplatesDescription(long category, int printType)
          Loads code and description of all templates, for the current company and for the specified category; from DatabaseNames.LETT_TEMPLATE table; ordered by name.
 CodeDescription[] LetterTemplateDAO.loadTemplateCodes(long templateCode)
          Loads code and description of one template and its components for the specified template code from DatabaseNames.LETT_TEMPLATE, DatabaseNames.LETT_COMPONENT tables
 CodeDescription[] LetterTemplateDAO.loadTemplateCodes(long category, int printType, java.lang.String name)
          Loads code and stamp of one template and its components for the specified template code from DatabaseNames.LETT_TEMPLATE, DatabaseNames.LETT_COMPONENT tables
 CodeDescription[] LetterTemplateDAO.loadTemplateCodeDescription(long category, int printType, java.lang.String name)
          Loads code and description of one template and its components for the specified template code from DatabaseNames.LETT_TEMPLATE, DatabaseNames.LETT_COMPONENT tables
 CodeDescription[] LetterTemplateDAO.loadCodesStamps(long category, int printType, java.lang.String name, java.lang.String header, java.lang.String body, java.lang.String closing)
          Loads code and stamp of template and components from DatabaseNames.LETT_TEMPLATE and LETT_COMPONENT tables
 Template LetterTemplateDAO.loadTemplate(long templateCode)
          Loads a letters template of the current company, corresponding to a code, from tables DatabaseNames.LETT_TEMPLATE, LETT_TEMPLATE_COMPONENT_LINK, LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE
 void LetterTemplateDAO.removeTemplate(long templateCode)
          Removes a letters template (not its components) of the current company, corresponding to a code, from tables DatabaseNames.LETT_TEMPLATE and LETT_TEMPLATE_COMPONENT_LINK
 java.util.ArrayList LetterTemplateDAO.loadAllTemplatesDescription()
          Loads code, print type, category and name of templates and their categories names.
 java.util.ArrayList LetterTemplateDAO.applyItemsTemplate(java.util.ArrayList items)
          Applies a set of changes in the templates of the current company from DatabaseNames.LETT_TEMPLATE_COMPONENT_LINK and LETT_TEMPLATE.
 java.sql.Date LetterTemplateDAO.loadTemplateDate(long templateCode)
          Load the date of template from DatabaseNames.LETT_TEMPLATE table.
 java.lang.String LetterTemplateDAO.loadLoanDummy()
          Load the dummy loan of a company from DatabaseNames.PREVIEW_LOAN table.
 CodeDescription LetterTemplateDAO.storeComponent(LetterComponent component)
          Stores a letters component for the current company, in tables DatabaseNames.LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE Generates code for the component if it is new.
 CodeDescription LetterTemplateDAO.storeComponentAs(long templateCode, LetterComponent component)
          Store as a letters component for the current company in tables DatabaseNames.LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE generating code for the component if it is new.
 CodeDescription[] LetterTemplateDAO.loadComponentsDescription(int componentType, int printType)
          Loads code and description of all components, for the current company, for the specified component type and print type; from DatabaseNames.LETT_COMPONENT table; ordered by name
 LetterComponent LetterTemplateDAO.loadComponent(long componentCode)
          Loads a letters component of the current company, corresponding to a code, from tables DatabaseNames.LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE
 void LetterTemplateDAO.removeComponent(long componentCode)
          Removes a letters component of the current company, corresponding to a code, from tables DatabaseNames.LETT_COMPONENT, LETT_IMAGE, LETT_VARIABLE Fails if the component has links with one or several templates
 CodeDescription LetterTemplateDAO.loadComponentCode(int componentType, int printType, java.lang.String name)
          Load [code, stamp] for specified component from DatabaseNames.LETT_COMPONENT table
 java.util.ArrayList LetterTemplateDAO.loadUnlikedComponents()
          If the relationship between Template and Component doesn't exist loads code, name and print type of components and name of component type from DatabaseNames.LETT_COMPONENT, LETT_COMPONENT_TYPE, LETT_PRINT_TYPE and LETT_TEMPLATE_COMPONENT_LINK.
 java.util.ArrayList LetterTemplateDAO.applyItemsComponent(java.util.ArrayList items)
          Applies a set of changes in the components of the current company where the relationship between Template and Component doesn't exist from DatabaseNames.LETT_VARIABLE, LETT_IMAGE, LETT_COMPONENT.
 java.util.ArrayList LetterTemplateDAO.generatePreviewTemplate(long templateCode, long loanCode, java.lang.Long[] templateVarsCodes, java.util.Hashtable systemAlias, java.util.Hashtable systemFields)
          Gets template variables values for one loan of the current company, which will be used in a preview of the template.
 java.util.ArrayList[] LetterTemplateDAO.executeSQL(java.lang.String sentenceSQL, java.lang.Long[] selectFields, java.util.Hashtable jobORDERhashtable, java.util.Hashtable systemFields)
          Gets a result set executing a SQL sentence, associated with a letter job.
 CodeDescription[] LetterTemplateDAO.loadFTPCodes()
          Loads all [code, name] of the ftp's of the current company, from DatabaseNames.COMPANY_ADDRESSES and COMPANY_LOCATIONS tables; ordered by name
 CodeDescription[] LetterTemplateDAO.loadJobsCodes()
          Loads all [code, name] of the jobs of the current company; from DatabaseNames.LETT_JOB; ordered by name
 java.util.Hashtable LetterTemplateDAO.loadCalendars()
          Loads all the calendars of the current company; from DatabaseNames.CALENDARS;
 LetterBatchStartModel LetterTemplateDAO.loadLetterJob()
          Loads all letters Job information.
 java.sql.Date LetterTemplateDAO.loadSysDate()
          Loads the date (Oracle SYSDATE() function).
 java.lang.String LetterTemplateDAO.loadCompanyWorkDir()
          Loads the temporal directory path of the current company.
 LettersJobLogBean LetterTemplateDAO.storeLetterJobLog(long jobId, java.sql.Date executionDate, java.lang.String success, long resultSetLength, java.lang.String loggeableResultSet, java.lang.String foTemplate)
          Store the log of executed letter jobs of the current company.
 void LetterTemplateDAO.storeLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Store the Log of ftps made for executed letter jobs of the current company in DatabaseNames.LETT_JOB_FTP_LOG table.
 void LetterTemplateDAO.updateLetterFtpJobLog(long jobLogId, java.lang.String fullFilePath, boolean succes, int attempts, java.lang.String ip, java.lang.String path, java.lang.String failureDescription)
          Update the Log of ftps made for executed letter jobs of the current company in DatabaseNames.LETT_JOB_FTP_LOG table.
 void LetterTemplateDAO.updateJobExecDate(long jobId, java.sql.Date date)
          Update the date of execution of the letter job of the current company.
 CompanyLocation LetterTemplateDAO.loadCompanyLocation(long ftpId)
          Load the data of company locations from DatabaseNames.COMPANY_LOCATIONS table.
 LetterBatchReviewModel LetterTemplateDAO.loadLetterBatchReview(java.lang.String dayMonthYear)
          Review the batch of letters jobs from tables
private  java.lang.String LetterTemplateDAO.auxTransformWorkableOffset(java.lang.String sentenceSQL, java.sql.Date sysDate, java.sql.Date companyDate)
          Auxiliary for executeSQL service.
private  java.lang.String LetterTemplateDAO.auxReplaceWorkableOperator(java.lang.String sentence, java.lang.String workableOperator, java.sql.Date sysDate, java.sql.Date companyDate)
          Auxiliary for executeSQL service.
 void LetterTemplateDAO.insertLetterARHistory(java.sql.Connection dbConnection, long lCompID, long lAgrmID, java.sql.Date procDate, long lLettID, long lLettCode, long lActionCode, long lResultCode)
           
 

Constructors in com.instantbank.component.lettertemplate.ejb that throw DAOException
LetterTemplateDAO(java.lang.String companyId, java.lang.Long userId)
          Constructor: searchs the DataSource in the InitialContext
 

Uses of DAOException in com.instantbank.component.parameter.ejb
 

Methods in com.instantbank.component.parameter.ejb that throw DAOException
 java.util.ArrayList Parameter.loadParamLevelsName()
          Loads parameters levels names of the current company.
 java.util.ArrayList Parameter.updateParamLevelsName(java.util.ArrayList items)
          Applies a set of updates in the parameters levels names of the current company.
 CodeDescription[] Parameter.listParamLevel1Points()
          Loads all [code, value] of the values of parameter level 1 of the current company.
 java.util.ArrayList Parameter.applyItemsParamLevel1Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 1 of the current company.
 CodeDescription[] Parameter.listParamLevel2Points()
          Loads all [code, value] of the values of parameter level 2 of the current company.
 java.util.ArrayList Parameter.applyItemsParamLevel2Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 2 of the current company.
 java.util.ArrayList Parameter.loadParamSearchValues()
          Loads parameters search order of the current company.
 java.util.ArrayList Parameter.updateParamSearchValues(java.util.ArrayList items)
          Applies a set of updates in the parameters search order of the current company.
 java.util.ArrayList Parameter.listParamRestrictions()
          Loads the set parameters restrictions of the current company for each group parameter.
 java.util.ArrayList Parameter.updateParamRestrictions(java.util.Hashtable items)
          Applies a set of updates in the parameters restrictions in the current company.
 ParameterModel Parameter.listParamValues(java.lang.String codeParamater)
          Loads the set parameters values of the current company for the parameter without warning colors.
 java.util.Hashtable Parameter.loadLevel1Code()
          Loads the value an code of level 1 point
 java.util.Hashtable Parameter.loadLevel2Code()
          Loads the value an code of level 2 point
 java.lang.String Parameter.updateParamValues(ParameterValue items, java.util.Hashtable level1Code, java.util.Hashtable level2Code)
          Applies a set of updates in the parameters values in the current company.
 ParameterModel Parameter.verifyParamValues(ParameterValue items)
          Check the parameters values and set warning colors to ParameterModel object of the current company for the parameter.
 java.util.ArrayList ParameterDAO.loadParamLevelsName()
          Loads parameters levels names of the current company from DatabaseNames.COMPANIES table.
 java.util.ArrayList ParameterDAO.updateParamLevelsName(java.util.ArrayList items)
          Applies a set of updates in the parameters levels names of the current company in DatabaseNames.COMPANIES table.
 CodeDescription[] ParameterDAO.listParamLevel1Points()
          Loads all [code, value] of the values of parameter level 1 of the current company from DatabaseNames.SV_LEVEL1_POINT table.
 java.util.ArrayList ParameterDAO.applyItemsParamLevel1Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 1 of the current company in DatabaseNames.SV_LEVEL1_POINT table.
 CodeDescription[] ParameterDAO.listParamLevel2Points()
          Loads all [code, value] of the values of parameter level 2 of the current company from DatabaseNames.SV_LEVEL2_POINT table.
 java.util.ArrayList ParameterDAO.applyItemsParamLevel2Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 2 of the current company in DatabaseNames.SV_LEVEL2_POINT table.
 java.util.ArrayList ParameterDAO.loadParamSearchValues()
          Loads parameters search order of the current company from DatabaseNames.COMPANIES.
 java.util.ArrayList ParameterDAO.updateParamSearchValues(java.util.ArrayList items)
          Applies a set of updates in the parameters search order of the current company in DatabaseNames.COMPANIES.
 java.util.ArrayList ParameterDAO.listParamRestrictions()
          Loads the set parameters restrictions(group name, code parameter name parameter, description, warning, level_1_2, level_1_any level_any_2 and level_any_any) of the current company for each group parameter from DatabaseNames.SV_PARAMETER_GROUP, DatabaseNames.SV_PARAMETER and DatabaseNames.SV_PARM_RESTRICTION tables.
 java.util.ArrayList ParameterDAO.updateParamRestrictions(java.util.Hashtable items)
          Applies a set of updates in the parameters restrictions in the current company in DatabaseNames.SV_PARM_RESTRICTION table.
 ParameterModel ParameterDAO.listParamValues(java.lang.String codeParameter)
          Loads the set parameters values of the current company for the parameter without warning colors from DatabaseNames.COMPANIES, DatabaseNames.SV_PARAMETER, DatabaseNames.SV_PARMETER_VALUE, DatabaseNames.SV_PARM_RESTRICTION, DatabaseNames.SV_LEVEL1_POINT, DatabaseNames.SV_LEVEL2_POINT tables.
 java.util.Hashtable ParameterDAO.loadLevel1Code()
          Loads the value an code of level 1 point from DatabaseNames.SV_LEVEL1_POINT table.
 java.util.Hashtable ParameterDAO.loadLevel2Code()
          Loads the value an code of level 2 point from DatabaseNames.SV_LEVEL2_POINT table.
 java.lang.String ParameterDAO.updateParamValues(ParameterValue items, java.util.Hashtable level1code, java.util.Hashtable level2code)
          Applies a set of updates in the parameters values in the current company in DatabaseNames.SV_PARAMETER_VALUE table.
 ParameterModel ParameterDAO.verifyParamValues(ParameterValue items)
          Check the parameters values and set warning colors to ParameterModel object of the current company for the parameter.
 java.util.ArrayList ParameterEJB.loadParamLevelsName()
          Loads parameters levels names of the current company.
 java.util.ArrayList ParameterEJB.updateParamLevelsName(java.util.ArrayList items)
          Applies a set of updates in the parameters levels names of the current company.
 CodeDescription[] ParameterEJB.listParamLevel1Points()
          Loads all [code, value] of the values of parameter level 1 of the current company.
 java.util.ArrayList ParameterEJB.applyItemsParamLevel1Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 1 of the current company.
 CodeDescription[] ParameterEJB.listParamLevel2Points()
          Loads all [code, value] of the values of parameter level 2 of the current company.
 java.util.ArrayList ParameterEJB.applyItemsParamLevel2Points(java.util.ArrayList items)
          Applies a set of changes in the values of parameter level 2 of the current company.
 java.util.ArrayList ParameterEJB.loadParamSearchValues()
          Loads parameters search order of the current company.
 java.util.ArrayList ParameterEJB.updateParamSearchValues(java.util.ArrayList items)
          Applies a set of updates in the parameters search order of the current company.
 java.util.ArrayList ParameterEJB.listParamRestrictions()
          Loads the set parameters restrictions of the current company for each group parameter.
 java.util.ArrayList ParameterEJB.updateParamRestrictions(java.util.Hashtable items)
          Applies a set of updates in the parameters restrictions in the current company.
 ParameterModel ParameterEJB.listParamValues(java.lang.String codeParamater)
          Loads the set parameters values of the current company for the parameter without warning colors.
 java.util.Hashtable ParameterEJB.loadLevel1Code()
          Loads the value an code of level 1 point
 java.util.Hashtable ParameterEJB.loadLevel2Code()
          Loads the value an code of level 2 point
 java.lang.String ParameterEJB.updateParamValues(ParameterValue items, java.util.Hashtable level1Code, java.util.Hashtable level2Code)
          Applies a set of updates in the parameters values in the current company.
 ParameterModel ParameterEJB.verifyParamValues(ParameterValue items)
          Check the parameters values and set warning colors to ParameterModel object of the current company for the parameter.
private  ParameterDAO ParameterEJB.getDao()
          Obtains a DAO instance assigning to parameterDao attribute
 

Constructors in com.instantbank.component.parameter.ejb that throw DAOException
ParameterDAO(java.lang.String companyId, java.lang.Long userId)
          Constructor: searchs the DataSource in the InitialContext