com.evolveum.midpoint.model.controller
Interface ModelController

All Superinterfaces:
ModelService
All Known Implementing Classes:
ModelControllerImpl

public interface ModelController
extends ModelService

Author:
lazyman

Field Summary
static java.lang.String ADD_OBJECT_WITH_EXCLUSION
           
static java.lang.String CHANGE_ACCOUNT
           
static java.lang.String CLASS_NAME_WITH_DOT
           
static java.lang.String MODIFY_OBJECT_WITH_EXCLUSION
           
static java.lang.String SEARCH_OBJECTS_IN_PROVISIONING
           
static java.lang.String SEARCH_OBJECTS_IN_REPOSITORY
           
 
Fields inherited from interface com.evolveum.midpoint.model.api.ModelService
ADD_OBJECT, ADD_USER, DELETE_OBJECT, DISCOVER_CONNECTORS, GET_OBJECT, GET_PROPERTY_AVAILABLE_VALUES, IMPORT_ACCOUNTS_FROM_RESOURCE, IMPORT_OBJECTS_FROM_FILE, IMPORT_OBJECTS_FROM_STREAM, LIST_ACCOUNT_SHADOW_OWNER, LIST_OBJECTS, LIST_RESOURCE_OBJECT_SHADOWS, LIST_RESOURCE_OBJECTS, MODIFY_OBJECT, POST_INIT, TEST_RESOURCE
 
Method Summary
<T extends ObjectType>
java.lang.String
addObjectWithExclusion(T object, java.lang.String accountOid, OperationResult parentResult)
          TODO: document
 java.lang.String addUser(UserType user, UserTemplateType userTemplate, java.util.Collection<java.lang.String> excludedResourceOids, OperationResult result)
          This method is used when we wan't to add user with different user template than system template (e.g.
<T extends ObjectType>
void
modifyObjectWithExclusion(java.lang.Class<T> type, ObjectModificationType change, java.util.Collection<java.lang.String> excludedResourceOids, OperationResult result)
           
 
Methods inherited from interface com.evolveum.midpoint.model.api.ModelService
addObject, deleteObject, discoverConnectors, getObject, getPropertyAvailableValues, importAccountsFromResource, importObjectsFromFile, importObjectsFromStream, listAccountShadowOwner, listObjects, listResourceObjects, listResourceObjectShadows, modifyObject, postInit, searchObjects, testResource
 

Field Detail

CLASS_NAME_WITH_DOT

static final java.lang.String CLASS_NAME_WITH_DOT

SEARCH_OBJECTS_IN_REPOSITORY

static final java.lang.String SEARCH_OBJECTS_IN_REPOSITORY

SEARCH_OBJECTS_IN_PROVISIONING

static final java.lang.String SEARCH_OBJECTS_IN_PROVISIONING

ADD_OBJECT_WITH_EXCLUSION

static final java.lang.String ADD_OBJECT_WITH_EXCLUSION

MODIFY_OBJECT_WITH_EXCLUSION

static final java.lang.String MODIFY_OBJECT_WITH_EXCLUSION

CHANGE_ACCOUNT

static final java.lang.String CHANGE_ACCOUNT
Method Detail

modifyObjectWithExclusion

<T extends ObjectType> void modifyObjectWithExclusion(java.lang.Class<T> type,
                                                      ObjectModificationType change,
                                                      java.util.Collection<java.lang.String> excludedResourceOids,
                                                      OperationResult result)
                               throws ObjectNotFoundException
Throws:
ObjectNotFoundException

addObjectWithExclusion

<T extends ObjectType> java.lang.String addObjectWithExclusion(T object,
                                                               java.lang.String accountOid,
                                                               OperationResult parentResult)
                                        throws ObjectAlreadyExistsException,
                                               ObjectNotFoundException,
                                               SchemaException
TODO: document

Type Parameters:
T -
Parameters:
object -
accountOid -
parentResult -
Returns:
Throws:
ObjectAlreadyExistsException
ObjectNotFoundException
SchemaException

addUser

java.lang.String addUser(UserType user,
                         UserTemplateType userTemplate,
                         java.util.Collection<java.lang.String> excludedResourceOids,
                         OperationResult result)
                         throws ObjectAlreadyExistsException,
                                ObjectNotFoundException
This method is used when we wan't to add user with different user template than system template (e.g. during synchronization)

Parameters:
user -
userTemplate -
result -
Returns:
Throws:
ObjectAlreadyExistsException
ObjectNotFoundException


Copyright © 2011 evolveum. All Rights Reserved.