Interface ExtensionServiceContext
public interface ExtensionServiceContext
Expose Service Context API to be accessed in customization
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllServiceEvents
(Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> serviceEvents) Method to add all the service events from the context except service event of type PROCESSING_STATUS.void
addCustomBrmOpCodeServiceEvent
(Map<String, String> customEventNotificationData, String opCode, String externalReference) Method to add a Custom ServiceEvent with the given custom data values.void
addCustomServiceEvent
(Map<String, String> customEventNotificationData) Method to add a Custom ServiceEvent with the given custom data values.void
addServiceEvent
(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent serviceEvent) Methd to add one service event to the contextCollection
<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> Map
<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType, Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent>> Method to get all the service events for which extension is allowedMethod to return the custom Data MapCollection
<oracle.communication.brm.charging.servicecontext.ExtensionAggregatedThresholdBreachServiceEvent> Returns ExtensionAggregatedThresholdBreachServiceEventsCollection
<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType> Method to get all the service event types which can be extendedCollection
<oracle.communication.brm.charging.servicecontext.ExtensionCreditCeilingBreachNotificationServiceEvent> Returns ExtensionCreditCeilingBreachNotificationServiceEventCollection
<oracle.communication.brm.charging.servicecontext.ExtensionCreditFloorBreachNotificationServiceEvent> Returns ExtensionCreditFloorBreachNotificationServiceEventsCollection
<oracle.communication.brm.charging.servicecontext.ExtensionThresholdBreachServiceEvent> Returns ExtensionThresholdBreachServiceEventsCollection
<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> getServiceEvents
(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType eventType) Returns the Collection of Service Events of the given type.boolean
removeEvent
(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent event) Method to remove a particular ServiceEvent from the ServiceContext, if it is present.Collection
<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> removeServiceEvent
(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType serviceEventType) Removes all ServiceEvent's corresponding to specified ServiceEvent type.
-
Method Details
-
getExtensionThresholdBreachServiceEvents
Collection<oracle.communication.brm.charging.servicecontext.ExtensionThresholdBreachServiceEvent> getExtensionThresholdBreachServiceEvents()Returns ExtensionThresholdBreachServiceEvents- Returns:
- collection of ExtensionThresholdBreachServiceEvent
-
getExtensionCreditCeilingBreachNotificationServiceEvent
Collection<oracle.communication.brm.charging.servicecontext.ExtensionCreditCeilingBreachNotificationServiceEvent> getExtensionCreditCeilingBreachNotificationServiceEvent()Returns ExtensionCreditCeilingBreachNotificationServiceEvent- Returns:
- collection of ExtensionCreditCeilingBreachNotificationServiceEvent
-
getExtensionCreditFloorBreachNotificationServiceEvent
Collection<oracle.communication.brm.charging.servicecontext.ExtensionCreditFloorBreachNotificationServiceEvent> getExtensionCreditFloorBreachNotificationServiceEvent()Returns ExtensionCreditFloorBreachNotificationServiceEvents- Returns:
- collection of ExtensionCreditFloorBreachNotificationServiceEvent
-
getExtensionAggregatedThresholdBreachServiceEvents
Collection<oracle.communication.brm.charging.servicecontext.ExtensionAggregatedThresholdBreachServiceEvent> getExtensionAggregatedThresholdBreachServiceEvents()Returns ExtensionAggregatedThresholdBreachServiceEvents- Returns:
- collection of ExtensionAggregatedThresholdBreachServiceEvent
-
removeServiceEvent
Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> removeServiceEvent(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType serviceEventType) Removes all ServiceEvent's corresponding to specified ServiceEvent type.- Parameters:
serviceEventType
- ServiceEventType- Returns:
- collection of ServiceEvent
-
removeEvent
boolean removeEvent(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent event) Method to remove a particular ServiceEvent from the ServiceContext, if it is present.- Parameters:
event
- event to be removed- Returns:
- true if the service context contained the specified service event and it was removed, false if it was not found and hence there was nothing to remove
-
addAllServiceEvents
void addAllServiceEvents(Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> serviceEvents) Method to add all the service events from the context except service event of type PROCESSING_STATUS.- Parameters:
serviceEvents
- collection of ServiceEvent
-
addServiceEvent
void addServiceEvent(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent serviceEvent) Methd to add one service event to the context- Parameters:
serviceEvent
- ServiceEvent
-
addCustomServiceEvent
Method to add a Custom ServiceEvent with the given custom data values.- Parameters:
customEventNotificationData
- Key, Value pair of data to be put in the custom event
-
addCustomBrmOpCodeServiceEvent
void addCustomBrmOpCodeServiceEvent(Map<String, String> customEventNotificationData, String opCode, String externalReference) Method to add a Custom ServiceEvent with the given custom data values.- Parameters:
customEventNotificationData
- Key, Value pair of data to be put in the custom eventopCode
- The opCode which needs to be called from the extension.externalReference
-
-
getCustomEventDataInfo
List<oracle.communication.brm.charging.util.misc.Triple<Map<String,String>, getCustomEventDataInfo()String, String>> Method to return the custom Data Map- Returns:
- List containing Key, Value pair of Custom Data to be added along with opcode and external reference
-
getExtensionAllowedServiceEventTypes
Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType> getExtensionAllowedServiceEventTypes()Method to get all the service event types which can be extended- Returns:
- Collection of Service Events for which extensions are allowed.
-
getAllServiceEvents
Map<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType,Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent>> getAllServiceEvents()Method to get all the service events for which extension is allowed- Returns:
- Collection of extend-able service events
-
getAllServiceEvent
Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> getAllServiceEvent() -
getServiceEvents
Collection<oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent> getServiceEvents(oracle.communication.brm.charging.servicecontext.ServiceContext.ServiceEvent.ServiceEventType eventType) Returns the Collection of Service Events of the given type. Only extend-able service event types can be given as input.- Parameters:
eventType
- Service Event Type- Returns:
- The collection of Service Events. Null if the event type is not extend-able.
-