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

E22562-07

oracle.apps.fnd.applcore.dt.patterns.binding.provider
Class ApplcoreModelProvider

java.lang.Object
  extended by oracle.adfdt.view.common.binding.provider.ADFBaseProvider
      extended by oracle.apps.fnd.applcore.dt.patterns.binding.provider.ApplcoreModelProvider
All Implemented Interfaces:
oracle.adfdt.view.common.binding.provider.ModelProvider

public class ApplcoreModelProvider
extends oracle.adfdt.view.common.binding.provider.ADFBaseProvider

Simple extension of ADFBaseProvider to get at NamedDefinition. This class currently introduces no business rules on top of ADFBaseProvider, it simply carries the NamedDefinition and DataControl to the binder code where they can be used by the binder APIs.


Field Summary
static java.lang.String OPERATION_FIRST
          Operstion for record Navigation - first.
static java.lang.String OPERATION_LAST
          Operstion for record Navigation - last.
static java.lang.String OPERATION_NEXT
          Operstion for record Navigation - next.
static java.lang.String OPERATION_PREVIOUS
          Operstion for record Navigation - previous.
 
Constructor Summary
ApplcoreModelProvider(oracle.adfdt.ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition namedDefinition)
          Construct the model provider.
 
Method Summary
 oracle.adfdt.model.objects.DataControl getDataControl()
          Get the Data Control.
 oracle.binding.meta.NamedDefinition getDefinition()
          Get the Named Definition.
 java.util.List<LeveledAccessorDefiniton> getDetailDefinitions()
          Get detail Named Definitions as defined by view links (BC4J).
 oracle.binding.meta.NamedDefinition getDetailND()
          Get the Detail collection Definitions.
 oracle.binding.meta.NamedDefinition getMasterND()
          Get the Master Definition.
 OperationModelProvider getOperationModelBinding(java.lang.String operation)
          Get the named operation binding for the named operation.
 
Methods inherited from class oracle.adfdt.view.common.binding.provider.ADFBaseProvider
configureModelFromView, createControlBinding, createControlBinding, createControlBinding, createControlBinding, createExecutableBinding, createIteratorBinding, createUniqueBinding, createUniqueControlBinding, createUniqueControlBinding, createUniqueIteratorBinding, fireNewBindingAddedEvent, getDTApplication, getDTBaseBindingContainer, getDTContext, getDTPageDefinitionUsage, initializeBindingEnvironment, initializeFromParent, isReadOnly, setCreateUniqueBinding, setupApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_FIRST

public static final java.lang.String OPERATION_FIRST
Operstion for record Navigation - first.

See Also:
Constant Field Values

OPERATION_PREVIOUS

public static final java.lang.String OPERATION_PREVIOUS
Operstion for record Navigation - previous.

See Also:
Constant Field Values

OPERATION_NEXT

public static final java.lang.String OPERATION_NEXT
Operstion for record Navigation - next.

See Also:
Constant Field Values

OPERATION_LAST

public static final java.lang.String OPERATION_LAST
Operstion for record Navigation - last.

See Also:
Constant Field Values
Constructor Detail

ApplcoreModelProvider

public ApplcoreModelProvider(oracle.adfdt.ADFDesignTimeContext dtContext,
                             oracle.adfdt.model.objects.DataControl dataControl,
                             oracle.binding.meta.NamedDefinition namedDefinition)
Construct the model provider.

Parameters:
dtContext - design time context
dataControl - data control drop was initianed from
namedDefinition - object in dataControl dropped
Method Detail

getDefinition

public oracle.binding.meta.NamedDefinition getDefinition()
Get the Named Definition. This is always the item selected in the drag/drop.

Returns:
definition from constructor.

getMasterND

public oracle.binding.meta.NamedDefinition getMasterND()
Get the Master Definition. This is the parent of the item selected in the drag/drop.

Returns:
parent definition.

getDetailND

public oracle.binding.meta.NamedDefinition getDetailND()
Get the Detail collection Definitions. In practice this will return 1 item.

Returns:
detail collection.

getDataControl

public oracle.adfdt.model.objects.DataControl getDataControl()
Get the Data Control.

Overrides:
getDataControl in class oracle.adfdt.view.common.binding.provider.ADFBaseProvider
Returns:
data control from constructor.

getDetailDefinitions

public java.util.List<LeveledAccessorDefiniton> getDetailDefinitions()
Get detail Named Definitions as defined by view links (BC4J).

Returns:
definition All child/grandchild accessors. This List may be empty.

getOperationModelBinding

public OperationModelProvider getOperationModelBinding(java.lang.String operation)
Get the named operation binding for the named operation.

Parameters:
operation - example "First". See constants at top of this class.
Returns:
provider, null if not faound.

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.