Class ResourceSchemaRegistry
java.lang.Object
com.evolveum.midpoint.schema.processor.ResourceSchemaRegistry
- All Implemented Interfaces:
- SchemaLookup.Based
@Component
@Experimental
public class ResourceSchemaRegistry
extends Object
implements SchemaLookup.Based
Keeps 
CompleteResourceSchema objects.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable ResourceObjectDefinitiongetDefinitionForConstruction(@NotNull ConstructionType construct) @Nullable ResourceObjectDefinitiongetDefinitionForKindIntent(String resourceOid, ShadowKindType kind, String intent) @Nullable ResourceObjectDefinitiongetDefinitionForQuery(ObjectQuery query) @Nullable ResourceObjectDefinitiongetDefinitionForShadow(@NotNull ShadowType shadow) @Nullable CompleteResourceSchemagetResourceSchema(@NotNull String resourceOid) voidputSchema(@NotNull String oid, @Nullable CompleteResourceSchema completeSchema) voidregisterResourceObjectLoader(Function<String, PrismObject<ResourceType>> schemaLoader) tryToNormalizeQuery(ObjectQuery query) voidunregisterResourceObjectLoader(Function<String, PrismObject<ResourceType>> schemaLoader) 
- 
Constructor Details- 
ResourceSchemaRegistrypublic ResourceSchemaRegistry()
 
- 
- 
Method Details- 
putSchemapublic void putSchema(@NotNull @NotNull String oid, @Nullable @Nullable CompleteResourceSchema completeSchema) 
- 
getDefinitionForShadow@Nullable public @Nullable ResourceObjectDefinition getDefinitionForShadow(@NotNull @NotNull ShadowType shadow) throws SchemaException - Throws:
- SchemaException
 
- 
getDefinitionForConstruction@Nullable public @Nullable ResourceObjectDefinition getDefinitionForConstruction(@NotNull @NotNull ConstructionType construct) 
- 
getDefinitionForKindIntent@Nullable public @Nullable ResourceObjectDefinition getDefinitionForKindIntent(String resourceOid, ShadowKindType kind, String intent) throws SchemaException - Throws:
- SchemaException
 
- 
getResourceSchema@Nullable public @Nullable CompleteResourceSchema getResourceSchema(@NotNull @NotNull String resourceOid) 
- 
getDefinitionForQuery
- 
tryToNormalizeQuery
- 
registerResourceObjectLoader
- 
unregisterResourceObjectLoader
 
-