|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageMap
The PageMap interface is used by ADFm to map a page URL to a BindingContainer usage name. The mapping will be used by ADFm to establish the current 'bindings' context when a page is visited.
Application developers may specify that ADFm use a custom PageMap implementation by specifying a 'PageMapClass' attribute in their binding application definition (cpx file). A custom PageMap may be used to specify dynamic mappings that are not defined statically in the ADFm application definition.
ADFm will also use the PageMap to map a page URL to page defintion names. getDefinitionName(String, String) supports the URL to definition mappings. The URL to definition mapping is used by ADFm to create a BindingContainer instance when the BindingContainer is requested.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
java.lang.String |
addDefinitionNameForUsage(java.lang.String usageName,
java.lang.String defintionName)
Map a BindingContainer usage name to a page defintion name. |
java.lang.String |
getDefinitionName(java.lang.String url,
java.lang.String basePackageName)
Return a page definition name for the specified page URL. |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
java.lang.String getDefinitionName(java.lang.String url, java.lang.String basePackageName)
If a not-null definition is returned then ADFm will use the definition to generate a BindingContainer instance. A null return indicates that no BindingContainer instance may be created for the specified URL.
url
- a page URLbasePackageName
- the base page definition package name
java.lang.String addDefinitionNameForUsage(java.lang.String usageName, java.lang.String defintionName)
usageName
- a BindingContainer usage namedefinitonName
- a page definition name
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |