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(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,
OperationResult parentResult) |
abstract void |
afterModifyOnResource(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
Collection<? extends ItemDelta> modifications,
OperationResult parentResult) |
ObjectClassComplexTypeDefinition |
applyAttributesDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
ObjectClassComplexTypeDefinition |
applyAttributesDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta,
ResourceShadowDiscriminator discriminator,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
RefinedObjectClassDefinition |
applyAttributesDefinition(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) |
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(ObjectQuery query,
RefinedObjectClassDefinition objectClassDef) |
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) |
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,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
Task task,
OperationResult parentResult) |
List<Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>> |
fetchChanges(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
QName objectClass,
PrismProperty<?> lastToken,
OperationResult parentResult) |
PrismProperty<?> |
fetchCurrentToken(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
OperationResult parentResult) |
PrismContext |
getPrismContext() |
RepositoryService |
getRepositoryService()
Get the value of repositoryService.
|
protected com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType |
getResource(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> |
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(Exception ex,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
ErrorHandler.FailedOperation op,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
Collection<? extends ItemDelta> modifications,
boolean compensate,
Task task,
OperationResult parentResult) |
void |
listShadows(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
QName objectClass,
ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler,
boolean readFromRepository,
OperationResult parentResult) |
String |
modifyShadow(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource,
String oid,
Collection<? extends ItemDelta> modifications,
com.evolveum.midpoint.xml.ns._public.common.common_3.OperationProvisioningScriptsType scripts,
ProvisioningOperationOptions options,
Task task,
OperationResult parentResult) |
void |
searchObjectsIterative(QName objectClassName,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
ObjectQuery query,
Collection<SelectorOptions<GetOperationOptions>> options,
ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler,
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(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, OperationResult parentResult) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException
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(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, Collection<? extends ItemDelta> modifications, OperationResult parentResult) throws SchemaException, ObjectNotFoundException
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, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, 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, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, 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
public void applyDefinition(ObjectQuery query, RefinedObjectClassDefinition objectClassDef) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException
protected com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType getResource(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, OperationResult parentResult) throws ObjectNotFoundException, SchemaException, CommunicationException, ConfigurationException
protected PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handleError(Exception ex, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, ErrorHandler.FailedOperation op, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, Collection<? extends ItemDelta> modifications, boolean compensate, Task task, OperationResult parentResult) throws SchemaException, GenericFrameworkException, CommunicationException, ObjectNotFoundException, ObjectAlreadyExistsException, ConfigurationException, SecurityViolationException
public void listShadows(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource, QName objectClass, ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler, boolean readFromRepository, OperationResult parentResult) throws CommunicationException, ObjectNotFoundException, SchemaException, ConfigurationException
public void searchObjectsIterative(QName objectClassName, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ShadowHandler<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> handler, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException
public List<Change<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType>> fetchChanges(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, QName objectClass, PrismProperty<?> lastToken, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, GenericFrameworkException, SchemaException, ConfigurationException, SecurityViolationException, ObjectAlreadyExistsException
public PrismProperty<?> fetchCurrentToken(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, OperationResult parentResult) throws ObjectNotFoundException, CommunicationException, SchemaException, ConfigurationException
public ObjectClassComplexTypeDefinition applyAttributesDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta, ResourceShadowDiscriminator discriminator, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) throws SchemaException, ConfigurationException
public ObjectClassComplexTypeDefinition applyAttributesDefinition(ObjectDelta<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> delta, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) throws SchemaException, ConfigurationException
public RefinedObjectClassDefinition applyAttributesDefinition(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resource) throws SchemaException, ConfigurationException
Copyright © 2014 evolveum. All rights reserved.