public class DefaultB2BBudgetService extends AbstractBusinessService implements B2BBudgetService<B2BBudgetModel,B2BCustomerModel>
B2BBudgetServiceAbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultB2BBudgetService() |
| Modifier and Type | Method and Description |
|---|---|
SearchPageData<B2BBudgetModel> |
findPagedBudgets(PageableData pageableData)
Gets list of
SearchPageData for pagination given the required pagination parameters with
PageableData |
protected B2BBudgetDao |
getB2bBudgetDao() |
B2BBudgetModel |
getB2BBudgetForCode(String code)
Get
B2BBudgetModel of specified code. |
Set<B2BBudgetModel> |
getB2BBudgets() |
Collection<B2BBudgetModel> |
getCurrentBudgets(B2BCostCenterModel costCenter)
Gets the current budgets that are active for a cost center and have the same currency as the cost center.
|
protected <any> |
getPagedB2BBudgetDao() |
protected SearchRestrictionService |
getSearchRestrictionService() |
boolean |
isBudgetExisting(String code)
Deprecated.
|
void |
setB2bBudgetDao(B2BBudgetDao b2bBudgetDao) |
void |
setPagedB2BBudgetDao(<any> pagedB2BBudgetDao) |
void |
setSearchRestrictionService(SearchRestrictionService searchRestrictionService) |
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplacepublic Collection<B2BBudgetModel> getCurrentBudgets(B2BCostCenterModel costCenter)
B2BBudgetServicegetCurrentBudgets in interface B2BBudgetService<B2BBudgetModel,B2BCustomerModel>costCenter - the cost center@Deprecated public boolean isBudgetExisting(String code)
isBudgetExisting in interface B2BBudgetService<B2BBudgetModel,B2BCustomerModel>code - the budget's codepublic Set<B2BBudgetModel> getB2BBudgets()
getB2BBudgets in interface B2BBudgetService<B2BBudgetModel,B2BCustomerModel>B2BBudgetModel - all B2BBudgets to which the caller has visibility.public B2BBudgetModel getB2BBudgetForCode(String code)
B2BBudgetServiceB2BBudgetModel of specified code. Returns null if none found.getB2BBudgetForCode in interface B2BBudgetService<B2BBudgetModel,B2BCustomerModel>code - the codepublic SearchPageData<B2BBudgetModel> findPagedBudgets(PageableData pageableData)
B2BBudgetServiceSearchPageData for pagination given the required pagination parameters with
PageableDatafindPagedBudgets in interface B2BBudgetService<B2BBudgetModel,B2BCustomerModel>pageableData - Pagination informationB2BBudgetModel objectsprotected B2BBudgetDao getB2bBudgetDao()
public void setB2bBudgetDao(B2BBudgetDao b2bBudgetDao)
protected SearchRestrictionService getSearchRestrictionService()
public void setSearchRestrictionService(SearchRestrictionService searchRestrictionService)
protected <any> getPagedB2BBudgetDao()
public void setPagedB2BBudgetDao(<any> pagedB2BBudgetDao)
Copyright © 2017 SAP SE. All Rights Reserved.