Interface EraseRest
-
- All Known Implementing Classes:
EraseRestImpl
public interface EraseRest
Erase specifies a common set of methods to control access, and process the input from the REST layer to the data access layer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
authorize()
verifies the authorization to the operation based on the allowedRoles.void
enabled()
checks if the tenant has enabled the Erase operation.EraseDTO
verify()
verifies the HttpMethod and incoming parameters are supported, and creates an intermediate EraseDTO
-
-
-
Method Detail
-
authorize
void authorize() throws FHIROperationException
verifies the authorization to the operation based on the allowedRoles. checks if the user calling the erase operation is authorized.- Throws:
FHIROperationException
-
enabled
void enabled() throws FHIROperationException
checks if the tenant has enabled the Erase operation.- Throws:
FHIROperationException
- the Erase operation is not enabled
-
verify
EraseDTO verify() throws FHIROperationException
verifies the HttpMethod and incoming parameters are supported, and creates an intermediate EraseDTO- Returns:
- a valid DTO
- Throws:
FHIROperationException
-
-