|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextHandler
Context handlers creates and stores data control metadata. Applications define their context handlers to store and modify data control metadata from a data control definition. Created: Wed Dec 08 19:05:10 2004
MetaDef
Method Summary | |
---|---|
void |
createMetaDC(AbstractDefinition def,
java.util.Map properties)
Creates a data control metadata from its definition. |
DataControlDefinition |
getDefinition(java.lang.String name,
java.util.Map properties)
Returns the data control definition for a given data control name. |
void |
refreshDCDef(AbstractDefinition def,
java.util.Map properties)
Refreshes the data control's metadata from the given definition. |
void |
refreshDCStructureDef(AbstractDefinition def,
java.util.Map properties)
Refreshes the data control's structure defintion of the output as serialized as a part of data control metadata. |
Method Detail |
---|
void createMetaDC(AbstractDefinition def, java.util.Map properties) throws java.lang.Exception
It create a metadata that defines the data control along with the definitions representing the output structuires. This method serializes the metadata represented by various files for the data control definition.
If the data control with the same name exists, this will overwrite
the existing data control with the new definition and also
overwrite the serialized structure definition of
the output data. This may result to a loss of decoration that the
user may have made on the structure definitions.In case of overwrite,
this method calls the data control definition's
isStructureDirty()
method with the supplied flag
to true. If the method returns false, it wont overwrite
the structure.
def
- the data control definition.properties
- any properties set by the caller that may be used by the
context handler.
java.lang.Exception
- if fails to store the metadata.DataControlDefinition getDefinition(java.lang.String name, java.util.Map properties)
name
- of the data control.properties
- any properties set by the caller that may be used by the
context handler.
void refreshDCDef(AbstractDefinition def, java.util.Map properties) throws java.lang.Exception
def
- the data control definition.properties
- any properties set by the caller that may be used by the
context handler.
java.lang.Exception
- if fails to refresh the structures.void refreshDCStructureDef(AbstractDefinition def, java.util.Map properties) throws java.lang.Exception
def
- the data control definition.properties
- any properties set by the caller that may be used by the
context handler.
java.lang.Exception
- if fails to refresh the structures.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |