Interface RefinedResourceSchema
-
- All Superinterfaces:
DebugDumpable
,DefinitionSearchImplementation
,DefinitionsStore
,Freezable
,GlobalDefinitionsStore
,PrismContextSensitive
,PrismSchema
,ResourceSchema
- All Known Subinterfaces:
LayerRefinedResourceSchema
- All Known Implementing Classes:
LayerRefinedResourceSchemaImpl
,RefinedResourceSchemaImpl
public interface RefinedResourceSchema extends ResourceSchema, DebugDumpable
- Author:
- mederly
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
-
Methods inherited from interface com.evolveum.midpoint.prism.schema.GlobalDefinitionsStore
findComplexTypeDefinitionByCompileTimeClass, findComplexTypeDefinitionByType, findContainerDefinitionByCompileTimeClass, findContainerDefinitionByElementName, findContainerDefinitionByType, findItemDefinitionByCompileTimeClass, findItemDefinitionByElementName, findItemDefinitionByElementName, findItemDefinitionByType, findItemDefinitionByType, findItemDefinitionsByCompileTimeClass, findItemDefinitionsByElementName, findItemDefinitionsByElementName, findObjectDefinitionByCompileTimeClass, findObjectDefinitionByElementName, findObjectDefinitionByType, findPropertyDefinitionByElementName, findReferenceDefinitionByElementName, findSimpleTypeDefinitionByType, findTypeDefinitionByCompileTimeClass, findTypeDefinitionByType, findTypeDefinitionByType, findTypeDefinitionsByType, findTypeDefinitionsByType
-
Methods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContext
-
Methods inherited from interface com.evolveum.midpoint.prism.schema.PrismSchema
getComplexTypeDefinitions, getDefinitions, getDefinitions, getNamespace, getObjectDefinitions, isEmpty, serializeToXsd
-
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceSchema
findDefaultObjectClassDefinition, findObjectClassDefinition, findObjectClassDefinition, findObjectClassDefinition, getObjectClassDefinitions, getObjectClassList, toMutable
-
-
-
-
Method Detail
-
getRefinedDefinitions
List<? extends RefinedObjectClassDefinition> getRefinedDefinitions()
-
getRefinedDefinitions
List<? extends RefinedObjectClassDefinition> getRefinedDefinitions(ShadowKindType kind)
-
getOriginalResourceSchema
ResourceSchema getOriginalResourceSchema()
-
getRefinedDefinition
default RefinedObjectClassDefinition getRefinedDefinition(ShadowKindType kind, ShadowType shadow)
-
getRefinedDefinition
RefinedObjectClassDefinition getRefinedDefinition(ShadowKindType kind, String intent)
if null accountType is provided, default account definition is returned.
-
determineCompositeObjectClassDefinition
CompositeRefinedObjectClassDefinition determineCompositeObjectClassDefinition(ResourceShadowDiscriminator discriminator)
-
determineCompositeObjectClassDefinition
CompositeRefinedObjectClassDefinition determineCompositeObjectClassDefinition(PrismObject<ShadowType> shadow) throws SchemaException
- Throws:
SchemaException
-
determineCompositeObjectClassDefinition
CompositeRefinedObjectClassDefinition determineCompositeObjectClassDefinition(PrismObject<ShadowType> shadow, Collection<QName> additionalAuxiliaryObjectClassQNames) throws SchemaException
- Throws:
SchemaException
-
determineCompositeObjectClassDefinition
CompositeRefinedObjectClassDefinition determineCompositeObjectClassDefinition(QName structuralObjectClassQName, ShadowKindType kind, String intent)
-
getRefinedDefinition
RefinedObjectClassDefinition getRefinedDefinition(ShadowKindType kind, Collection<String> intents) throws SchemaException
If no intents are provided, default account definition is returned. We check whether there is only one relevant rOCD.- Throws:
SchemaException
-
getRefinedDefinition
RefinedObjectClassDefinition getRefinedDefinition(QName objectClassName)
-
getDefaultRefinedDefinition
default RefinedObjectClassDefinition getDefaultRefinedDefinition(ShadowKindType kind)
-
getObjectDefinition
default PrismObjectDefinition<ShadowType> getObjectDefinition(ShadowKindType kind, String intent)
-
getObjectDefinition
default PrismObjectDefinition<ShadowType> getObjectDefinition(ShadowKindType kind, ShadowType shadow)
-
findRefinedDefinitionByObjectClassQName
RefinedObjectClassDefinition findRefinedDefinitionByObjectClassQName(ShadowKindType kind, QName objectClass)
-
findObjectClassDefinition
ObjectClassComplexTypeDefinition findObjectClassDefinition(QName objectClassQName)
- Specified by:
findObjectClassDefinition
in interfaceResourceSchema
-
forLayer
LayerRefinedResourceSchema forLayer(LayerType layer)
-
getRefinedSchema
static RefinedResourceSchema getRefinedSchema(PrismObject<ResourceType> resource) throws SchemaException
- Throws:
SchemaException
-
getResourceSchema
static ResourceSchema getResourceSchema(PrismObject<ResourceType> resource, PrismContext prismContext) throws SchemaException
- Throws:
SchemaException
-
-