Installation Guide for Oracle Self-Service E-Billing > Migrating to Oracle Self-Service E-Billing Version 6.0.4 From Other Products > Roadmap for Migrating Oracle eStatement Manager Version 4.7 to Oracle Self-Service E-Billing Version 6.0.4 >

Customizing the Media Retrieval Functionality


The media retrieval feature gives the Oracle Self-Service E-Billing user remote access to Oracle eStatement Manager 4.7 to fetch a particular statement or history list.

Oracle eStatement Manager extracts and formats the statement information then sends the HTML stream to Oracle Self-Service E-Billing, which renders the statement.

Oracle Self-Service E-Billing provides the following public APIs for customizing the media retrieval functionality:

  • Media retrieval APIs
  • APIs to access statement data
  • Media retrieval configurations

This task is a step in Roadmap for Migrating Oracle eStatement Manager Version 4.7 to Oracle Self-Service E-Billing Version 6.0.4.

Using Media Retrieval APIs

The Media Retrieval module exposes the following APIs to get statement summary information and statement data:

  • ImediaRetrieval. Allows Oracle Self-Service E-Billing to work with Oracle eStatement Manager. ImediaRetrieval has two methods to retrieve the history list for an account number and retrieve the statement for an account number and bill period. The remote MediaRetrieval EJB is defined in Oracle Self-Service E-Billing, which implements this interface. The statement repository in Oracle eStatement Manager provides the actual implementation of the MediaRetrieval EJB (com.edocs.common.api.statement.mediaretrieval.ImediaRetrieval).
  • IMediaRetrieverService. Retrieves statement summary data and the statement view from any media type. Full path of the API is com.edocs.common.api.statement.mediaretrieval.IMediaRetrieverService.

Major implementation class: The main entry class that provides the media retrieval is servicecom.edocs.common.statement.mediaretrieval.ESMMediaRetrievalService.

APIs for Accessing Statement Data

All client classes can access the statement summary data and statement information retrieved from Oracle eStatement Manager. Two interfaces are exposed to store that data:

  • IStatementSummary. Provides methods to retrieve statement summary information from the Indexer table, such as account number, amount due, due date, and statement dates. The full path of this API is com.edocs.common.api.statement.mediaretrieval.IStatementSummary.
  • IStatementInfo. Provides methods to retrieve the statement stream for a particular DDN, account, view type, and view name. The full path of this API is com.edocs.common.api.statement.mediaretrieval.IStatementInfo.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.