Interface BudgetCategoryMapService
public interface BudgetCategoryMapService
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends BudgetCategoryMapContract> findCatMapByMappingName(String mappingName) Finds theBudgetCategoryMapContracts by mappingName.List<? extends BudgetCategoryMapContract> findCatMapByTargetAndMappingName(String targetCategoryCode, String mappingName) Finds theBudgetCategoryMapContracts by targetCategoryCode and mappingName.List<? extends BudgetCategoryMappingContract> findCatMappingByMappingName(String mappingName) Finds theBudgetCategoryMappingContracts by mappingName.List<? extends BudgetCategoryMappingContract> findCatMappingByTargetAndMappingName(String targetCategoryCode, String mappingName) Finds theBudgetCategoryMappingContracts by targetCategoryCode and mappingName.
-
Method Details
-
findCatMapByTargetAndMappingName
List<? extends BudgetCategoryMapContract> findCatMapByTargetAndMappingName(String targetCategoryCode, String mappingName) Finds theBudgetCategoryMapContracts by targetCategoryCode and mappingName. Will return an empty List if no items exist.- Parameters:
targetCategoryCode- the target category code. Cannot be blank.mappingName- the mapping name. Cannot be blank.- Returns:
- a list of
BudgetCategoryMapContracts or an empty list. - Throws:
IllegalArgumentException- if the targetCategoryCode is blank, if the mappingName is blank
-
findCatMapByMappingName
Finds theBudgetCategoryMapContracts by mappingName. Will return an empty List if no items exist.- Parameters:
mappingName- the mapping name. Cannot be blank.- Returns:
- a list of
BudgetCategoryMapContracts or an empty list. - Throws:
IllegalArgumentException- if the mappingName is blank
-
findCatMappingByTargetAndMappingName
List<? extends BudgetCategoryMappingContract> findCatMappingByTargetAndMappingName(String targetCategoryCode, String mappingName) Finds theBudgetCategoryMappingContracts by targetCategoryCode and mappingName. Will return an empty List if no items exist.- Parameters:
targetCategoryCode- the target category code. Cannot be blank.mappingName- the mapping name. Cannot be blank.- Returns:
- a list of
BudgetCategoryMappingContracts or an empty list. - Throws:
IllegalArgumentException- if the targetCategoryCode is blank, if the mappingName is blank
-
findCatMappingByMappingName
Finds theBudgetCategoryMappingContracts by mappingName. Will return an empty List if no items exist.- Parameters:
mappingName- the mapping name. Cannot be blank.- Returns:
- a list of
BudgetCategoryMappingContracts or an empty list. - Throws:
IllegalArgumentException- if the mappingName is blank
-