@Component public class SchemaTransformer extends Object
Constructor and Description |
---|
SchemaTransformer() |
Modifier and Type | Method and Description |
---|---|
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applyObjectTemplateToDefinition(PrismObjectDefinition<O> objectDefinition,
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType objectTemplateType,
OperationResult result) |
protected <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applySchemaAndSecurityToObject(PrismObject<T> object,
GetOperationOptions options,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
Task task) |
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applySchemasAndSecurity(PrismObject<O> object,
GetOperationOptions rootOptions,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
Task task,
OperationResult parentResult)
Validate the objects, apply security to the object definition, remove any non-visible properties (security),
apply object template definitions and so on.
|
<C extends Containerable,T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applySchemasAndSecurityToContainers(SearchResultList<C> originalResultList,
Class<T> parentObjectType,
QName childItemName,
GetOperationOptions options,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
Task task,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applySchemasAndSecurityToObjects(Collection<PrismObject<T>> objects,
GetOperationOptions options,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
Task task,
OperationResult result) |
<T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
applySchemasAndSecurityToObjectTypes(Collection<T> objectTypes,
GetOperationOptions options,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
Task task,
OperationResult result) |
<D extends ItemDefinition> |
applySecurityConstraints(D itemDefinition,
ObjectSecurityConstraints securityConstraints,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase) |
void |
applySecurityConstraints(List<Item<?,?>> items,
ObjectSecurityConstraints securityConstraints,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultReadDecision,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultAddDecision,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultModifyDecision,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase) |
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType |
computeItemDecision(ObjectSecurityConstraints securityConstraints,
ItemPath itemPath,
String actionUrl,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultDecision,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase) |
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
determineObjectTemplate(Class<O> objectClass,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
OperationResult result) |
<O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
determineObjectTemplate(PrismObject<O> object,
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase,
OperationResult result) |
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void applySchemasAndSecurityToObjectTypes(Collection<T> objectTypes, GetOperationOptions options, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException, ConfigurationException, ObjectNotFoundException
public <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void applySchemasAndSecurityToObjects(Collection<PrismObject<T>> objects, GetOperationOptions options, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException
public <C extends Containerable,T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> SearchResultList<C> applySchemasAndSecurityToContainers(SearchResultList<C> originalResultList, Class<T> parentObjectType, QName childItemName, GetOperationOptions options, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, Task task, OperationResult result) throws SecurityViolationException, SchemaException, ObjectNotFoundException, ConfigurationException
protected <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void applySchemaAndSecurityToObject(PrismObject<T> object, GetOperationOptions options, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, Task task)
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void applySchemasAndSecurity(PrismObject<O> object, GetOperationOptions rootOptions, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, Task task, OperationResult parentResult) throws SchemaException, SecurityViolationException, ConfigurationException, ObjectNotFoundException
public void applySecurityConstraints(List<Item<?,?>> items, ObjectSecurityConstraints securityConstraints, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultReadDecision, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultAddDecision, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultModifyDecision, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase)
public <D extends ItemDefinition> void applySecurityConstraints(D itemDefinition, ObjectSecurityConstraints securityConstraints, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase)
public com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType computeItemDecision(ObjectSecurityConstraints securityConstraints, ItemPath itemPath, String actionUrl, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationDecisionType defaultDecision, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase)
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType determineObjectTemplate(PrismObject<O> object, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType determineObjectTemplate(Class<O> objectClass, com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationPhaseType phase, OperationResult result) throws SchemaException, ConfigurationException, ObjectNotFoundException
public <O extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> void applyObjectTemplateToDefinition(PrismObjectDefinition<O> objectDefinition, com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectTemplateType objectTemplateType, OperationResult result) throws ObjectNotFoundException, SchemaException
Copyright © 2016 evolveum. All rights reserved.