Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product...

49
Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6.0.0.0 E86583-01 April 2017

Transcript of Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product...

Page 1: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details

Release 2.6.0.0.0

E86583-01

April 2017

Page 2: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details, Release 2.6.0.0.0

E86583-01

Copyright © 2017, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate failsafe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

This software or hardware and documentation may provide access to or information on content, products and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Page 3: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

iii

Contents

Preface ....................................................................................................................... iv

Audience ............................................................................................................................................................... iv

Documentation Accessibility .............................................................................................................................. iv

Related Documents .............................................................................................................................................. iv

Conventions .......................................................................................................................................................... iv

1 Adapter Usage Details ............................................................................................1

Page 4: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

iv

Preface

Oracle Banking Enterprise Product Manufacturing Extensibility - Adapter Usage Details guide is an extension of the Oracle Banking Enterprise Product Manufacturing Extensibility guide. It contains information about the detailed list of adapters which can be used for extending and customizing the product.

This preface contains these topics:

• Audience

• Documentation Accessibility

• Related Documents

• Conventions

Audience This guide is intended for the users of Oracle Banking Enterprise Product Manufacturing.

Documentation Accessibility For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support Oracle customers have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Related Documents For more information, see the following documentation:

• For information related to customization and extension of Oracle Banking Enterprise Product Manufacturing refer the Oracle Banking Enterprise Product Manufacturing Extensibility Guide.

Conventions The following text conventions are used in this document:

Convention Meaning

boldface Boldface type indicates graphical user interface elements associated with

Page 5: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

v

an action, or terms defined in text or the glossary.

italic Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.

monospace Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

Page 6: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

vi

Page 7: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 1

1 Adapter Usage Details

This chapter provides information on the list of adapters which can be used for extending and customizing the product.

Table 1–1 Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPartyAdapter.java

fetchInsuranceProvider

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\service\core\offer\ins\InsuranceOfferService.java

fetchInsuranceProvider

This method performs add operation. @param insuranceOffer

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

validateInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\interestruledefinition\policy\InterestRuleDefinitionBusinessPolicy.java

validateForCreate

@see #validateCombinations @see ProductService#fetchBasicProductDetails @see #isProductClassCurrent @see DDAProductRepository#get @see #fetchTDAttributes @see TDProductRepository#load @see TDInterestPayoutPlanService#fetchTDInterestPayoutPlan @see #validateInterestRule @see

Page 8: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 2 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

IInterestRuleDefinitionAdapter#validateInterestRule @param interestRuleDefinition @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#PRODUCT_NOT_EXIST}</li> <li>{@link ProductManufacturingErrorConstants#COMBINATION_NOT_EXIST}</li> <li>{@link ProductManufacturingErrorConstants#PM_IRD_ATTRIBUTES_NULL}</li> <li>{@link ProductManufacturingErrorConstants#CH_BACKDATING_MISMATCH}</li> <li>{@link ProductManufacturingErrorConstants#CLOSED_PRODUCT}</li> <li>{@link ProductManufacturingErrorConstants#TD_IPP_NOT_AVAILABLE}</li> <li>{@link ProductManufacturingErrorConstants#COMPOUNDING_FREQ_NULL}</li> <li>{@link ProductManufacturingErrorConstan

Page 9: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 3

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

ts#COMP_FREQ_HIGHER}</li> <li>{@link ProductManufacturingErrorConstants#PM_INVALID_INPUT}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

validateInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\interestruledefinition\policy\InterestRuleDefinitionBusinessPolicy.java

validateForUpdate

@see #validateCombinations @see ProductService#fetchBasicProductDetails @see #isProductClassCurrent @see DDAProductRepository#get @see #fetchTDAttributes @see TDProductRepository#load @see TDInterestPayoutPlanService#fetchTDInterestPayoutPlan @see #validateInterestRule @see IInterestRuleDefinitionAdapter#validateInterestRule @param interestRuleDefinition @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#PRODUCT_NOT_EXIST}</li> <li>{@link ProductManufacturingErrorConstants#COMBINATION_NOT_EXIST}</li> <li>{@link ProductManufacturingErrorConstants#PM_IRD_ATTRIBUTES_NULL}<

Page 10: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 4 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

