/** create_Local */ public com.grupobbva.bc.per.tel.iilc.entity.Tiilc_empresaLocal create_Local( java.lang.String cod_empresa) throws javax.ejb.CreateException, java.rmi.RemoteException { BeanO beanO = null; com.grupobbva.bc.per.tel.iilc.entity.Tiilc_empresaLocal result = null; boolean createFailed = false; boolean preCreateFlag = false; try { beanO = super.createBeanO(); com.grupobbva.bc.per.tel.iilc.entity.Tiilc_empresaBean bean = (com.grupobbva.bc.per.tel.iilc.entity.Tiilc_empresaBean) beanO.getEnterpriseBean(); preCreateFlag = super.preEjbCreate(beanO); bean.ejbCreate(cod_empresa); Object ejsKey = keyFromBean(bean); result = (com.grupobbva.bc.per.tel.iilc.entity.Tiilc_empresaLocal) super.postCreate_Local(beanO, ejsKey, true); bean.ejbPostCreate(cod_empresa); super.afterPostCreate(beanO, ejsKey); } catch (javax.ejb.CreateException ex) { createFailed = true; throw ex; } catch (java.rmi.RemoteException ex) { createFailed = true; throw ex; } catch (Throwable ex) { createFailed = true; throw new CreateFailureException(ex); } finally { if (preCreateFlag && !createFailed) super.afterPostCreateCompletion(beanO); if (createFailed) { super.createFailure(beanO); } } return result; }
/** create_Local */ public entities.Tiido_equivalenciasLocal create_Local(java.lang.String cod_car) throws javax.ejb.CreateException, java.rmi.RemoteException { BeanO beanO = null; entities.Tiido_equivalenciasLocal result = null; boolean createFailed = false; boolean preCreateFlag = false; try { beanO = super.createBeanO(); entities.Tiido_equivalenciasBean bean = (entities.Tiido_equivalenciasBean) beanO.getEnterpriseBean(); preCreateFlag = super.preEjbCreate(beanO); bean.ejbCreate(cod_car); Object ejsKey = keyFromBean(bean); result = (entities.Tiido_equivalenciasLocal) super.postCreate_Local(beanO, ejsKey, true); bean.ejbPostCreate(cod_car); super.afterPostCreate(beanO, ejsKey); } catch (javax.ejb.CreateException ex) { createFailed = true; throw ex; } catch (java.rmi.RemoteException ex) { createFailed = true; throw ex; } catch (Throwable ex) { createFailed = true; throw new CreateFailureException(ex); } finally { if (preCreateFlag && !createFailed) super.afterPostCreateCompletion(beanO); if (createFailed) { super.createFailure(beanO); } } return result; }
/** afterPostCreateWrapper */ public void afterPostCreateWrapper(com.ibm.ejs.container.BeanO beanO, Object ejsKey) throws javax.ejb.CreateException, java.rmi.RemoteException { super.afterPostCreate(beanO, ejsKey); }