public abstract class ShadowCache extends Object
Modifier and Type | Field and Description |
---|---|
protected ShadowManager |
shadowManager |
Constructor and Description |
---|
ShadowCache() |
Modifier and Type | Method and Description |
---|---|
String |
addShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult) |
abstract String |
afterAddOnResource(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
OperationResult parentResult) |
abstract void |
afterModifyOnResource(ProvisioningContext ctx,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult) |
void |
applyDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta,
com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowTypeWhenNoOid,
OperationResult parentResult) |
void |
applyDefinition(ObjectQuery query,
OperationResult result) |
void |
applyDefinition(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
OperationResult parentResult) |
abstract Collection<? extends ItemDelta> |
beforeModifyOnResource(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
ProvisioningOperationOptions options,
Collection<? extends ItemDelta> modifications) |
Integer |
countObjects(ObjectQuery query,
Task task,
OperationResult result) |
void |
deleteShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
ProvisioningOperationOptions options,
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts,
Task task,
OperationResult parentResult) |
PrismProperty<?> |
fetchCurrentToken(ResourceShadowDiscriminator shadowCoordinates,
OperationResult parentResult) |
PrismContext |
getPrismContext() |
RepositoryService |
getRepositoryService()
Get the value of repositoryService.
|
protected com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType |
getResource(ResourceShadowDiscriminator coords,
OperationResult parentResult) |
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getShadow(String oid,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repositoryShadow,
Collection<SelectorOptions<GetOperationOptions>> options,
Task task,
OperationResult parentResult) |
protected PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
handleError(ProvisioningContext ctx,
Exception ex,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
ErrorHandler.FailedOperation op,
Collection<? extends ItemDelta> modifications,
boolean compensate,
OperationResult parentResult) |
String |
modifyShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
String oid,
Collection<? extends ItemDelta> modifications,
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult) |
SearchResultMetadata |
searchObjectsIterative(ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler,
boolean readFromRepository,
Task task,
OperationResult parentResult) |
int |
synchronize(ResourceShadowDiscriminator shadowCoordinates,
PrismProperty<?> lastToken,
Task task,
OperationResult parentResult) |
@Autowired(required=true) protected ShadowManager shadowManager
public RepositoryService getRepositoryService()
public PrismContext getPrismContext()
public PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getShadow(String oid, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> repositoryShadow, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException, SecurityViolationException
public abstract String afterAddOnResource(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, OperationResult parentResult) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException, ConfigurationException, CommunicationException
public String addShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, ProvisioningOperationOptions options, Task task, OperationResult parentResult) throws CommunicationException, GenericFrameworkException, ObjectAlreadyExistsException, SchemaException, ObjectNotFoundException, ConfigurationException, SecurityViolationException
public abstract void afterModifyOnResource(ProvisioningContext ctx, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, Collection<? extends ItemDelta> modifications, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, ConfigurationException, CommunicationException
public abstract Collection<? extends ItemDelta> beforeModifyOnResource(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, ProvisioningOperationOptions options, Collection<? extends ItemDelta> modifications) throws SchemaException
SchemaException
public String modifyShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, String oid, Collection<? extends ItemDelta> modifications, com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts, ProvisioningOperationOptions options, Task task, OperationResult parentResult) throws CommunicationException, GenericFrameworkException, ObjectNotFoundException, SchemaException, ConfigurationException, SecurityViolationException
public void deleteShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, ProvisioningOperationOptions options, com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts, Task task, OperationResult parentResult) throws CommunicationException, GenericFrameworkException, ObjectNotFoundException, SchemaException, ConfigurationException, SecurityViolationException
public void applyDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta, com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType shadowTypeWhenNoOid, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
public void applyDefinition(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
public void applyDefinition(ObjectQuery query, OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
protected com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType getResource(ResourceShadowDiscriminator coords, OperationResult parentResult) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException
protected PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handleError(ProvisioningContext ctx, Exception ex, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, ErrorHandler.FailedOperation op, Collection<? extends ItemDelta> modifications, boolean compensate, OperationResult parentResult) throws SchemaException, GenericFrameworkException, CommunicationException, ObjectNotFoundException, ObjectAlreadyExistsException, ConfigurationException, SecurityViolationException
public SearchResultMetadata searchObjectsIterative(ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler, boolean readFromRepository, Task task, OperationResult parentResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
public Integer countObjects(ObjectQuery query, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
public int synchronize(ResourceShadowDiscriminator shadowCoordinates, PrismProperty<?> lastToken, Task task, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, GenericFrameworkException, SchemaException, ConfigurationException, SecurityViolationException, ObjectAlreadyExistsException
public PrismProperty<?> fetchCurrentToken(ResourceShadowDiscriminator shadowCoordinates, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException
Copyright © 2015 evolveum. All rights reserved.