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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CanonicalItemPath
createCanonicalItemPath(ItemPath path, QName objectType)
@NotNull PrismReferenceValue
createReferenceValue(@NotNull String oid, @NotNull Class<? extends ObjectType> schemaType)
@NotNull PrismSerializer<String>
createStringSerializer(@NotNull String language)
<C extends Containerable>
PrismContainerDefinition<C>findContainerDefinitionByCompileTimeClass(Class<C> containerableType)
static SchemaService
get()
GetOperationOptionsBuilder
getOperationOptionsBuilder()
void
init()
MatchingRuleRegistry
matchingRuleRegistry()
@NotNull QName
normalizeRelation(QName qName)
@NotNull PrismParserNoIO
parserFor(@NotNull String serializedForm)
PrismContext
prismContext()
RelationRegistry
relationRegistry()
QName
schemaClassToTypeQName(Class<?> schemaClass)
<T> Class<? extends T>
typeQNameToSchemaClass(QName qName)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
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)
-
-