Class B2BUsersController
- java.lang.Object
-
- de.hybris.platform.b2bocc.v2.controllers.BaseController
-
- de.hybris.platform.b2bocc.v2.controllers.B2BUsersController
-
@Controller public class B2BUsersController extends BaseController
Main Controller for Users
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringAPI_COMPATIBILITY_B2B_CHANNELSprotected DataMapperdataMapper-
Fields inherited from class de.hybris.platform.b2bocc.v2.controllers.BaseController
BASIC_FIELD_SET, DEFAULT_CURRENT_PAGE, DEFAULT_FIELD_SET, DEFAULT_PAGE_SIZE, HEADER_TOTAL_COUNT, INVALID_REQUEST_BODY_ERROR_MESSAGE
-
-
Constructor Summary
Constructors Constructor Description B2BUsersController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserWsDTOgetOrgUser(java.lang.String fields)-
Methods inherited from class de.hybris.platform.b2bocc.v2.controllers.BaseController
addPaginationField, getDataMapper, handleDuplicateUidException, handleErrorInternal, handleHttpMessageNotReadableException, handleModelNotFoundException, logParam, logParam, logParam, logValue, sanitize, setDataMapper, setTotalCountHeader, setTotalCountHeader, validate
-
-
-
-
Field Detail
-
API_COMPATIBILITY_B2B_CHANNELS
protected static final java.lang.String API_COMPATIBILITY_B2B_CHANNELS
- See Also:
- Constant Field Values
-
dataMapper
protected DataMapper dataMapper
-
-
Method Detail
-
getOrgUser
@Secured({"ROLE_CUSTOMERGROUP","ROLE_TRUSTED_CLIENT","ROLE_CUSTOMERMANAGERGROUP"}) @RequestMapping(value="#{ ${occ.rewrite.overlapping.paths.enabled:false} ? \'/{baseSiteId}/orgUsers/{userId}\' : \'/{baseSiteId}/users/{userId}\'}", method=GET) @SiteChannelRestriction(allowedSiteChannelsProperty="api.compatibility.b2b.channels") @ResponseBody public UserWsDTO getOrgUser(@RequestParam(required=false,defaultValue="DEFAULT") java.lang.String fields)
-
-