@Component public class ShadowManager extends Object
Constructor and Description |
---|
ShadowManager() |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition,
ResourceAttribute<T> attributeA,
T... valuesB) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
createRepositoryShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
RefinedObjectClassDefinition objectClassDefinition)
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(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change,
RefinedObjectClassDefinition objectClassDefinition,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
lookupShadowByName(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow,
RefinedObjectClassDefinition rObjClassDef,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
lookupShadowInRepository(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow,
RefinedObjectClassDefinition rObjClassDef,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
OperationResult parentResult)
Locates the appropriate Shadow in repository that corresponds to the
provided resource object.
|
void |
searchObjectsIterativeRepository(RefinedObjectClassDefinition objectClassDef,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
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(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow, RefinedObjectClassDefinition rObjClassDef, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, OperationResult parentResult) throws SchemaException, ConfigurationException
parentResult
- SchemaException
ConfigurationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> lookupShadowByName(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> resourceShadow, RefinedObjectClassDefinition rObjClassDef, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, OperationResult parentResult) throws SchemaException, ConfigurationException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> findOrCreateShadowFromChange(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> change, RefinedObjectClassDefinition objectClassDefinition, OperationResult parentResult) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException
public void searchObjectsIterativeRepository(RefinedObjectClassDefinition objectClassDef, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repoHandler, OperationResult parentResult) throws SchemaException
SchemaException
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> createRepositoryShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, RefinedObjectClassDefinition objectClassDefinition) throws SchemaException
SchemaException
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 <T> boolean compareAttribute(RefinedObjectClassDefinition refinedObjectClassDefinition, ResourceAttribute<T> attributeA, T... valuesB) throws SchemaException
SchemaException
Copyright © 2014 evolveum. All rights reserved.