public class ProvisioningUtil extends Object
Constructor and Description |
---|
ProvisioningUtil() |
Modifier and Type | Method and Description |
---|---|
static ExecuteProvisioningScriptOperation |
convertToScriptOperation(com.evolveum.midpoint.xml.ns._public.common.common_3.ProvisioningScriptType scriptType,
String desc,
PrismContext prismContext) |
static AttributesToReturn |
createAttributesToReturn(ProvisioningContext ctx) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
determineShadowName(PrismObject<T> shadow) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
determineShadowName(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
determineShadowStringName(PrismObject<T> shadow) |
static ResourceShadowDiscriminator |
getCoordinates(ObjectFilter filter) |
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 String |
getResourceOidFromFilter(List<? extends ObjectFilter> conditions) |
static <T> T |
getValueFromFilter(List<? extends ObjectFilter> conditions,
QName propertyName) |
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) |
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 <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> PolyString determineShadowName(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadow) throws SchemaException
SchemaException
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> PolyString determineShadowName(PrismObject<T> shadow) throws SchemaException
SchemaException
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> String determineShadowStringName(PrismObject<T> shadow) throws SchemaException
SchemaException
public static PrismObjectDefinition<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getResourceObjectShadowDefinition(PrismContext prismContext)
public static String getResourceOidFromFilter(List<? extends ObjectFilter> conditions) throws SchemaException
SchemaException
public static <T> T getValueFromFilter(List<? extends ObjectFilter> conditions, QName propertyName) throws SchemaException
SchemaException
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 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 ResourceShadowDiscriminator getCoordinates(ObjectFilter filter) throws SchemaException
SchemaException
Copyright © 2015 evolveum. All rights reserved.