/li> <li>{@link ProductManufacturingErrorConstants#CH_BACKDATING_MISMATCH}</li> <li>{@link ProductManufacturingErrorConstants#CLOSED_PRODUCT}</li> <li>{@link ProductManufacturingErrorConstants#TD_IPP_NOT_AVAILABLE}</li> <li>{@link ProductManufacturingErrorConstants#COMPOUNDING_FREQ_NULL}</li> <li>{@link ProductManufacturingErrorConstants#COMP_FREQ_HIGHER}</li> <li>{@link ProductManufacturingErrorConstants#PM_INVALID_INPUT}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

validateInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\interestruledefinition\policy\InterestRuleDefinitionBusinessPolicy.java

validateInterestRuleDefinition

This method is used to do validations on the fields @see #fetchTDAttributes @see TDProductRepository#load @see TDInterestPayoutPlanService#fetchTDInterestPayoutPlan @see #validateInterestRule @see IInterestRuleDefinitionAdapter#validateInterestRule @see #isProductClassCurrent @see

Page 11: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 5

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

DDAProductRepository#get @param interestRuleDefinition @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#PM_IRD_ATTRIBUTES_NULL}</li> <li>{@link ProductManufacturingErrorConstants#CH_BACKDATING_MISMATCH}</li> <li>{@link ProductManufacturingErrorConstants#CLOSED_PRODUCT}</li> <li>{@link ProductManufacturingErrorConstants#TD_IPP_NOT_AVAILABLE}</li> <li>{@link ProductManufacturingErrorConstants#COMPOUNDING_FREQ_NULL}</li> <li>{@link ProductManufacturingErrorConstants#COMP_FREQ_HIGHER}</li> <li>{@link ProductManufacturingErrorConstants#PM_INVALID_INPUT}</li> </ul>

Page 12: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 6 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

validateInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\interestruledefinition\policy\InterestRuleDefinitionBusinessPolicy.java

validateInterestRule

@see IInterestRuleDefinitionAdapter#validateInterestRule @see #isProductClassCurrent @see DDAProductRepository#get @param interestRuleId @param productClass @param interestClass @param interestDivision @param interestRuleVersion @param productCode @param tdAttributes @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#COMPOUNDING_FREQ_NULL}</li> <li>{@link ProductManufacturingErrorConstants#COMP_FREQ_HIGHER}</li> <li>{@link ProductManufacturingErrorConstants#PM_INVALID_INPUT}</li> </ul>

Page 13: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 7

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchInterestRuleDefinition

This represents the fetchInterestRuleDefinition method of the entity. @see InterestRuleDefinitionService#fetchInterestRuleDefinition @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br> The information is used by the system for authentication purposes. @param InterestRuleDefinitionDTO ,interestRuleDefinitionDTO, ,interestRuleDefinitionDTO TODO: Explain the interestRuleDefinitionDTO above @return {@link com.ofss.fc.app.pm.dto.interestruledefinition.InterestRuleDefinitionInquiryResponse} @throws com.ofss.fc.infra.exception.FatalException Please refer to the documentation above for <i>Transaction Failure</i> section

Page 14: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 8 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchByVersion

This represents the fetchByVersion method of the entity. @see #fetchInterestRuleDefinition @see InterestRuleDefinitionService#fetchInterestRuleDefinition @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br> The information is used by the system for authentication purposes. @param InterestRuleDefinitionDTO ,interestRuleDefinitionDTO, ,interestRuleDefinitionDTO TODO: Explain the interestRuleDefinitionDTO above @return {@link DomainObjectDTO} @throws com.ofss.fc.infra.exception.FatalException Please refer to the documentation above for <i>Transaction Failure</i> section @exception FatalException The following error codes are generated <ul> <li>{@link CommonErrorConstants#MID_RECORD_NOT_FOUND}</li> </ul>

Page 15: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 9

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchInterestRuleDefinitionAndExport

This represents the fetchAndExport method of the entity. This method exports the inquiry response of the entity to the configurable location <br/> This method makes an inquiry for the entity for the given key and then calls the adapter for further processing. It calls the audit method for loggoing into database and export method to export the <br/> result to file in case of FileDataStore. <br/> <br/> @see ExportImportAdapterFactory#fetchAdapter @see IExportImportAdapter#generateID @see IExportImportAdapter#audit @see IExportImportAdapter#export @see #fetchInterestRuleDefinition @see InterestRuleDefinitionService#fetchInterestRuleDefinition @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br> @param domainObjectDto @return entityInquiryResponse @throws FatalException

Page 16: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 10 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

importAndfetchInterestRuleDefinition

This represents the importAndFetch method of the entity. This method imports the serialised response of the entity from the earlier exported location and returns entity inquiry response which can be used to populate screen <br/> This method calls the importBusinessEntity method of the adapter with the requested input. Once it gets the desired response then calls the audit method of the adapter to make a log of the imported data <br/> <br/> @see ExportImportAdapterFactory#fetchAdapter @see IExportImportAdapter#importBusinessEntity @see IExportImportAdapter#audit @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br> @param domainObjectDto @return entityInquiryResponse @throws FatalException

Page 17: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 11

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchAllAndExport

This represent the fetchAllAndExport method for the taskCode. This method will get called from ExportImportApplicationService to export all records for the selected taskCode <br/> <br/> This method load all the entity for the inputed taskCode and make the domainObjectDTO from the specific Assembler. For each record from the loaded entity list it calls the fetch method of the application service to get the response. The response is stored in a list. This list is exported to DB/File in the exportAllBusinessEntities<br/> method of ExportImportApplicationService. <br/> @see #fetchInterestRuleDefinition @see InterestRuleDefinitionService#fetchInterestRuleDefinition @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br> @param java .lang.String entity name of the taskCode @return

Page 18: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 12 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

BaseResponse @throws FatalException

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchAndExportList

This represent the fetchAndExportList method for the taskCode.This method takes list of DTO as input And fetches the response. For each DTO it calls the fetch method of the application service to get the response. The response is stored in a list. This list is exported to DB/File using export method.<br/> <br/> @see ExportImportAdapterFactory#fetchAdapter @see IExportImportAdapter#generateID @see IExportImportAdapter#export @see IExportImportAdapter#audit @see #fetchInterestRuleDefinition @see InterestRuleDefinitionService#fetchInterestRuleDefinition @see #fetchAllAndExport @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br>

Page 19: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 13

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

@param List <EntityDTO> entityDTOList @return BaseResponse @throws FatalException

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

fetchAndExportList

This represent the fetchAndExportList method for the taskCode.This method takes list of DTO as input And fetches the response. For each DTO it calls the fetch method of the application service to get the response. The response is stored in a list. This list is exported to DB/File using export method.<br/> <br/> @see ExportImportAdapterFactory#fetchAdapter @see IExportImportAdapter#generateID @see IExportImportAdapter#export @see IExportImportAdapter#audit @see #fetchInterestRuleDefinition @see InterestRuleDefinitionService#fetchInterestRuleDefinition @see #fetchAllAndExport @param com .ofss.fc.app.context.SessionContext,sessionContext, , This parameter captures the basic information about the user of the system.<br>

Page 20: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 14 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

@param List <EntityDTO> entityDTOList @return BaseResponse @throws FatalException

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\offer\ln\policy\LoanOfferBusinessPolicy.java

validateAllowedRepaySchedule

@see IInterestRuleDefinitionAdapter#fetchInterestRuleDTO @param loanOffer @exception BusinessPolicyViolationException The following error codes are generated <ul> <li> {@link ProductManufacturingErrorConstants#LN_OFFER_POLICY_ACCOUNT_LEVEL_PREFERENCE_ALLOWED_REPAYMENT_SCH_CODE_INVALID} </li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\offerinquiry\OfferInquiryApplicationService.java

isOffsetBalanceSetForProduct

This checks whether the IRD linked to product has offset balance as Interest base component @see InterestRuleDefinitionApplicationService#fetchInterestRuleDefinition @exception FatalException The following error codes are generated <ul> <li>{@link InfraErrorConstants#FACTORY_NO

Page 21: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 15

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

T_FOUND}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

