Checks if the id is a long
Checks if the id is a long
to check
id if is a long, BadRequestException otherwise.
Checks if the code is a string
Checks if the code is a string
to check
key if is a string, BadRequestException otherwise.
Checks if the param and entity id are equal.
Checks if the param and entity id are equal.
id param.
id extracted from request body.
true if equal, false otherwise.
Checks if the param and entity key are equal.
Checks if the param and entity key are equal.
key param.
key extracted from request body.
true if equal, false otherwise.
Handles validation of params passed to the controllers.