public class LensUtil extends Object
Constructor and Description |
---|
LensUtil() |
public static <F extends ObjectType,P extends ObjectType> void traceContext(Trace logger, String activity, String phase, boolean important, LensContext<F,P> context, boolean showTriples) throws SchemaException
SchemaException
public static <F extends ObjectType,P extends ObjectType> ResourceType getResource(LensContext<F,P> context, String resourceOid, ProvisioningService provisioningService, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public static String refineAccountType(String intent, ResourceType resource, PrismContext prismContext) throws SchemaException
SchemaException
public static LensProjectionContext<ShadowType> getAccountContext(LensContext<UserType,ShadowType> context, PrismObject<ShadowType> equivalentAccount, ProvisioningService provisioningService, PrismContext prismContext, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public static LensProjectionContext<ShadowType> getAccountContext(LensContext<UserType,ShadowType> context, String resourceOid, String intent, ProvisioningService provisioningService, PrismContext prismContext, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public static LensProjectionContext<ShadowType> getOrCreateAccountContext(LensContext<UserType,ShadowType> context, String resourceOid, String intent, ProvisioningService provisioningService, PrismContext prismContext, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public static LensProjectionContext<ShadowType> getOrCreateAccountContext(LensContext<UserType,ShadowType> context, ResourceShadowDiscriminator rsd)
public static <V extends PrismValue> ItemDelta<V> consolidateTripleToDelta(ItemPath itemPath, DeltaSetTriple<? extends ItemValueWithOrigin<V>> triple, ItemDefinition itemDefinition, ItemDelta<V> aprioriItemDelta, PrismContainer<?> itemContainer, ValueMatcher<?> valueMatcher, boolean addUnchangedValues, boolean filterExistingValues, String contextDescription, boolean applyWeak) throws ExpressionEvaluationException, PolicyViolationException, SchemaException
public static PropertyDelta<XMLGregorianCalendar> createActivationTimestampDelta(ActivationStatusType status, XMLGregorianCalendar now, PrismContainerDefinition<ActivationType> activationDefinition, OriginType origin)
public static void moveTriggers(LensProjectionContext<ShadowType> projCtx, LensFocusContext<UserType> focusCtx) throws SchemaException
SchemaException
public static <V extends PrismValue,F extends ObjectType,P extends ObjectType> void evaluateMapping(Mapping<V> mapping, LensContext<F,P> lensContext, OperationResult parentResult) throws ExpressionEvaluationException, ObjectNotFoundException, SchemaException
public static void loadFullAccount(LensProjectionContext<ShadowType> accCtx, ProvisioningService provisioningService, OperationResult result) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public static Object getIterationVariableValue(LensProjectionContext<ShadowType> accCtx)
public static Object getIterationTokenVariableValue(LensProjectionContext<ShadowType> accCtx)
Copyright © 2013 evolveum. All rights reserved.