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

E22562-07

oracle.apps.fnd.applcore.flex.deployment.util
Class FlexDeploymentUtil

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.deployment.util.FlexDeploymentUtil
All Implemented Interfaces:
FlexDeploymentModelConstants, FlexDeploymentConstants

public final class FlexDeploymentUtil
extends java.lang.Object
implements FlexDeploymentConstants


Field Summary
static java.util.Map<java.lang.String,java.lang.String> _runDescriptionMap
           
static java.lang.String HRC_SEESION_UTIL_GET_ENTERPRISE_LIST
           
static java.lang.String QUERY_OBJECT_NAME
           
 
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, 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
 
Method Summary
static boolean checkForNonDeployedReference(java.lang.String effCode, FlexfieldExtraValidations fev, FlexValidationBean fdb, java.util.ArrayList<FlexDeploymentBean> referencedFlexBeanList)
          Checks for any non deployed flexfield reference.
static java.lang.String getCommaSeparatedNameSapce(java.util.List<java.lang.String> namespacePaths)
           
static java.lang.String[] getEnterpriseIDListAsArray(java.sql.Connection conn)
          get EnterpriseIDList as array.
static java.lang.String getErrorSummary(java.lang.Throwable t)
           
static java.lang.String getTimeTakenInMins(long startTime, long stopTime)
           
static void publishFlexUpdateSoaMdsEvent(java.util.List<java.lang.String> namespacePaths, OAApplicationModuleImpl flexAM)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HRC_SEESION_UTIL_GET_ENTERPRISE_LIST

public static final java.lang.String HRC_SEESION_UTIL_GET_ENTERPRISE_LIST
See Also:
Constant Field Values

_runDescriptionMap

public static java.util.Map<java.lang.String,java.lang.String> _runDescriptionMap

QUERY_OBJECT_NAME

public static final java.lang.String QUERY_OBJECT_NAME
See Also:
Constant Field Values
Method Detail

getErrorSummary

public static java.lang.String getErrorSummary(java.lang.Throwable t)

getTimeTakenInMins

public static java.lang.String getTimeTakenInMins(long startTime,
                                                  long stopTime)

checkForNonDeployedReference

public static boolean checkForNonDeployedReference(java.lang.String effCode,
                                                   FlexfieldExtraValidations fev,
                                                   FlexValidationBean fdb,
                                                   java.util.ArrayList<FlexDeploymentBean> referencedFlexBeanList)
Checks for any non deployed flexfield reference. Removes it from the list of deployed references and adds it as a validation error to the present EFF.

Parameters:
effCode - the Flexfield Code of Extensible flexfield
fev - the FlexfieldsExtraValidations object of the EFF
fdb - the Flexfield Validation Result object of the EFF
referredFlexBeanList - the list of Deployment Results of the refenced flexfields
Returns:
true if there is referenced flexfield that has not got deployed

getEnterpriseIDListAsArray

public static java.lang.String[] getEnterpriseIDListAsArray(java.sql.Connection conn)
                                                     throws java.sql.SQLException
get EnterpriseIDList as array.

Throws:
java.sql.SQLException

getCommaSeparatedNameSapce

public static java.lang.String getCommaSeparatedNameSapce(java.util.List<java.lang.String> namespacePaths)

publishFlexUpdateSoaMdsEvent

public static void publishFlexUpdateSoaMdsEvent(java.util.List<java.lang.String> namespacePaths,
                                                OAApplicationModuleImpl flexAM)

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.