validateInterestRule

This method is used to check the existing interest rule and return the required details associated with the interest rule @param interestRuleKey which is combination of certain attributes @return Map

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

fetchInterestRuleDTO

This method fetches all the Interest Rules linked to a given product code @param sessionContext @param productCode @return

Page 22: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 16 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

fetchInterestRuleLienAllowed

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

fetchInterestRule

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

fetchInterestRuleCompoundingApplicable

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

isUnclearBalanceUsed

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\interestruledefinition\InterestRuleDefinitionApplicationService.java

validateForUnclearedBalance

@see InterestRuleDefinitionService#validateCollectedBalance @param sessionContext @param interestRuleDefinitionDTO @exception com.ofss.fc.infra.exception.RunTimeException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#PM_NO_UNCLEAR_FUNDS}</li> <li>{@link ProductManufacturingErrorConstants#PM_UNCLEAR_FUNDS_EXISTS}</li> <li>{@link

Page 23: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 17

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

ProductManufacturingErrorConstants#PM_INVALID_INPUT}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

isUnclearBalanceUsed

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\InterestRuleDefinitionAdapter.java

isUnclearBalanceUsed

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionAdapter.java

isOffsetBalanceSetForProduct

@param interestRuleDefinition @return

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\offerinquiry\OfferInquiryApplicationService.java

