public void deleteCodeCustomizationMaster(String codeCustSeqId) throws EJBException { ETCodeCustDAO codeCustDAO = null; try { codeCustDAO = new ETCodeCustDAO(); codeCustDAO.deleteCodeCustMaster(codeCustSeqId); } catch (Exception e) { throw new EJBException(e); } finally { codeCustDAO = null; } }
public ETCodeCustMainDetails updateCodeCustomizationMaster( ETCodeCustMainDetails codeCustMaster, ESupplyGlobalParameters loginBean) throws EJBException { ETCodeCustDAO codeCustDAO = null; try { codeCustDAO = new ETCodeCustDAO(); codeCustDAO.updateCodeCustMaster(codeCustMaster); return codeCustMaster; } catch (Exception e) { throw new EJBException(e); } finally { codeCustDAO = null; } }