/** * Axelor Business Solutions * * Copyright (C) 2016 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.axelor.apps.businessproject.module; import com.axelor.app.AxelorModule; import com.axelor.apps.businessproject.db.repo.InvoicingProjectManagementRepository; import com.axelor.apps.businessproject.db.repo.InvoicingProjectRepository; import com.axelor.apps.businessproject.service.ExpenseProjectService; import com.axelor.apps.businessproject.service.ProjectTaskBusinessService; import com.axelor.apps.businessproject.service.PurchaseOrderInvoiceProjectServiceImpl; import com.axelor.apps.businessproject.service.SaleOrderInvoiceProjectServiceImpl; import com.axelor.apps.businessproject.service.TimesheetProjectServiceImpl; import com.axelor.apps.hr.service.expense.ExpenseService; import com.axelor.apps.hr.service.timesheet.TimesheetServiceImpl; import com.axelor.apps.project.service.ProjectTaskService; import com.axelor.apps.supplychain.service.PurchaseOrderInvoiceServiceImpl; import com.axelor.apps.supplychain.service.SaleOrderInvoiceServiceImpl; public class BusinessProjectModule extends AxelorModule{ @Override protected void configure() { bind(SaleOrderInvoiceServiceImpl.class).to(SaleOrderInvoiceProjectServiceImpl.class); bind(PurchaseOrderInvoiceServiceImpl.class).to(PurchaseOrderInvoiceProjectServiceImpl.class); bind(TimesheetServiceImpl.class).to(TimesheetProjectServiceImpl.class); bind(ExpenseService.class).to(ExpenseProjectService.class); bind(ProjectTaskService.class).to(ProjectTaskBusinessService.class); bind(InvoicingProjectRepository.class).to(InvoicingProjectManagementRepository.class); } }