isOffsetBalanceSetForProduct

This checks whether the IRD linked to product has offset balance as Interest base component @see InterestRuleDefinitionApplicationService#fetchInterestRuleDefinition @exception FatalException The following error codes are generated <ul> <li>{@link InfraErrorConstants#FACTORY_NOT_FOUND}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IInterestRuleDefinitionA

fetchInterestRuleDTO

This method fetches all the Interest Rules linked to a given product code @param

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\offer\ln\policy\LoanOfferBusinessPolicy.java

validateAllowedRepaySchedule

@see IInterestRuleDefinitionAdapter#fetchInterestRuleDTO @param loanOffer @exception BusinessPolicyViolationException The following error codes are

Page 24: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 18 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

dapter.java sessionContext @param productCode @return

generated <ul> <li> {@link ProductManufacturingErrorConstants#LN_OFFER_POLICY_ACCOUNT_LEVEL_PREFERENCE_ALLOWED_REPAYMENT_SCH_CODE_INVALID} </li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IProductAssetClassificationAdapter.java

applyPlanIdRestrictions

@return @throws com.ofss.fc.infra.exception.FatalException

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\product\ln\policy\LoanProductBusinessPolicy.java

validateAssetClassificationPlan

@see IProductAssetClassificationAdapter#applyPlanIdRestrictionsForLoan@param loanProduct@exception BusinessPolicyViolationException The following error codes are generated <ul> <li> {@link ProductManufacturingErrorConstant

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IProductAssetClassificationAdapter.java

applyPlanIdRestrictions

@return @throws com.ofss.fc.infra.exception.FatalException

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\product\cs\policy\DDAProductBusinessPolicy.java

validateAssetClassificationParameter

This method will check the asset classification parameter for the input data if debit balance allowed is checked. @see IProductAssetClassificationAdapter#applyPlanIdRestrictions @exception BusinessPolicyViolationException The following error codes are generated <ul> <li> {@link ProductManufacturingErrorConstan

Page 25: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 19

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

ts#DDA_PRODUCT_POLICY_LONG_OVERDUE_FIRST_ENABLED_FOR_OFFICE_ACCOUNT_PG} </li> <li>{@link ProductManufacturingErrorConstants#DDA_PRODUCT_POLICY_ASSET_CLASSIFICATION_PLAN_INVALID}</li> <li> {@link ProductManufacturingErrorConstants#DDA_PRODUCT_POLICY_ASSET_CLASSIFICATION_PLAN_CODE_IS_REQUIRED} </li> <li>{@link ProductManufacturingErrorConstants#DDA_PRODUCT_POLICY_APPROPRIATION_SEQUENCE_INVALID}</li> <li>{@link ProductManufacturingErrorConstants#DDA_PRODUCT_POLICY_NPA_APPROPRAITION_SEQUENCE_INVALID}</li> <li> {@link ProductManufacturingErrorConstants#DDA_PRODUCT_POLICY_NPA_APPROPRIATION_SEQUENCE_IS_REQUIRED}</li> </ul>

Page 26: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 20 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IProductAssetClassificationAdapter.java

applyPlanIdRestrictionsForLoan

@return @throws com.ofss.fc.infra.exception.FatalException

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\product\ln\policy\LoanProductBusinessPolicy.java

validateAssetClassificationPlan

@see IProductAssetClassificationAdapter#applyPlanIdRestrictionsForLoan@param loanProduct@exception BusinessPolicyViolationException The following error codes are generated <ul> <li> {@link ProductManufacturingErrorConstant

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUAccountingAdapter.java

checkAccountingSetup

<p> This method will check that product group event linkage is defined for the input product group code. If not found, this service will return false, else it will check that template is defined for all input event list. If template is missing for any, it will return false. If all

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\productgroup\policy\ProductGroupBusinessPolicy.java

validateProductGroup

<p> This method will do the following for the input product group code: <ol> <li>Validate Price Policy Chart for Interest</li> If fail, add exception - Price Policy Chart (Interest) not defined for the selected Product Group. <br/> <li>Check if fee ppc exists and if it does perform the below, else update product group as validated. <ol> <li>Validate Product Group Role Mapping has been performed for the selected Product Group and PPC (Fees)</li> If fail, add exception - Product Group Role Mapping not performed for the selected Product Group. <br/> </ol> <li>Validate For Product Group which is Asset, validate whether a PPC (Regular

Page 27: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 21

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

events are found, it will identify all account roles in the template list that start with the input pd name. For each of the identified account roles, role to ledger mapping must exist, else this service will return false. </p> @param productGroupCode @param eventCodeSet @param pdCodeSet @return

Interest) is defined for the Domain Category as Origination</li> If fail, add exception - Price Policy Chart (Regular Interest) not defined for Origination domain category for the selected Product Group. </ol> </p> @see PMUHelper#deriveDomainCategoryFromProductClass @see ModuleCodesService#fetchModuleCodes @see IPMUPricingAdapter#validatePPCDefinedForGivenCurrencies @see IPMUPricingAdapter#fetchFeePPCDetails @see IPMUAccountingAdapter#checkAccountingSetup @param productGroup @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_PPC_INTEREST_NOT_DEFINED}</li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_FEE_PPC_ROLE_MAPPING_NOT

Page 28: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 22 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

_DEFINED} </li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_ASSET_TYPE_PPC_REGULAR_INERTEST_NOT_DEFINED} </li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUAccountingAdapter.java

