Package com.ibm.fhir.smart
Class AuthzPolicyEnforcementPersistenceInterceptor
- java.lang.Object
-
- com.ibm.fhir.smart.AuthzPolicyEnforcementPersistenceInterceptor
-
- All Implemented Interfaces:
FHIRPersistenceInterceptor
public class AuthzPolicyEnforcementPersistenceInterceptor extends Object implements FHIRPersistenceInterceptor
-
-
Constructor Summary
Constructors Constructor Description AuthzPolicyEnforcementPersistenceInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterHistory(FHIRPersistenceEvent event)
This method is called during the processing of a 'history' REST API invocation, immediately after the resource's history has been read by the persistence layer.void
afterRead(FHIRPersistenceEvent event)
This method is called during the processing of a 'read' REST API invocation, immediately after the resource has been read by the persistence layer.void
afterSearch(FHIRPersistenceEvent event)
This method is called during the processing of a 'search' REST API invocation, immediately after the search has been performed by the persistence layer.void
afterVread(FHIRPersistenceEvent event)
This method is called during the processing of a 'vread' REST API invocation, immediately after the resource has been read by the persistence layer.void
beforeCreate(FHIRPersistenceEvent event)
This method is called during the processing of a 'create' REST API invocation, immediately before the new resource is stored by the persistence layer.void
beforeDelete(FHIRPersistenceEvent event)
This method is called during the processing of a 'delete' REST API invocation, immediately before the resource is deleted by the persistence layer.void
beforeUpdate(FHIRPersistenceEvent event)
This method is called during the processing of an 'update' REST API invocation, immediately before the updated resource is stored by the persistence layer.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.fhir.persistence.interceptor.FHIRPersistenceInterceptor
afterCreate, afterDelete, afterPatch, afterUpdate, beforeHistory, beforePatch, beforeRead, beforeSearch, beforeVread
-
-
-
-
Method Detail
-
beforeCreate
public void beforeCreate(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'create' REST API invocation, immediately before the new resource is stored by the persistence layer.- Specified by:
beforeCreate
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'create' event- Throws:
FHIRPersistenceInterceptorException
-
beforeDelete
public void beforeDelete(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'delete' REST API invocation, immediately before the resource is deleted by the persistence layer.- Specified by:
beforeDelete
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'delete' event- Throws:
FHIRPersistenceInterceptorException
-
beforeUpdate
public void beforeUpdate(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of an 'update' REST API invocation, immediately before the updated resource is stored by the persistence layer.- Specified by:
beforeUpdate
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'update' event- Throws:
FHIRPersistenceInterceptorException
-
afterRead
public void afterRead(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'read' REST API invocation, immediately after the resource has been read by the persistence layer.- Specified by:
afterRead
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'read' event- Throws:
FHIRPersistenceInterceptorException
-
afterVread
public void afterVread(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'vread' REST API invocation, immediately after the resource has been read by the persistence layer.- Specified by:
afterVread
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'vread' event- Throws:
FHIRPersistenceInterceptorException
-
afterHistory
public void afterHistory(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'history' REST API invocation, immediately after the resource's history has been read by the persistence layer.- Specified by:
afterHistory
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'history' event- Throws:
FHIRPersistenceInterceptorException
-
afterSearch
public void afterSearch(FHIRPersistenceEvent event) throws FHIRPersistenceInterceptorException
Description copied from interface:FHIRPersistenceInterceptor
This method is called during the processing of a 'search' REST API invocation, immediately after the search has been performed by the persistence layer.- Specified by:
afterSearch
in interfaceFHIRPersistenceInterceptor
- Parameters:
event
- information about the 'search' event- Throws:
FHIRPersistenceInterceptorException
-
-