|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 1 (11.1.1.7.0) E10651-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataResourceProvider
An interface to obtain mutable and unmutable ADFc metadata resources.
Method Summary | |
---|---|
boolean |
detectChanges(java.util.List<java.lang.String> resourceNames)
|
java.util.List<MetadataResource> |
getBootstrapResources(java.lang.String resourceName)
Get a list named metadata resource representing bootstrap configuration files. |
MetadataResource |
getMutableResource(java.lang.String resourceName,
boolean useCustomizations,
boolean skipIntegrityValidation)
Deprecated. Replaced in 11.1.1.6.2 by getMutableResource(String, boolean, boolean, boolean) |
MetadataResource |
getMutableResource(java.lang.String resourceName,
boolean useCustomizations,
boolean skipIntegrityValidation,
boolean pickUpNewResources)
Gets an updatable metadata resource. |
java.util.List<MetadataResource> |
getResources(java.lang.String resouceName)
Get a bounded task flow resource. |
void |
reinitialize()
Clear any cached data and reinitialize to starting conditions. |
Method Detail |
---|
@Deprecated MetadataResource getMutableResource(java.lang.String resourceName, boolean useCustomizations, boolean skipIntegrityValidation)
getMutableResource(String, boolean, boolean, boolean)
MDSSession.flushChanges()
method.
resourceName
- the name of the XML file that this resource
corresponds to.useCustomizations
- a boolean flag that indicates whether customizations
should be loaded with the base document, and
whether corresponding to the metadata resource
should be saved as customizations.skipIntegrityValidation
- if true, the Controller will not attempt
to validate whether modifications to this
resource preserve its integrity. For example,
if integrity validation is skipped, it is
possible to add a control flow rule for
which the source or target activities do
not exists. All validations are performed
against the document model that existed
at the beginning of the request. This flag
should be used so that multiple artifacts
can be added to ADFc model in a single
request, such as a view activity and
a corresponding control flow rule. This
flag does not disable all of the validation
logic, however, only the logic that
depends on the current document context.
null
if the resource
could not be located or the provider does not support
updateMDSSession
MetadataResource getMutableResource(java.lang.String resourceName, boolean useCustomizations, boolean skipIntegrityValidation, boolean pickUpNewResources)
MDSSession.flushChanges()
method.
resourceName
- the name of the XML file that this resource
corresponds to.useCustomizations
- a boolean flag that indicates whether customizations
should be loaded with the base document, and
whether corresponding to the metadata resource
should be saved as customizations.skipIntegrityValidation
- if true, the Controller will not attempt
to validate whether modifications to this
resource preserve its integrity. For example,
if integrity validation is skipped, it is
possible to add a control flow rule for
which the source or target activities do
not exists. All validations are performed
against the document model that existed
at the beginning of the request. This flag
should be used so that multiple artifacts
can be added to ADFc model in a single
request, such as a view activity and
a corresponding control flow rule. This
flag does not disable all of the validation
logic, however, only the logic that
depends on the current document context.pickUpNewResources
- pick up metadata resources that were just created
in this session. This flag is passed directly to the
underlying metadata layer.
see MDSSession.getMutableMO(MOReference, boolean)
for details.
null
if the resource
could not be located or the provider does not support
updateMDSSession
java.util.List<MetadataResource> getBootstrapResources(java.lang.String resourceName)
resourceName
- the resource name.
java.util.List<MetadataResource> getResources(java.lang.String resouceName)
resouceName
- the resource name
boolean detectChanges(java.util.List<java.lang.String> resourceNames)
void reinitialize()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Controller 11g Release 1 (11.1.1.7.0) E10651-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |