question: private static void savePgr ( DispatchContext dctx , GenericValue pgr ) { Map < String , GenericValue > context = UtilMisc . < String , GenericValue > toMap ( "paymentGatewayResponse" , pgr ) ; LocalDispatcher dispatcher = dctx . getDispatcher ( ) ; Delegator delegator = dctx . getDelegator ( ) ; try { dispatcher . addRollbackService ( "savePaymentGatewayResponse" , context , true ) ; delegator . create ( pgr ) ; } catch ( Exception e ) { Debug . logError ( e , module ) ; } }
target:  Saves either a PaymentGatewayResponse or PaymentGatewayRespMsg value and ensures that the value is persisted even in the event of a rollback.