checkAccountingSetup

<p> This method will check that product group event linkage is defined for the input product group code. If not found, this service will return false, else it will check that template is defined for all input event list. If template is missing for any, it will return false. If all events are found, it will identify all

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUAccountingAdapter.java

checkAccountingSetup

Page 29: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 23

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

account roles in the template list that start with the input pd name. For each of the identified account roles, role to ledger mapping must exist, else this service will return false. </p> @param productGroupCode @param eventCodeSet @param pdCodeSet @return

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUAccountingAdapter.java

checkAccountingSetup

<p> This method will check that product group event linkage is defined for the input product group code. If not found, this service will

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUAccountingAdapter.java

checkIfRolesAreMapped

Page 30: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 24 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

return false, else it will check that template is defined for all input event list. If template is missing for any, it will return false. If all events are found, it will identify all account roles in the template list that start with the input pd name. For each of the identified account roles, role to ledger mapping must exist, else this service will return false. </p> @param productGroupCode @param eventCodeSet @param

Page 31: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 25

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

pdCodeSet @return

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUAccountingAdapter.java

isAccountingTemplateDefined

<p> This method will check if accounting template is defined for the input product code. </p> @param productCode @return

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\product\policy\ProductBusinessPolicy.java

validateProduct

<p> This method performs the following validations: <ol> <li>Whether an Interest Rate Definition (IRD) is defined for the input product.</li> If fail, add exception - Interest Rate Definition (IRD) not defined for the selected Product.<br/> <li>Whether an Accounting Template is defined for the input product.</li> If fail, add exception - Accounting Template not defined for the selected Product. <br/> <ol> <li>If templates exist, system will check if there exists a corresponding GL mapping for each of the Account Roles linked in the maintenance for the input product code.</li> If fail, add exception - Account Role Mapping not defined for the selected Product. </ol> </ol> </p> @see InterestRuleDefinitionRepository#get @see IPMUAccountingAdapter#checkIfRo

Page 32: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 26 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

lesAreMapped @param product @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_IRD_NOT_DEFINED}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_IRD_NOT_DEFINED_FOR_CCY}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_ACCOUNT_ROLE_NOT_DEFINED}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_ACCOUNTING_TEMPLATE_NOT_DEFINED}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUAccountingAdapter.java

checkIfRolesAreMapped

<p> This method will call accounting service to check that for all accounting templates

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\product\policy\ProductBusinessPolicy.java

validateProduct

