/** * <p>Create SrvEmployee service.</p> * @param pSrvName Service Name * @return SrvEmployee Employee service * @throws Exception - an exception */ public final synchronized SrvAccEntitySimple createSrvEmployee(final String pSrvName) throws Exception { SrvAccEntitySimple srvEntity = new SrvAccEntitySimple(Employee.class, factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); factoryAppBeans.getBeansMap().put(pSrvName, srvEntity); SrvEmployeeYearWage srvEntityOwned = new SrvEmployeeYearWage( factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); this.factoryAppBeans.getBeansMap().put("srv" + EmployeeYearWage.class .getSimpleName(), srvEntityOwned); return srvEntity; }
/** * <p>Create InvItem Tax Category service.</p> * @param pSrvName Service Name * @return SrvAccEntitySimple<InvItemTaxCategory> InvItem Tax Category service * @throws Exception - an exception */ public final synchronized SrvAccEntitySimple<InvItemTaxCategory> createSrvInvItemTaxCat(final String pSrvName) throws Exception { SrvAccEntitySimple<InvItemTaxCategory> srvEntity = new SrvAccEntitySimple<InvItemTaxCategory>(InvItemTaxCategory.class, factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); factoryAppBeans.getBeansMap().put(pSrvName, srvEntity); Object srvInvItemTaxCatLine = new SrvInvItemTaxCategoryLine<RS>(factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); factoryAppBeans.getBeansMap().put("srv" + InvItemTaxCategoryLine .class.getSimpleName(), srvInvItemTaxCatLine); return srvEntity; }
/** * <p>Create MoveItems service.</p> * @param pSrvName Service Name * @return SrvAccEntitySimple<MoveItems> MoveItems service * @throws Exception - an exception */ public final synchronized SrvAccEntitySimple<MoveItems> createSrvMoveItems(final String pSrvName) throws Exception { SrvAccEntitySimple<MoveItems> srvEntity = new SrvAccEntitySimple<MoveItems>(MoveItems.class, factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); factoryAppBeans.getBeansMap().put(pSrvName, srvEntity); Object srvMoveItemsLine = new SrvMoveItemsLine<RS>(factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings(), lazyGetSrvWarehouseEntry()); factoryAppBeans.getBeansMap().put("srv" + MoveItemsLine .class.getSimpleName(), srvMoveItemsLine); return srvEntity; }
createSrvAccount(pSrvName); } else { srvEntity = new SrvAccEntitySimple(entityClass, factoryAppBeans.lazyGetSrvOrm(), lazyGetSrvAccSettings()); factoryAppBeans.getBeansMap().put(pSrvName, srvEntity);