Interface EraseRest
- 
- All Known Implementing Classes:
 EraseRestImpl
public interface EraseRestErase 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 voidauthorize()verifies the authorization to the operation based on the allowedRoles.voidenabled()checks if the tenant has enabled the Erase operation.EraseDTOverify()verifies the HttpMethod and incoming parameters are supported, and creates an intermediate EraseDTO 
 - 
 
- 
- 
Method Detail
- 
authorize
void authorize() throws FHIROperationExceptionverifies 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 FHIROperationExceptionchecks 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
 
 - 
 
 -