Class SchemaTransformer
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.controller.SchemaTransformer
-
@Component public class SchemaTransformer extends Object
Transforms the schema and objects by applying security constraints, object template schema refinements, etc.- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description SchemaTransformer()
-
Method Summary
-
-
-
Method Detail
-
applySchemasAndSecurityToObjectTypes
public <T extends ObjectType> void applySchemasAndSecurityToObjectTypes(List<T> objectTypes, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException, ConfigurationException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException
-
applySchemasAndSecurityToContainers
public <C extends Containerable,T extends ObjectType> SearchResultList<C> applySchemasAndSecurityToContainers(SearchResultList<C> originalResultList, Class<T> parentObjectType, ItemName childItemName, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException, ObjectNotFoundException, ConfigurationException, ExpressionEvaluationException, CommunicationException
-
setFullAccessFlags
public void setFullAccessFlags(ItemDefinition<?> itemDef)
-
applySecurityConstraints
public <D extends ItemDefinition> void applySecurityConstraints(D itemDefinition, ObjectSecurityConstraints securityConstraints, AuthorizationPhaseType phase)
-
computeItemDecision
@Contract("_, _, _, !null, _ -> !null") public AuthorizationDecisionType computeItemDecision(ObjectSecurityConstraints securityConstraints, ItemPath nameOnlyItemPath, String[] actionUrls, AuthorizationDecisionType defaultDecision, AuthorizationPhaseType phase)
-
determineObjectTemplate
public <O extends ObjectType> ObjectTemplateType determineObjectTemplate(PrismObject<O> object, AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
-
determineObjectTemplate
public <O extends ObjectType> ObjectTemplateType determineObjectTemplate(Class<O> objectClass, AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
-
applyObjectTemplateToDefinition
public <O extends ObjectType> void applyObjectTemplateToDefinition(PrismObjectDefinition<O> objectDefinition, ObjectTemplateType objectTemplateType, OperationResult result) throws ObjectNotFoundException, SchemaException
-
transformableDefinition
public <O extends Objectable> TransformableObjectDefinition<O> transformableDefinition(PrismObjectDefinition<O> definition)
-
-