Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.customization
Class ApplCoreExampleCC

java.lang.Object
  extended by oracle.mds.cust.CustomizationClass
      extended by oracle.apps.fnd.applcore.customization.AppsAbstractCustomizationClass
          extended by oracle.apps.fnd.applcore.customization.ApplCoreExampleCC
All Implemented Interfaces:
java.io.Serializable, CustomizationConstants

public class ApplCoreExampleCC
extends AppsAbstractCustomizationClass

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface oracle.apps.fnd.applcore.customization.CustomizationConstants
BOTH, COMPOSER, CONSTANT, ENTERPRISE, GLOBAL, INTERNAL, JDEV, LARGE, PRODUCT, PRODUCT_FAMILY, SITE, SMALL, USER
 
Constructor Summary
ApplCoreExampleCC()
           
 
Method Summary
protected  java.lang.String generateIDPrefix(oracle.mds.core.RestrictedSession mdsSession, oracle.mds.core.MetadataObject mo)
          This method sets the preferred prefix for the cc.
 int getAppsCCType()
          This method is used to return an integer that represents how this CC can be used.
 oracle.mds.cust.CacheHint getCacheHint()
          Getter method for CacheHint.
 java.util.List<SimpleSelectItem> getLayerValues()
          This method is used to return an iterator containin a list of validated layer values for this CC.
 int getLayerValuesSetSize()
          This method is used to return an integer that represents the value set size.
 java.lang.String getMLSLayerName()
          This method is used to return the translated value of the Layer Name and will be used in the UI when a translated Layer Name is required.
 java.lang.String getName()
          Getter method for Name.
 java.lang.String[] getValue(oracle.mds.core.RestrictedSession rs, oracle.mds.core.MetadataObject metadataObject)
          Getter method for Value.
 boolean isOwnerSeededCC()
          This method is used to determine if teams other then the owner of the cc can user this layer.
 void setValue(java.lang.String value)
          This method is used by level picker functionality to set the value for the level.
 
Methods inherited from class oracle.mds.cust.CustomizationClass
equals, getBaseRef, getIDPrefix, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplCoreExampleCC

public ApplCoreExampleCC()
Method Detail

getCacheHint

public oracle.mds.cust.CacheHint getCacheHint()
Getter method for CacheHint.

Specified by:
getCacheHint in class oracle.mds.cust.CustomizationClass
Returns:
CacheHint cacheHint

getName

public java.lang.String getName()
Getter method for Name.

Specified by:
getName in class oracle.mds.cust.CustomizationClass
Returns:
String name

getValue

public java.lang.String[] getValue(oracle.mds.core.RestrictedSession rs,
                                   oracle.mds.core.MetadataObject metadataObject)
Getter method for Value.

Specified by:
getValue in class oracle.mds.cust.CustomizationClass
Parameters:
rs - RestricutedSession
metadataObject - MetadataObject
Returns:
String[] value

setValue

public void setValue(java.lang.String value)
This method is used by level picker functionality to set the value for the level.

Specified by:
setValue in class AppsAbstractCustomizationClass
Parameters:
value -

getAppsCCType

public int getAppsCCType()
This method is used to return an integer that represents how this CC can be used. JDEV - means the CC will only be used in JDev customizations and is reserved for future use. COMPOSER - means the CC will only be used in Composer based customizations and is required for plugging into the Level Picker Dialog in UIShell. BOTH - means the CC can be used in either JDEV or Composer and is reserved for future use only by Applcore at this point in time.

Specified by:
getAppsCCType in class AppsAbstractCustomizationClass
Returns:
AppsCCType as an integer

getLayerValuesSetSize

public int getLayerValuesSetSize()
This method is used to return an integer that represents the value set size. It will be used in future to determine if the layer value set is a constant, small or large. SMALL - the value set is small and be represented in the UI as a drop list. - default. LARGE - the value set is large and will require a list of values in the UI. - reserved for future list. CONSTANT - the getValue method returns a constant and now list is required in the UI.

Specified by:
getLayerValuesSetSize in class AppsAbstractCustomizationClass
Returns:
LayerValueSetSize as an integer

getMLSLayerName

public java.lang.String getMLSLayerName()
This method is used to return the translated value of the Layer Name and will be used in the UI when a translated Layer Name is required. Applcore CC's implement this method by using the ApplCoreBundle.java class, all teams should be using something similar.

Specified by:
getMLSLayerName in class AppsAbstractCustomizationClass
Returns:
MLS version of the layer name.

getLayerValues

public java.util.List<SimpleSelectItem> getLayerValues()
This method is used to return an iterator containin a list of validated layer values for this CC. The validation and security implications are the responsibility of the team supplying the CC.

Specified by:
getLayerValues in class AppsAbstractCustomizationClass
Returns:
Iterator containing the values for layer.

generateIDPrefix

protected java.lang.String generateIDPrefix(oracle.mds.core.RestrictedSession mdsSession,
                                            oracle.mds.core.MetadataObject mo)
This method sets the preferred prefix for the cc.

Overrides:
generateIDPrefix in class oracle.mds.cust.CustomizationClass
Parameters:
mdsSession -
mo -
Returns:

isOwnerSeededCC

public boolean isOwnerSeededCC()
This method is used to determine if teams other then the owner of the cc can user this layer.

Specified by:
isOwnerSeededCC in class AppsAbstractCustomizationClass
Returns:
true if owner only, false if not.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.