Package de.hybris.platform.b2b.dao
Interface B2BCostCenterDao
- All Superinterfaces:
GenericDao<B2BCostCenterModel>
- All Known Implementing Classes:
DefaultB2BCostCenterDao
-
Method Summary
Modifier and TypeMethodDescriptionfindActiveCostCentersByBranchAndCurrency(Set<B2BUnitModel> branch, CurrencyModel currency) Returns list of activeB2BCostCenterModels associated with any B2BUnit in the set passed and having the matching currency.findByCode(String code) Finds B2BCostCenter by code, If none is found null is returned.
-
Method Details
-
findActiveCostCentersByBranchAndCurrency
List<B2BCostCenterModel> findActiveCostCentersByBranchAndCurrency(Set<B2BUnitModel> branch, CurrencyModel currency) Returns list of activeB2BCostCenterModels associated with any B2BUnit in the set passed and having the matching currency.- Parameters:
branch-currency-- Returns:
- List
B2BCostCenterModel
-
findByCode
Finds B2BCostCenter by code, If none is found null is returned.- Parameters:
code- , the code of the desired Cost Center
-