<p> This method performs the following validations: <ol> <li>Whether an Interest Rate Definition (IRD) is defined for the input product.</li> If fail, add exception - Interest Rate Definition (IRD) not defined for the selected

Page 33: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 27

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

defined for the input product code, if the debit or credit role is derived and the role is mappable, then mapping to some GL must have been done. If all roles are mapped this service returns true, return false. </p> @param productCode @param productClass @return

Product.<br/> <li>Whether an Accounting Template is defined for the input product.</li> If fail, add exception - Accounting Template not defined for the selected Product. <br/> <ol> <li>If templates exist, system will check if there exists a corresponding GL mapping for each of the Account Roles linked in the maintenance for the input product code.</li> If fail, add exception - Account Role Mapping not defined for the selected Product. </ol> </ol> </p> @see InterestRuleDefinitionRepository#get @see IPMUAccountingAdapter#checkIfRolesAreMapped @param product @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_IRD_NOT_DEFINED}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_IRD_NO

Page 34: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 28 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

T_DEFINED_FOR_CCY}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_ACCOUNT_ROLE_NOT_DEFINED}</li> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_ACCOUNTING_TEMPLATE_NOT_DEFINED}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

fetchInterestPPCEffectiveDate

<p> This method will check if interest ppc for the input product group code exists. If it does, this method will return the effective date for the interest ppc, else it will return null. </p> @param productGroupCode @param domainCategory @return

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUPricingAdapterFactory.java getAdapter

Page 35: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 29

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

fetchInterestPPCEffectiveDate

<p> This method will check if interest ppc for the input product group code exists. If it does, this method will return the effective date for the interest ppc, else it will return null. </p> @param productGroupCode @param domainCategory @return

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\offer\policy\OfferBusinessPolicy.java validateOffer

<p> This method will check if the input offer is validated. If not, it will check if offer Start Date is greater than or equal to the PPC Effective Date for the Product Group of the offer. If yes, this method will mark the offer as validated and exit, else throw business exception. </p> @see ProductService#fetchBasicProductDetails @see PMUHelper#deriveDomainCategoryFromProductClass @see IPMUPricingAdapter#fetchInterestPPCEffectiveDate @param offer @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_OFFER_START_DATE}</li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.ja

fetchFeePPCDetails

<p> This method will check if fee ppc for the input product group code exists.

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUPricingAdapterFactory.java getAdapter

Page 36: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 30 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

va </p> @param productGroupCode @param domainCategory @return

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

fetchFeePPCDetails

<p> This method will check if fee ppc for the input product group code exists. </p> @param productGroupCode @param domainCategory @return

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\productgroup\policy\ProductGroupBusinessPolicy.java

validateProductGroup

<p> This method will do the following for the input product group code: <ol> <li>Validate Price Policy Chart for Interest</li> If fail, add exception - Price Policy Chart (Interest) not defined for the selected Product Group. <br/> <li>Check if fee ppc exists and if it does perform the below, else update product group as validated. <ol> <li>Validate Product Group Role Mapping has been performed for the selected Product Group and PPC (Fees)</li> If fail, add exception - Product Group Role Mapping not performed for the selected Product Group. <br/> </ol> <li>Validate For Product Group which is Asset, validate whether a PPC (Regular Interest) is defined for the Domain Category as Origination</li> If fail, add exception - Price Policy Chart (Regular Interest) not defined for Origination domain category for the

Page 37: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 31

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

selected Product Group. </ol> </p> @see PMUHelper#deriveDomainCategoryFromProductClass @see ModuleCodesService#fetchModuleCodes @see IPMUPricingAdapter#validatePPCDefinedForGivenCurrencies @see IPMUPricingAdapter#fetchFeePPCDetails @see IPMUAccountingAdapter#checkAccountingSetup @param productGroup @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_PPC_INTEREST_NOT_DEFINED}</li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_FEE_PPC_ROLE_MAPPING_NOT_DEFINED} </li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_ASSET_TYPE_PPC_REGULAR_IN

Page 38: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 32 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

ERTEST_NOT_DEFINED} </li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

validatePPCDefinedForGivenCurrencies

This method is used to fetch price policy chart and send PPC for leniently evaluation and outcomes are manipulated on basis of input currencies list. @param domainId @param domainCategoryId @param productGroupId @param pricePolicyType @param currencies @param effectiveDate

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUPricingAdapterFactory.java getAdapter

