Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.flex.mbean
Class FlexDeployMBeanImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.mbean.FlexDeployMBeanImpl
All Implemented Interfaces:
FlexDeploymentModelConstants, FlexDeploymentConstants, FlexDeployMBean

public class FlexDeployMBeanImpl
extends java.lang.Object
implements FlexDeployMBean, FlexDeploymentConstants


Field Summary
 
Fields inherited from interface oracle.apps.fnd.applcore.flex.deployment.util.FlexDeploymentConstants
ATHASH_RESOLVER, BLANK, CONNECTION_RESOLVER, DEPLOYMENT_STATUS, DFF_SERVICE_AM_CONFIG_NAME, DFF_SERVICE_AM_NAME, DFF_TAX_NON_APP_MODULE_AM_CONFIG_NAME, DFF_TAX_NON_APP_MODULE_AM_NAME, EFF_CATEGORY_MODELER, EFF_CONTEXT_MODELER, EFF_UI_MODELER, ENTID_REPORT_ELEMENT, ERROR_HEADER, ERROR_MSG_ACTION_CHECK_LOG_AND_SYS_ADMIN, ERROR_MSG_ACTION_NEEDED_HEADER, ERROR_MSG_ERROR_EXCEEDS_LIMIT_CHECK_LOGS, ERROR_MSG_ERROR_HEADER, ERROR_REPORT_ELEMENT, FOR_APPID_REPORT_ELEMENT, INVALID_FLEX_TYPE_ERROR_HEADER, KFF_SERVICE_AM_CONFIG_NAME, KFF_SERVICE_AM_NAME, KFF_USAGES_VO, LOG_MSG_FETCH_ENTERPRISE_IDS, MSG_NO_VALIDATION_ERRORS, MSG_SKIP_DEPLOYMENT_NO_ENTITY_USAGES, NONE_ENTERPRISE, OVERALL_STATUS_VALIDATION_REPORT_HEADER, QUERY_OBJECT_NAME, REFERENCES_REPORT_ELEMENT_END, REFERENCES_REPORT_ELEMENT_START, REGISTER_OBJECT_NAME, REPORT_HEADER, REPORT_TENANT_ERROR_HEADER, SKIP_STATUS, STATUS_DEPLOYED, STATUS_EDITED, STATUS_ERROR, STATUS_READY, STATUS_SUCCESS, SUCCESS_REPORT_ELEMENT
 
Fields inherited from interface oracle.apps.fnd.applcore.flex.deployment.model.util.FlexDeploymentModelConstants
COLUMN_NAME_DEPLOYMENT_ERROR_MSG, COLUMN_NAME_DEPLOYMENT_STATUS, VO_ATTR_DESCRIPTIVE_FLEXFIELD_CODE, VO_ATTR_KEY_FLEXFIELD_CODE, VO_ATTR_NAME_APPLICATION_ID, VO_ATTR_NAME_DEPLOYMENT_ERROR_MSG, VO_ATTR_NAME_DEPLOYMENT_STATUS, VO_ATTR_NAME_FLEX_TYPE
 
Constructor Summary
FlexDeployMBeanImpl(java.lang.Object ctx)
          Constructor for FlexDeployment.
 
Method Summary
 java.util.List<java.lang.String> deployFlex(java.lang.String flexCode, java.lang.String flexType)
          Deploys a flexfield with change notification enabled.
 java.util.List<java.lang.String> deployFlex(java.lang.String flexCode, java.lang.String flexType, java.lang.Boolean partialEFFDeployment)
           
 java.util.List<java.lang.String> deployFlexForApp(java.lang.String applicationShortName, java.lang.String enterpriseID, java.lang.Boolean force)
          Deploys all flexfields for an application with change notification disabled.
 java.util.List<java.lang.String> deployPatchedFlex(java.lang.String mode)
          Deploys all fiexfleds that are in status READY.
 java.lang.String validateAllFlexfield(java.lang.String flexfieldType)
          Validates flexfield definitions of a given type or all types in DataBase.
 java.lang.String validateFlexDeploymentStatus(java.lang.Boolean showAll)
          Validates Overall Flexfields Deployment Status and lists flexfields that need to be deployed.
 java.lang.String validateFlexfield(java.lang.String applicationId, java.lang.String flexfieldCode, java.lang.String flexfieldType)
          Validates a flexfield definition in DataBase.
 java.lang.String validateValueSet(java.lang.String valueSetCode)
          Validates a valueset definition in DataBase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexDeployMBeanImpl

public FlexDeployMBeanImpl(java.lang.Object ctx)
Constructor for FlexDeployment.

Parameters:
ctx - as Context for Mbean.
Method Detail

deployFlexForApp

public java.util.List<java.lang.String> deployFlexForApp(java.lang.String applicationShortName,
                                                         java.lang.String enterpriseID,
                                                         java.lang.Boolean force)
Deploys all flexfields for an application with change notification disabled.

Specified by:
deployFlexForApp in interface FlexDeployMBean
Parameters:
applicationShortName - the application short name
enterpriseID - the enterprise ID
force - true if a flexfield should be re-deployed regardless of the current deployment status
Returns:
the deployment result status

deployPatchedFlex

public java.util.List<java.lang.String> deployPatchedFlex(java.lang.String mode)
Deploys all fiexfleds that are in status READY. Change notification is enabled.

Specified by:
deployPatchedFlex in interface FlexDeployMBean
Parameters:
mode - indicates wther it has deploy only Ready status flex in normal mode(Value None) or even the ERROR state along with Ready state flex fields when mode is Retry
Returns:
the deployment result status

deployFlex

public java.util.List<java.lang.String> deployFlex(java.lang.String flexCode,
                                                   java.lang.String flexType)
Deploys a flexfield with change notification enabled.

Specified by:
deployFlex in interface FlexDeployMBean
Parameters:
flexCode - the flexfield code
flexType - the flexfield type
partialDeployment - when passed in as true, the changed metadata from last successful deployment is modelled. If false, complete flexfield is redeployed.
Returns:
the deployment result status

deployFlex

public java.util.List<java.lang.String> deployFlex(java.lang.String flexCode,
                                                   java.lang.String flexType,
                                                   java.lang.Boolean partialEFFDeployment)
Specified by:
deployFlex in interface FlexDeployMBean

validateFlexfield

public java.lang.String validateFlexfield(java.lang.String applicationId,
                                          java.lang.String flexfieldCode,
                                          java.lang.String flexfieldType)
Validates a flexfield definition in DataBase.

Specified by:
validateFlexfield in interface FlexDeployMBean
Parameters:
applicationId -
flexfieldCode -
flexfieldType - valid values are 'DFF,' 'KFF' or 'EFF'
Returns:
validation result for the flexfield definition.

validateValueSet

public java.lang.String validateValueSet(java.lang.String valueSetCode)
Validates a valueset definition in DataBase.

Specified by:
validateValueSet in interface FlexDeployMBean
Parameters:
valueSetCode - String
Returns:
validation result for the valueset definition.

validateAllFlexfield

public java.lang.String validateAllFlexfield(java.lang.String flexfieldType)
Validates flexfield definitions of a given type or all types in DataBase.

Specified by:
validateAllFlexfield in interface FlexDeployMBean
Parameters:
flexfieldType - valid values are 'DFF,' 'KFF','EFF' or 'ALL'
Returns:
validation result for the flexfield definitions.

validateFlexDeploymentStatus

public java.lang.String validateFlexDeploymentStatus(java.lang.Boolean showAll)
Validates Overall Flexfields Deployment Status and lists flexfields that need to be deployed.

Specified by:
validateFlexDeploymentStatus in interface FlexDeployMBean
Returns:
validation result for the flexfields of J2EE Apps offered in the present topology.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.