public class ProvisioningUtil extends Object
Constructor and Description |
---|
ProvisioningUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkShadowActivationConsistency(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow) |
static void |
cleanupShadowActivation(com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationType a) |
static void |
cleanupShadowActivation(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType) |
static ExecuteProvisioningScriptOperation |
convertToScriptOperation(com.evolveum.midpoint.xml.ns._public.common.common_3.ProvisioningScriptType scriptType,
String desc,
PrismContext prismContext) |
static AttributesToReturn |
createAttributesToReturn(ProvisioningContext ctx) |
static RefinedResourceSchema |
getRefinedSchema(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) |
static RefinedResourceSchema |
getRefinedSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType) |
static PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getResourceObjectShadowDefinition(PrismContext prismContext) |
static boolean |
isProtectedShadow(RefinedObjectClassDefinition objectClassDefinition,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
MatchingRuleRegistry matchingRuleRegistry) |
static void |
logWarning(Trace logger,
OperationResult opResult,
String message,
Exception ex) |
static <T> PropertyDelta<T> |
narrowPropertyDelta(PropertyDelta<T> propertyDelta,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> currentShadow,
QName overridingMatchingRuleQName,
MatchingRuleRegistry matchingRuleRegistry) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
normalizeShadow(T shadow,
OperationResult result) |
static void |
recordFatalError(Trace logger,
OperationResult opResult,
String message,
Throwable ex) |
static void |
setProtectedFlag(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceObject,
MatchingRuleRegistry matchingRuleRegistry) |
static boolean |
shouldStoreActivationItemInShadow(QName elementName) |
static boolean |
shouldStoreAtributeInShadow(RefinedObjectClassDefinition objectClassDefinition,
QName attributeName) |
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> void normalizeShadow(T shadow, OperationResult result) throws SchemaException
SchemaException
public static PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getResourceObjectShadowDefinition(PrismContext prismContext)
public static ExecuteProvisioningScriptOperation convertToScriptOperation(com.evolveum.midpoint.xml.ns._public.common.common_3.ProvisioningScriptType scriptType, String desc, PrismContext prismContext) throws SchemaException
SchemaException
public static AttributesToReturn createAttributesToReturn(ProvisioningContext ctx) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public static <T> PropertyDelta<T> narrowPropertyDelta(PropertyDelta<T> propertyDelta, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> currentShadow, QName overridingMatchingRuleQName, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
SchemaException
public static RefinedResourceSchema getRefinedSchema(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType) throws SchemaException, ConfigurationException
public static boolean isProtectedShadow(RefinedObjectClassDefinition objectClassDefinition, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException
SchemaException
public static void setProtectedFlag(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceObject, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public static RefinedResourceSchema getRefinedSchema(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType> resource) throws SchemaException, ConfigurationException
public static void recordFatalError(Trace logger, OperationResult opResult, String message, Throwable ex)
public static void logWarning(Trace logger, OperationResult opResult, String message, Exception ex)
public static boolean shouldStoreAtributeInShadow(RefinedObjectClassDefinition objectClassDefinition, QName attributeName)
public static boolean shouldStoreActivationItemInShadow(QName elementName)
public static void cleanupShadowActivation(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType)
public static void cleanupShadowActivation(com.evolveum.midpoint.xml.ns._public.common.common_3.ActivationType a)
public static void checkShadowActivationConsistency(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow)
Copyright © 2016 evolveum. All rights reserved.