Class DefaultB2BItemService
java.lang.Object
de.hybris.platform.b2b.services.impl.DefaultB2BItemService
- All Implemented Interfaces:
B2BItemService
@Deprecated(since="4.4",
forRemoval=true)
public class DefaultB2BItemService
extends Object
implements B2BItemService
Deprecated, for removal: This API element is subject to removal in a future version.
Since 4.4. Distribute functionality to hybris services or if does not exist find an appropriate place in
the b2b services.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbudgetExists(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.booleancostCenterExists(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.findAllItems(Class<M> model) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.findB2BBudgetByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.findB2BCustomerByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.findB2BUserGroupByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.protected BaseDaoDeprecated, for removal: This API element is subject to removal in a future version.getRoles()Deprecated, for removal: This API element is subject to removal in a future version.protected SearchRestrictionServiceDeprecated, for removal: This API element is subject to removal in a future version.protected SessionServiceDeprecated, for removal: This API element is subject to removal in a future version.voidsetBaseDao(BaseDao baseDao) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidsetSearchRestrictionService(SearchRestrictionService searchRestrictionService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSessionService(SessionService sessionService) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
roles
Deprecated, for removal: This API element is subject to removal in a future version.The role groups.
-
-
Constructor Details
-
DefaultB2BItemService
public DefaultB2BItemService()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
findB2BBudgetByCode
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BBudgetService.getB2BBudgetForCode(String)- Specified by:
findB2BBudgetByCodein interfaceB2BItemService- Parameters:
code- the code- Returns:
- the b2 b budget model
-
findB2BCustomerByCode
@Deprecated(since="4.4", forRemoval=true) public B2BCustomerModel findB2BCustomerByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BCustomerService.getUserForUID(String)- Specified by:
findB2BCustomerByCodein interfaceB2BItemService- Parameters:
code- the code- Returns:
- the b2b customer model
-
findB2BUserGroupByCode
@Deprecated(since="4.4", forRemoval=true) public B2BUserGroupModel findB2BUserGroupByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseUserService.getUserGroupForUID(String, Class)- Specified by:
findB2BUserGroupByCodein interfaceB2BItemService- Parameters:
code- the group code- Returns:
- the
B2BUserGroupModel
-
findPrincipalGroupByCode
@Deprecated(since="4.4", forRemoval=true) public PrincipalGroupModel findPrincipalGroupByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseUserService.getUserGroupForUID(String, Class)- Specified by:
findPrincipalGroupByCodein interfaceB2BItemService- Parameters:
code- the group code- Returns:
- the
PrincipalGroupModel
-
findB2BCostCenterByCode
@Deprecated(since="4.4", forRemoval=true) public B2BCostCenterModel findB2BCostCenterByCode(String code) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
findB2BCostCenterByCodein interfaceB2BItemService- Parameters:
code- the code- Returns:
- the b2b cost center model
-
budgetExists
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BBudgetService.isBudgetExisting(String)Checks whether the budget exists regardless of visibility constraints- Specified by:
budgetExistsin interfaceB2BItemService- Parameters:
code-- Returns:
- true is budget with this code exists
-
costCenterExists
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BCostCenterService.isCostCenterExisting(String)Checks whether the cost center exists regardless of visibility constraintsDescription copied from interface:B2BItemServiceChecks whether the cost center exists regardless of visibility constraints- Specified by:
costCenterExistsin interfaceB2BItemService- Parameters:
code-- Returns:
- true is budget with this code exists
-
findAllB2BBudgets
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BBudgetService.getB2BBudgets()- Specified by:
findAllB2BBudgetsin interfaceB2BItemService- Returns:
- All
B2BBudgetModelto which the user has visibility.
-
findAllApprovers
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4. UseB2BCustomerService.getAllUsers()- Specified by:
findAllApproversin interfaceB2BItemService- Returns:
- the
SetofB2BCustomerModel
-
findAllB2BUserGroups
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.B2BCustomerService.getAllB2BUserGroups()- Specified by:
findAllB2BUserGroupsin interfaceB2BItemService- Returns:
- the
SetofB2BUserGroupModel
-
findAllRoleGroups
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.- Specified by:
findAllRoleGroupsin interfaceB2BItemService- Returns:
- list of Groups which grant rights to members.
-
findAllItems
@Deprecated(since="4.4", forRemoval=true) public <M extends ItemModel> List<M> findAllItems(Class<M> model) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.4.- Specified by:
findAllItemsin interfaceB2BItemService- Returns:
- list of Models
-
getRoles
Deprecated, for removal: This API element is subject to removal in a future version. -
setRoles
Deprecated, for removal: This API element is subject to removal in a future version. -
setBaseDao
Deprecated, for removal: This API element is subject to removal in a future version. -
getBaseDao
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the baseDao
-
getSessionService
Deprecated, for removal: This API element is subject to removal in a future version. -
setSessionService
Deprecated, for removal: This API element is subject to removal in a future version. -
getSearchRestrictionService
Deprecated, for removal: This API element is subject to removal in a future version. -
setSearchRestrictionService
Deprecated, for removal: This API element is subject to removal in a future version.
-