@Component public class ShadowManager extends Object
Constructor and Description |
---|
ShadowManager() |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition,
ResourceAttribute<T> attributeA,
ResourceAttribute<T> attributeB) |
<T> boolean |
compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition,
ResourceAttribute<T> attributeA,
T... valuesB) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createRepositoryShadow(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow)
Create a copy of a shadow that is suitable for repository storage.
|
ResourceOperationDescription |
createResourceFailureDescription(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> conflictedShadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
OperationResult parentResult) |
void |
deleteConflictedShadowFromRepo(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
findOrCreateShadowFromChange(ProvisioningContext ctx,
Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
findOrCreateShadowFromChangeGlobalContext(ProvisioningContext globalCtx,
Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
lookupShadowBySecondaryIdentifiers(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
lookupShadowInRepository(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow,
OperationResult parentResult)
Locates the appropriate Shadow in repository that corresponds to the
provided resource object.
|
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
lookupShadowInRepository(ProvisioningContext ctx,
ResourceAttributeContainer identifierContainer,
OperationResult parentResult) |
void |
normalizeAttributes(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
RefinedObjectClassDefinition objectClassDefinition) |
<T> void |
normalizeDeltas(Collection<? extends ItemDelta<PrismPropertyValue<T>,PrismPropertyDefinition<T>>> deltas,
RefinedObjectClassDefinition objectClassDefinition) |
SearchResultMetadata |
searchObjectsIterativeRepository(ProvisioningContext ctx,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoHandler,
OperationResult parentResult) |
void |
setIntentIfNecessary(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType,
RefinedObjectClassDefinition objectClassDefinition) |
void |
setKindIfNecessary(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType,
RefinedObjectClassDefinition objectClassDefinition) |
public void deleteConflictedShadowFromRepo(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, OperationResult parentResult)
public ResourceOperationDescription createResourceFailureDescription(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> conflictedShadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, OperationResult parentResult)
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> lookupShadowInRepository(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow, OperationResult parentResult) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
parentResult
- SchemaException
ConfigurationException
ObjectNotFoundException
CommunicationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> lookupShadowInRepository(ProvisioningContext ctx, ResourceAttributeContainer identifierContainer, OperationResult parentResult) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> lookupShadowBySecondaryIdentifiers(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow, OperationResult parentResult) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> findOrCreateShadowFromChange(ProvisioningContext ctx, Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change, OperationResult parentResult) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ObjectNotFoundException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> findOrCreateShadowFromChangeGlobalContext(ProvisioningContext globalCtx, Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change, OperationResult parentResult) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ObjectNotFoundException
public SearchResultMetadata searchObjectsIterativeRepository(ProvisioningContext ctx, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoHandler, OperationResult parentResult) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> createRepositoryShadow(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow) throws SchemaException, ConfigurationException, ObjectNotFoundException, CommunicationException
public void setKindIfNecessary(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType, RefinedObjectClassDefinition objectClassDefinition)
public void setIntentIfNecessary(com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType repoShadowType, RefinedObjectClassDefinition objectClassDefinition)
public void normalizeAttributes(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, RefinedObjectClassDefinition objectClassDefinition) throws SchemaException
SchemaException
public <T> void normalizeDeltas(Collection<? extends ItemDelta<PrismPropertyValue<T>,PrismPropertyDefinition<T>>> deltas, RefinedObjectClassDefinition objectClassDefinition) throws SchemaException
SchemaException
public <T> boolean compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition, ResourceAttribute<T> attributeA, T... valuesB) throws SchemaException
SchemaException
public <T> boolean compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition, ResourceAttribute<T> attributeA, ResourceAttribute<T> attributeB) throws SchemaException
SchemaException
Copyright © 2015 evolveum. All rights reserved.