public abstract class ReadOnlyMetadataResourceProvider extends java.lang.Object implements MetadataResourceProvider
| Constructor and Description |
|---|
ReadOnlyMetadataResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
detectChanges(java.util.List<java.lang.String> resourceNames)
Classpath metadata provider does not support metadata changes.
|
java.util.List<MetadataResource> |
getMetadataResources(ParsingConfig config) |
MetadataResourceMobile |
getMobileMutableResource(ParsingConfig config) |
MetadataResource |
getMutableResource(java.lang.String resourceName,
boolean useCustomizations,
boolean skipIntegrityValidation)
Deprecated.
|
MetadataResource |
getMutableResource(java.lang.String resourceName,
boolean useCustomizations,
boolean skipIntegrityValidation,
boolean pickUpNewResources)
Deprecated.
Replaced in 12.1.3.0.0 by
getMetadataResources(ParsingConfig) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBootstrapResources, getResources, reinitialize@Deprecated public MetadataResource getMutableResource(java.lang.String resourceName, boolean useCustomizations, boolean skipIntegrityValidation)
getMutableResource in interface MetadataResourceProviderresourceName - 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.MDSSession@Deprecated public MetadataResource getMutableResource(java.lang.String resourceName, boolean useCustomizations, boolean skipIntegrityValidation, boolean pickUpNewResources)
getMetadataResources(ParsingConfig)getMutableResource in interface MetadataResourceProviderresourceName - 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.public MetadataResourceMobile getMobileMutableResource(ParsingConfig config)
getMobileMutableResource in interface MetadataResourceProviderconfig - the parsing configurationpublic boolean detectChanges(java.util.List<java.lang.String> resourceNames)
detectChanges in interface MetadataResourceProviderresourceNames{@inheritDoc} - public java.util.List<MetadataResource> getMetadataResources(ParsingConfig config)
getMetadataResources in interface MetadataResourceProvider