Class ScimGroupsController
java.lang.Object
de.hybris.platform.scimwebservices.v2.controllers.ScimGroupsController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGroup(ScimGroup scimGroup) voiddeleteGroup(String groupId) getGroups(int startIndex, int count, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) patchGroup(String groupId, ScimGroup scimGroup) protected static StringMethod to sanitize the input stringupdateGroup(String groupId, ScimGroup scimGroup) protected voidValidates the object by using the passed validator
-
Constructor Details
-
ScimGroupsController
public ScimGroupsController()
-
-
Method Details
-
createGroup
-
updateGroup
-
getGroup
-
getGroups
@GetMapping(produces="application/json") public ScimGroupList getGroups(@RequestParam(value="startIndex",defaultValue="1") int startIndex, @RequestParam(value="count",defaultValue="0") int count, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
deleteGroup
@ResponseStatus(OK) @RequestMapping(value="/{groupId}", method=DELETE) public void deleteGroup(@PathVariable String groupId) -
patchGroup
-
validate
Validates the object by using the passed validator- Parameters:
object- the object to be validatedobjectName- the object namevalidator- validator which will validate the object
-
sanitize
Method to sanitize the input string- Parameters:
input- the input string- Returns:
- String sanitized string
-