com.evolveum.midpoint.provisioning.impl
Class ShadowConverter
java.lang.Object
com.evolveum.midpoint.provisioning.impl.ShadowConverter
@Component
public class ShadowConverter
- extends Object
Method Summary |
ResourceObjectShadowType |
addShadow(ResourceType resource,
ResourceObjectShadowType shadowType,
ProvisioningScriptsType scripts,
OperationResult parentResult)
|
|
applyAttributesDefinition(ObjectDelta<T> delta,
PrismObject<T> shadow,
ResourceType resource)
|
|
applyAttributesDefinition(ObjectDelta<T> delta,
ResourceShadowDiscriminator discriminator,
ResourceType resource)
|
|
applyAttributesDefinition(PrismObject<T> shadow,
ResourceType resource)
|
ResourceObjectShadowType |
createNewAccountFromChange(Change change,
ResourceType resource,
ResourceSchema resourceSchema,
OperationResult parentResult)
|
void |
deleteShadow(ResourceType resource,
ResourceObjectShadowType shadow,
ProvisioningScriptsType scripts,
OperationResult parentResult)
|
List<Change> |
fetchChanges(ResourceType resource,
PrismProperty lastToken,
OperationResult parentResult)
|
PrismProperty |
fetchCurrentToken(ResourceType resourceType,
ResourceSchema resourceSchema,
OperationResult parentResult)
|
ConnectorTypeManager |
getConnectorTypeManager()
|
|
getShadow(Class<T> type,
ResourceType resource,
T repoShadow,
OperationResult parentResult)
|
boolean |
isProtectedShadow(ResourceType resource,
ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> attributes)
|
|
isProtectedShadow(ResourceType resource,
PrismObject<T> shadow)
|
Collection<PropertyModificationOperation> |
modifyShadow(ResourceType resource,
ResourceObjectShadowType shadow,
ProvisioningScriptsType scripts,
Collection<? extends ItemDelta> objectChanges,
OperationResult parentResult)
|
|
searchObjects(ResourceType resourceType,
ResourceSchema resourceSchema,
QName objectClass,
ResultHandler<T> resultHandler,
ObjectQuery query,
OperationResult parentResult)
|
void |
setConnectorTypeManager(ConnectorTypeManager connectorTypeManager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowConverter
public ShadowConverter()
getConnectorTypeManager
public ConnectorTypeManager getConnectorTypeManager()
setConnectorTypeManager
public void setConnectorTypeManager(ConnectorTypeManager connectorTypeManager)
getShadow
public <T extends ResourceObjectShadowType> T getShadow(Class<T> type,
ResourceType resource,
T repoShadow,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
SchemaException,
ConfigurationException,
SecurityViolationException,
GenericConnectorException
- Throws:
ObjectNotFoundException
CommunicationException
SchemaException
ConfigurationException
SecurityViolationException
GenericConnectorException
addShadow
public ResourceObjectShadowType addShadow(ResourceType resource,
ResourceObjectShadowType shadowType,
ProvisioningScriptsType scripts,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException,
CommunicationException,
ObjectAlreadyExistsException,
ConfigurationException,
SecurityViolationException
- Throws:
ObjectNotFoundException
SchemaException
CommunicationException
ObjectAlreadyExistsException
ConfigurationException
SecurityViolationException
deleteShadow
public void deleteShadow(ResourceType resource,
ResourceObjectShadowType shadow,
ProvisioningScriptsType scripts,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException,
CommunicationException,
ConfigurationException,
SecurityViolationException
- Throws:
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
SecurityViolationException
modifyShadow
public Collection<PropertyModificationOperation> modifyShadow(ResourceType resource,
ResourceObjectShadowType shadow,
ProvisioningScriptsType scripts,
Collection<? extends ItemDelta> objectChanges,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException,
CommunicationException,
ConfigurationException,
SecurityViolationException
- Throws:
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
SecurityViolationException
searchObjects
public <T extends ResourceObjectShadowType> void searchObjects(ResourceType resourceType,
ResourceSchema resourceSchema,
QName objectClass,
ResultHandler<T> resultHandler,
ObjectQuery query,
OperationResult parentResult)
throws SchemaException,
CommunicationException,
ObjectNotFoundException,
ConfigurationException
- Throws:
SchemaException
CommunicationException
ObjectNotFoundException
ConfigurationException
fetchCurrentToken
public PrismProperty fetchCurrentToken(ResourceType resourceType,
ResourceSchema resourceSchema,
OperationResult parentResult)
throws ObjectNotFoundException,
CommunicationException,
SchemaException,
ConfigurationException
- Throws:
ObjectNotFoundException
CommunicationException
SchemaException
ConfigurationException
fetchChanges
public List<Change> fetchChanges(ResourceType resource,
PrismProperty lastToken,
OperationResult parentResult)
throws ObjectNotFoundException,
SchemaException,
CommunicationException,
ConfigurationException
- Throws:
ObjectNotFoundException
SchemaException
CommunicationException
ConfigurationException
createNewAccountFromChange
public ResourceObjectShadowType createNewAccountFromChange(Change change,
ResourceType resource,
ResourceSchema resourceSchema,
OperationResult parentResult)
throws SchemaException,
ObjectNotFoundException,
CommunicationException,
GenericFrameworkException,
ConfigurationException,
SecurityViolationException
- Throws:
SchemaException
ObjectNotFoundException
CommunicationException
GenericFrameworkException
ConfigurationException
SecurityViolationException
isProtectedShadow
public <T extends ResourceObjectShadowType> boolean isProtectedShadow(ResourceType resource,
PrismObject<T> shadow)
throws SchemaException
- Throws:
SchemaException
isProtectedShadow
public boolean isProtectedShadow(ResourceType resource,
ObjectClassComplexTypeDefinition objectClassDefinition,
Collection<? extends ResourceAttribute<?>> attributes)
throws SchemaException
- Throws:
SchemaException
applyAttributesDefinition
public <T extends ResourceObjectShadowType> ObjectClassComplexTypeDefinition applyAttributesDefinition(ObjectDelta<T> delta,
ResourceShadowDiscriminator discriminator,
ResourceType resource)
throws SchemaException,
ConfigurationException
- Throws:
SchemaException
ConfigurationException
applyAttributesDefinition
public <T extends ResourceObjectShadowType> ObjectClassComplexTypeDefinition applyAttributesDefinition(ObjectDelta<T> delta,
PrismObject<T> shadow,
ResourceType resource)
throws SchemaException,
ConfigurationException
- Throws:
SchemaException
ConfigurationException
applyAttributesDefinition
public <T extends ResourceObjectShadowType> ObjectClassComplexTypeDefinition applyAttributesDefinition(PrismObject<T> shadow,
ResourceType resource)
throws SchemaException,
ConfigurationException
- Throws:
SchemaException
ConfigurationException
Copyright © 2013 evolveum. All Rights Reserved.