Interface RatingExtension
- All Superinterfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>
- All Known Implementing Classes:
SampleRatingExtension
public interface RatingExtension
extends oracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>
Rating extension API invoked as a part of OCS to execute customer behavior at
key phases in the charging workflow.
custom extension code.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandlePostApplyAlteration(RatingExtensionContext extensionContext) This extension point is executed by the OCS immediately following the "alteration" calculation for a usage request.voidhandlePostApplyCharge(RatingExtensionContext extensionContext) This extension point is executed by the OCS immediately following the "charge" calculation for a usage request.voidhandlePostApplyDistribution(RatingExtensionContext extensionContext) This extension point is executed by the OCS immediately following the "distribution" calculation for a usage request.voidhandlePostApplyTaxation(RatingExtensionContext extensionContext) This extension point is executed by the OCS immediately following the "taxation" calculation for a usage request.voidinitialize(ExtensionContext extensionContext) method is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.voidshutdown(ExtensionContext extensionContext) method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.
-
Method Details
-
initialize
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallbackmethod is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.- Specified by:
initializein interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>- Parameters:
extensionContext- the context which exposes objects that are needed at initialization time.- Throws:
ExtensionException- if a non-recoverable error occurs during initialization.
-
handlePostApplyCharge
This extension point is executed by the OCS immediately following the "charge" calculation for a usage request. Operators can implement this method to effect the "charge" calculation.- Parameters:
extensionContext- the available context data that can be accessed during the post apply charge rating flow.- Throws:
ExtensionException- if a non-recoverable error occurs during extension execution.
-
handlePostApplyAlteration
This extension point is executed by the OCS immediately following the "alteration" calculation for a usage request. Operators can implement this method to effect the "alteration" calculation.- Parameters:
extensionContext- the available context data that can be accessed during the post apply alteration rating flow.- Throws:
ExtensionException- if a non-recoverable error occurs during extension execution.
-
handlePostApplyDistribution
This extension point is executed by the OCS immediately following the "distribution" calculation for a usage request. Operators can implement this method to effect the "distribution" calculation.- Parameters:
extensionContext- the available context data that can be accessed during the post apply distribution rating flow.- Throws:
ExtensionException- if a non-recoverable error occurs during extension execution.
-
handlePostApplyTaxation
This extension point is executed by the OCS immediately following the "taxation" calculation for a usage request. Operators can implement this method to effect the "taxation" calculation.- Parameters:
extensionContext- the available context data that can be accessed during the post apply taxation rating flow.- Throws:
ExtensionException- if a non-recoverable error occurs during extension execution.
-
shutdown
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallbackmethod is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.- Specified by:
shutdownin interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<RatingExtensionContext>- Parameters:
extensionContext- the context which exposes objects that are needed at shutdown time.- Throws:
ExtensionException- if a non-recoverable error occurs during shutdown.
-