com.evolveum.midpoint.model.api
Interface ModelService
- All Known Subinterfaces:
- ModelController
- All Known Implementing Classes:
- ModelControllerImpl
public interface ModelService
- Author:
- lazyman
Method Summary |
java.lang.String |
addObject(ObjectType object,
OperationResult result)
|
java.lang.String |
addUser(UserType user,
UserTemplateType userTemplate,
OperationResult result)
|
boolean |
deleteObject(java.lang.String oid,
OperationResult result)
|
TaskStatusType |
getImportStatus(java.lang.String resourceOid,
OperationResult result)
Deprecated. |
|
getObject(java.lang.String oid,
PropertyReferenceListType resolve,
java.lang.Class<T> clazz,
OperationResult result)
|
PropertyAvailableValuesListType |
getPropertyAvailableValues(java.lang.String oid,
PropertyReferenceListType properties,
OperationResult result)
|
void |
importFromResource(java.lang.String resourceOid,
javax.xml.namespace.QName objectClass,
Task task)
|
UserType |
listAccountShadowOwner(java.lang.String accountOid,
OperationResult result)
|
ObjectListType |
listObjects(java.lang.Class<? extends ObjectType> objectType,
PagingType paging,
OperationResult result)
|
ObjectListType |
listResourceObjects(java.lang.String resourceOid,
javax.xml.namespace.QName objectType,
PagingType paging,
OperationResult result)
|
|
listResourceObjectShadows(java.lang.String resourceOid,
java.lang.Class<T> resourceObjectShadowType,
OperationResult result)
|
void |
modifyObject(ObjectModificationType change,
OperationResult result)
|
ObjectListType |
searchObjectsInRepository(QueryType query,
PagingType paging,
OperationResult result)
|
OperationResult |
testResource(java.lang.String resourceOid)
This returns OperationResult instead of taking it as in/out argument. |
getObject
<T extends ObjectType> T getObject(java.lang.String oid,
PropertyReferenceListType resolve,
java.lang.Class<T> clazz,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
getPropertyAvailableValues
PropertyAvailableValuesListType getPropertyAvailableValues(java.lang.String oid,
PropertyReferenceListType properties,
OperationResult result)
listObjects
ObjectListType listObjects(java.lang.Class<? extends ObjectType> objectType,
PagingType paging,
OperationResult result)
addObject
java.lang.String addObject(ObjectType object,
OperationResult result)
throws ObjectAlreadyExistsException,
ObjectNotFoundException
- Throws:
ObjectAlreadyExistsException
ObjectNotFoundException
addUser
java.lang.String addUser(UserType user,
UserTemplateType userTemplate,
OperationResult result)
throws ObjectAlreadyExistsException,
ObjectNotFoundException
- Throws:
ObjectAlreadyExistsException
ObjectNotFoundException
modifyObject
void modifyObject(ObjectModificationType change,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
deleteObject
boolean deleteObject(java.lang.String oid,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
listAccountShadowOwner
UserType listAccountShadowOwner(java.lang.String accountOid,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
listResourceObjectShadows
<T extends ResourceObjectShadowType> java.util.List<T> listResourceObjectShadows(java.lang.String resourceOid,
java.lang.Class<T> resourceObjectShadowType,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
listResourceObjects
ObjectListType listResourceObjects(java.lang.String resourceOid,
javax.xml.namespace.QName objectType,
PagingType paging,
OperationResult result)
testResource
OperationResult testResource(java.lang.String resourceOid)
throws ObjectNotFoundException
- This returns OperationResult instead of taking it as in/out argument.
This is different from the other methods. The testResource method is not
using OperationResult to track its own execution but rather to track the
execution of resource tests (that in fact happen in provisioning).
- Parameters:
resourceOid
-
- Returns:
-
- Throws:
ObjectNotFoundException
importFromResource
void importFromResource(java.lang.String resourceOid,
javax.xml.namespace.QName objectClass,
Task task)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
getImportStatus
@Deprecated
TaskStatusType getImportStatus(java.lang.String resourceOid,
OperationResult result)
throws ObjectNotFoundException
- Deprecated.
- Throws:
ObjectNotFoundException
searchObjectsInRepository
ObjectListType searchObjectsInRepository(QueryType query,
PagingType paging,
OperationResult result)
Copyright © 2011 evolveum. All Rights Reserved.