public class JpaServerInterceptorAdapter extends InterceptorAdapter implements IJpaServerInterceptor
IServerInterceptor.ActionRequestDetails| Constructor and Description |
|---|
JpaServerInterceptorAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
resourceCreated(IServerInterceptor.ActionRequestDetails theDetails,
ResourceTable theResourceTable)
This method is invoked by the JPA DAOs when a resource has been newly created in the database.
|
void |
resourceDeleted(IServerInterceptor.ActionRequestDetails theDetails,
ResourceTable theResourceTable)
This method is invoked by the JPA DAOs when a resource has been updated in the database.
|
void |
resourceUpdated(IServerInterceptor.ActionRequestDetails theDetails,
ResourceTable theResourceTable)
This method is invoked by the JPA DAOs when a resource has been updated in the database.
|
handleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormallyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormallypublic void resourceCreated(IServerInterceptor.ActionRequestDetails theDetails, ResourceTable theResourceTable)
IJpaServerInterceptor
This method is called within the server database transaction, after the
entity has been persisted and flushed to the database. It may not be a good
candidate for security decisions depending on how your database is set up.
Any exceptions thrown by this method will result in the transaction being
rolled back. Thrown exceptions should be of a type which
subclasses BaseServerResponseException.
resourceCreated in interface IJpaServerInterceptortheDetails - The request detailstheResourceTable - The actual created entitypublic void resourceUpdated(IServerInterceptor.ActionRequestDetails theDetails, ResourceTable theResourceTable)
IJpaServerInterceptor
This method is called within the server database transaction, after the
entity has been persisted and flushed to the database. It may not be a good
candidate for security decisions depending on how your database is set up.
Any exceptions thrown by this method will result in the transaction being
rolled back. Thrown exceptions should be of a type which
subclasses BaseServerResponseException.
resourceUpdated in interface IJpaServerInterceptortheDetails - The request detailstheResourceTable - The actual updated entitypublic void resourceDeleted(IServerInterceptor.ActionRequestDetails theDetails, ResourceTable theResourceTable)
IJpaServerInterceptor
This method is called within the server database transaction, after the
entity has been persisted and flushed to the database. It may not be a good
candidate for security decisions depending on how your database is set up.
Any exceptions thrown by this method will result in the transaction being
rolled back. Thrown exceptions should be of a type which
subclasses BaseServerResponseException.
resourceDeleted in interface IJpaServerInterceptortheDetails - The request detailstheResourceTable - The actual updated entityCopyright © 2014–2017 University Health Network. All rights reserved.