Package de.hybris.platform.b2b.dao
Interface B2BCostCenterDao
-
- All Superinterfaces:
GenericDao<B2BCostCenterModel>
- All Known Implementing Classes:
DefaultB2BCostCenterDao
public interface B2BCostCenterDao extends GenericDao<B2BCostCenterModel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<B2BCostCenterModel>
findActiveCostCentersByBranchAndCurrency(java.util.Set<B2BUnitModel> branch, CurrencyModel currency)
Returns list of activeB2BCostCenterModel
s associated with any B2BUnit in the set passed and having the matching currency.B2BCostCenterModel
findByCode(java.lang.String code)
Finds B2BCostCenter by code, If none is found null is returned.
-
-
-
Method Detail
-
findActiveCostCentersByBranchAndCurrency
java.util.List<B2BCostCenterModel> findActiveCostCentersByBranchAndCurrency(java.util.Set<B2BUnitModel> branch, CurrencyModel currency)
Returns list of activeB2BCostCenterModel
s associated with any B2BUnit in the set passed and having the matching currency.- Parameters:
branch
-currency
-- Returns:
- List
B2BCostCenterModel
-
findByCode
B2BCostCenterModel findByCode(java.lang.String code)
Finds B2BCostCenter by code, If none is found null is returned.- Parameters:
code
- , the code of the desired Cost Center
-
-