Page 39: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 33

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

@return

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

validatePPCDefinedForGivenCurrencies

This method is used to fetch price policy chart and send PPC for leniently evaluation and outcomes are manipulated on basis of input currencies list. @param domainId @param domainCategoryId @param productGroupId @param pricePolicyType @param currencies @param effectiveDate

com.ofss.fc.module.pm.jar@\com\ofss\fc\domain\pm\entity\core\productgroup\policy\ProductGroupBusinessPolicy.java

validateProductGroup

<p> This method will do the following for the input product group code: <ol> <li>Validate Price Policy Chart for Interest</li> If fail, add exception - Price Policy Chart (Interest) not defined for the selected Product Group. <br/> <li>Check if fee ppc exists and if it does perform the below, else update product group as validated. <ol> <li>Validate Product Group Role Mapping has been performed for the selected Product Group and PPC (Fees)</li> If fail, add exception - Product Group Role Mapping not performed for the selected Product Group. <br/> </ol> <li>Validate For Product Group which is Asset, validate whether a PPC (Regular Interest) is defined for the Domain Category as Origination</li> If fail, add exception - Price Policy Chart (Regular Interest) not defined for Origination domain category for the

Page 40: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 34 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

@return selected Product Group. </ol> </p> @see PMUHelper#deriveDomainCategoryFromProductClass @see ModuleCodesService#fetchModuleCodes @see IPMUPricingAdapter#validatePPCDefinedForGivenCurrencies @see IPMUPricingAdapter#fetchFeePPCDetails @see IPMUAccountingAdapter#checkAccountingSetup @param productGroup @exception BusinessPolicyViolationException The following error codes are generated <ul> <li>{@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_PPC_INTEREST_NOT_DEFINED}</li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_FEE_PPC_ROLE_MAPPING_NOT_DEFINED} </li> <li> {@link ProductManufacturingErrorConstants#VALIDATE_PRODUCT_GROUP_ASSET_TYPE_PPC_REGULAR_IN

Page 41: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 35

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

ERTEST_NOT_DEFINED} </li> </ul>

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMUPricingAdapter.java

validatePPCDefinedForGivenCurrencies

This method is used to fetch price policy chart and send PPC for leniently evaluation and outcomes are manipulated on basis of input currencies list. @param domainId @param domainCategoryId @param productGroupId @param pricePolicyType @param currencies @param effectiveDate

com.ofss.fc.app.adapter.impl.pm.jar@\com\ofss\fc\app\adapter\impl\pm\PMUPricingAdapter.java

validatePPCDefinedForGivenCurrencies

Page 42: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 36 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

@return

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToAcct

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

updateScheduleType

This represents the updateScheduleType method of the entity. @see PrincipalScheduleTypeRepository#deleteScheduleCode @see PrincipalScheduleTypeService#addScheduleType @see PrincipalScheduleInstallmentRuleService#fetchLoanInstallmentRule @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @see PrincipalScheduleInstallmentRuleRepository#fetchInstallmentRule @see com.ofss.fc.app.loan.policy.LoanScheduleTypeBusinessPolicy#validatePolicy @see LoanScheduleTypeBusinessPolicyFactory @param sessionContext This parameter captures the basic information about the user of the system.<br> The information

Page 43: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 37

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

is used by the system for authentication purposes. @param scheduleTypeDTO This parameter represents the DTO for the ScheduleType entity. @return {@link com.ofss.fc.service.response.TransactionStatus} @throws FatalException Please refer to the documentation above for <i>Transaction Failure</i> section

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToAcct

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

isScheduleAttachedToAcct

This method is used to check schedule type attached to loan account. @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @param scheduleCode @throws FatalException

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToAcct

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

fetchScheduleType

<pre> This method is used to inquire the already saved schedule type details for a given schedule type code. The response fetched contains the following details for each stage: (1) Arrear Compounding Frequency (2) Calculation Method Code (3) End Period Treatment fee

Page 44: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 38 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

