Skip Headers
Oracle® Communications Unified Inventory Management Cable TV Technology Pack Implementation Guide
Release 7.2.2

Part Number E36043-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

5 Extending the Cable TV Technology Pack

You can extend the Cable TV Technology Pack. This chapter describes the content included in the technology pack to facilitate extension.

See UIM Concepts, UIM Developer's Guide, and the Oracle Communications Design Studio online Help for general information about how you extend specifications, characteristics, and rulesets.

Important:

To ensure that your extensions can be upgraded and supported, you must follow the guidelines and policies described in UIM Concepts.

Extending Validation Capabilities

The Cable TV Technology Pack includes a number of rulesets that you can use to introduce new validation capabilities.

By default, these rulesets have minimal logic. You can develop your own rulesets and extension points in separate cartridges and give them the same name as the original. Giving them the same name allows you to override the existing logic with custom logic. After you deploy the technology pack into Oracle Communications Unified Inventory Management (UIM), you install the cartridges with your custom rulesets, which add on to the existing rulesets. See UIM Concepts and UIM Developer's Guide for more information.

These are the rulesets included in the Cable TV Technology Pack:

Extending the Validation Methods

The Cable TV Technology Pack contains a Java file called VideoValidator.java. This file contains validation methods for the technology pack. These validation methods can be overridden to meet the business needs of your organization.

Table 5-1 lists and describes the validation methods in the technology pack.

Table 5-1 Validation Methods

Method Signature/Default Logic

validateHeadendProfileReferences

public void validateHeadendProfileReferences(String inputChannelMapId, InventoryGroup headend, LogicalDevice controller, LogicalDevice partition, LogicalDevice VODController, ServiceConfigurationVersion scv) throws ValidationException

This method internally calls the following methods:

  • validateAccessControllerAgainstHeadend

  • validateDevicePartitionAgainstHeadend

  • validateDevicePartitionAgainstAccessController

  • validateVODControllerAgainstHeadend

validateAccessControllerAgainstHeadend

public void validateAccessControllerAgainstHeadend(InventoryGroup headend, LogicalDevice controller, ServiceConfigurationVersion scv) throws ValidationException;

This method validates that an access controller that is part of a headend belongs to the same headend as that of the service configuration.

validateDevicePartitionAgainstHeadend

public void validateDevicePartitionAgainstHeadend(InventoryGroup headend, LogicalDevice partition, ServiceConfigurationVersion scv) throws ValidationException;

This method validates that a device partition that is part of a headend belongs to the same headend as that of the service configuration.

validateDevicePartitionAgainstAccessController

public void validateDevicePartitionAgainstAccessController(LogicalDevice controller, LogicalDevice partition, ServiceConfigurationVersion scv) throws ValidationException;

This method validates that a device partition mapped to an access controller belongs to the same access controller as that of the service configuration.

validateVODControllerAgainstHeadend

public void validateVODControllerAgainstHeadend(InventoryGroup headend, LogicalDevice vodController, ServiceConfigurationVersion scv) throws ValidationException

This method validates that a VOD controller that is part of a headend belongs to the same headend as that of the service configuration.

validateSubscriber

public String validateSubscriber(Service service, Party customer) throws ValidationException;

This method validates that a service that has a subscription also contains a subscriber.

validateVideoServiceConfiguration

public void validateVideoServiceConfiguration(ServiceConfigurationVersion scv) throws ValidationException;

This method validates that the service configuration contains the required resources to complete a video service.

validateResourceAssignment

public void validateResourceAssignment(ServiceConfigurationItem subscription) throws ValidationException;

This method validates that a subscription has a subscription card, a set-top box, or both.

validateControllerChanges

public void validateControllerChanges(ServiceConfigurationVersion scv, LogicalDevice accessController, LogicalDevice vodController) throws ValidationException;

This method validates all the changes that you make on a service for access controllers.