Package com.evolveum.midpoint.schema
Class SchemaService
- java.lang.Object
-
- com.evolveum.midpoint.schema.SchemaService
-
@Component public class SchemaService extends Object
Aggregation of various schema and prism managed components for convenience. The purpose is rather practical, to avoid too many injections. Most used methods are provided directly.
-
-
Constructor Summary
Constructors Constructor Description SchemaService()
-
Method Summary
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
init
@VisibleForTesting public static void init(PrismContext prismContext, RelationRegistry relationRegistry, MatchingRuleRegistry matchingRuleRegistry)
-
get
public static SchemaService get()
-
prismContext
public PrismContext prismContext()
-
relationRegistry
public RelationRegistry relationRegistry()
-
matchingRuleRegistry
public MatchingRuleRegistry matchingRuleRegistry()
-
getOperationOptionsBuilder
public GetOperationOptionsBuilder getOperationOptionsBuilder()
-
createStringSerializer
@NotNull public @NotNull PrismSerializer<String> createStringSerializer(@NotNull @NotNull String language)
-
parserFor
@NotNull public @NotNull PrismParserNoIO parserFor(@NotNull @NotNull String serializedForm)
-
createCanonicalItemPath
public CanonicalItemPath createCanonicalItemPath(ItemPath path, QName objectType)
-
createReferenceValue
@NotNull public @NotNull PrismReferenceValue createReferenceValue(@NotNull @NotNull String oid, @NotNull @NotNull Class<? extends ObjectType> schemaType)
-
findContainerDefinitionByCompileTimeClass
public <C extends Containerable> PrismContainerDefinition<C> findContainerDefinitionByCompileTimeClass(Class<C> containerableType)
-
-