Capitalization Frequency (4) First Fee Capitalization Date (5) First Interest Capitalization Date (6) Installment Rule (7) Installment Rule Code (8) Interest Capitalization Frequency (9) Interest Compounding Frequency (10) Interest Repayment Frequency (11) Late Penalty Frequency (12) Max IOI Term (13) Periodic Fee Treatment Type (14) Principal Repayment Frequency (15) Rest Period Frequency (16) Schedule Type Key (17) Schedule Type Name (18) Stage Name (19) Stage Term (20) Year Base For Interest </pre> @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @see PrincipalScheduleTypeRepository#loadScheduleTypeDetails @see PrincipalScheduleInstallmentRuleService#fetchLoanInstallmentRule @param sessionContext This parameter captures the basic information about the user of the system.<br> The information

Page 45: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 39

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

is used by the system for authentication purposes.<br> @param scheduleTypeDTO This parameter represents the DTO for the ScheduleType entity. @return {@link com.ofss.fc.app.pm.dto.schedule.LoanScheduleTypeInquiryResponse} @throws FatalException Please refer to the documentation above for <i>Transaction Failure</i> section

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToAcct

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

deleteScheduleType

This represents the deleteScheduleType method of the entity. @see PrincipalScheduleTypeService#deleteScheduleType @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @param sessionContext This parameter captures the basic information about the user of the system.<br> The information is used by the system for authentication purposes. @param scheduleTypeDTO This parameter represents the DTO for

Page 46: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 40 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

the ScheduleType entity. @return {@link com.ofss.fc.service.response.TransactionStatus} @throws FatalException Please refer to the documentation above for <i>Transaction Failure</i> section

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToAcct

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

closeScheduleType

This represents the closeScheduleType method of the entity. @see PrincipalScheduleTypeService#closeScheduleType @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @param sessionContext This parameter captures the basic information about the user of the system.<br> The information is used by the system for authentication purposes. @param scheduleTypeDTO This parameter represents the DTO for the ScheduleType entity. @return {@link com.ofss.fc.service.response.TransactionStatus} @throws FatalException Please refer to the documentation

Page 47: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 41

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

above for <i>Transaction Failure</i> section

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToOffer

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

isScheduleAttachedToAcct

This method is used to check schedule type attached to loan account. @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @param scheduleCode @throws FatalException

com.ofss.fc.app.adapter.internal.interface.pm.jar@\com\ofss\fc\app\adapter\pm\IPMULoansAdapter.java

isScheduleAttachedToOffer

com.ofss.fc.module.pm.jar@\com\ofss\fc\app\pm\service\loanscheduletype\LoanScheduleTypeApplicationService.java

fetchScheduleType

<pre> This method is used to inquire the already saved schedule type details for a given schedule type code. The response fetched contains the following details for each stage: (1) Arrear Compounding Frequency (2) Calculation Method Code (3) End Period Treatment fee Capitalization Frequency (4) First Fee Capitalization Date (5) First Interest Capitalization Date (6) Installment Rule (7) Installment Rule Code (8) Interest Capitalization Frequency (9) Interest

Page 48: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

1 - 42 Oracle Banking Enterprise Product Manufacturing Extensibility Guide - Adapter Usage Details

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

Compounding Frequency (10) Interest Repayment Frequency (11) Late Penalty Frequency (12) Max IOI Term (13) Periodic Fee Treatment Type (14) Principal Repayment Frequency (15) Rest Period Frequency (16) Schedule Type Key (17) Schedule Type Name (18) Stage Name (19) Stage Term (20) Year Base For Interest </pre> @see LoanAccountRepository#isScheduleAttachedToAnyAcct @see LoanAccountRepository#isScheduleAttachedToAnyOffer @see PrincipalScheduleTypeRepository#loadScheduleTypeDetails @see PrincipalScheduleInstallmentRuleService#fetchLoanInstallmentRule @param sessionContext This parameter captures the basic information about the user of the system.<br> The information is used by the system for authentication purposes.<br> @param scheduleTypeDTO This parameter represents the DTO for the ScheduleType entity. @return {@link

Page 49: Oracle Banking Enterprise Product Manufacturing Banking...Oracle Banking Enterprise Product Manufacturing Extensibility Guide – Adapter Usage Details Release 2.6 .0.0.0 E86583-01

Adapter Usage Details 1 - 43

Adapter Path Adapter Method

Interface Method Javadoc Consumer Service

Consumer Service Method Consumer Service Method Javadoc

com.ofss.fc.app.pm.dto.schedule.LoanScheduleTypeInquiryResponse} @throws FatalException Please refer to the documentation above for <i>Transaction Failure</i> section