com.evolveum.midpoint.model.controller.handler
Class BasicHandler

java.lang.Object
  extended by com.evolveum.midpoint.model.controller.handler.BasicHandler
Direct Known Subclasses:
UserTypeHandler

public class BasicHandler
extends java.lang.Object

Author:
lazyman

Constructor Summary
BasicHandler(ModelController modelController, ProvisioningService provisioning, RepositoryService repository, SchemaHandler schemaHandler)
           
 
Method Summary
protected  ModelController getModelController()
           
<T extends ObjectType>
T
getObject(java.lang.Class<T> clazz, java.lang.String oid, PropertyReferenceListType resolve, OperationResult result)
           
protected  ProvisioningService getProvisioning()
           
protected  RepositoryService getRepository()
           
protected  SchemaHandler getSchemaHandler()
           
protected  SystemConfigurationType getSystemConfiguration(OperationResult result)
           
protected  ObjectReferenceType processAccountConstruction(UserType user, AccountConstructionType construction, ObjectType containingObject, java.util.Collection<java.lang.String> excludedResourceOids, OperationResult result)
           
 ObjectModificationType processOutboundSchemaHandling(UserType user, ResourceObjectShadowType object, OperationResult result)
           
protected  UserType processUserTemplateForUser(UserType user, UserTemplateType userTemplate, java.util.Collection<java.lang.String> excludedResourceOids, OperationResult result)
           
protected  void pushPasswordFromUserToAccount(UserType user, AccountShadowType account, OperationResult result)
          MID-72, MID-73 password push from user to account
protected  void resolveObjectAttributes(ObjectType object, PropertyReferenceListType resolve, OperationResult result)
           
protected  ResourceType resolveResource(ResourceObjectShadowType shadow, OperationResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicHandler

public BasicHandler(ModelController modelController,
                    ProvisioningService provisioning,
                    RepositoryService repository,
                    SchemaHandler schemaHandler)
Method Detail

getModelController

protected ModelController getModelController()

getProvisioning

protected ProvisioningService getProvisioning()

getRepository

protected RepositoryService getRepository()

getSchemaHandler

protected SchemaHandler getSchemaHandler()

resolveResource

protected ResourceType resolveResource(ResourceObjectShadowType shadow,
                                       OperationResult result)
                                throws ObjectNotFoundException
Throws:
ObjectNotFoundException

getSystemConfiguration

protected SystemConfigurationType getSystemConfiguration(OperationResult result)
                                                  throws ObjectNotFoundException
Throws:
ObjectNotFoundException

processUserTemplateForUser

protected UserType processUserTemplateForUser(UserType user,
                                              UserTemplateType userTemplate,
                                              java.util.Collection<java.lang.String> excludedResourceOids,
                                              OperationResult result)

processAccountConstruction

protected ObjectReferenceType processAccountConstruction(UserType user,
                                                         AccountConstructionType construction,
                                                         ObjectType containingObject,
                                                         java.util.Collection<java.lang.String> excludedResourceOids,
                                                         OperationResult result)

getObject

public <T extends ObjectType> T getObject(java.lang.Class<T> clazz,
                                          java.lang.String oid,
                                          PropertyReferenceListType resolve,
                                          OperationResult result)
                               throws ObjectNotFoundException
Throws:
ObjectNotFoundException

processOutboundSchemaHandling

public ObjectModificationType processOutboundSchemaHandling(UserType user,
                                                            ResourceObjectShadowType object,
                                                            OperationResult result)

resolveObjectAttributes

protected void resolveObjectAttributes(ObjectType object,
                                       PropertyReferenceListType resolve,
                                       OperationResult result)

pushPasswordFromUserToAccount

protected void pushPasswordFromUserToAccount(UserType user,
                                             AccountShadowType account,
                                             OperationResult result)
                                      throws ObjectNotFoundException
MID-72, MID-73 password push from user to account

Throws:
ObjectNotFoundException


Copyright © 2011 evolveum. All Rights Reserved.