com.evolveum.midpoint.web.model.impl
Class AccountManagerImpl
java.lang.Object
com.evolveum.midpoint.web.model.impl.ObjectManagerImpl<AccountShadowType,AccountShadowDto>
com.evolveum.midpoint.web.model.impl.AccountManagerImpl
- All Implemented Interfaces:
- AccountManager, ObjectManager<AccountShadowDto>, java.io.Serializable
public class AccountManagerImpl
- extends ObjectManagerImpl<AccountShadowType,AccountShadowDto>
- implements AccountManager
- Author:
- lazyman
- See Also:
- Serialized Form
Methods inherited from class com.evolveum.midpoint.web.model.impl.ObjectManagerImpl |
add, create, delete, get, get, getModel, getPropertyAvailableValues, getTaskManager, list, list, list |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountManagerImpl
public AccountManagerImpl()
list
public java.util.Collection<AccountShadowDto> list(PagingType paging)
- Description copied from interface:
ObjectManager
- List objects according to paging parameters.
- Specified by:
list
in interface ObjectManager<AccountShadowDto>
- Returns:
- all objects from the repository.
getSupportedObjectClass
protected java.lang.Class<? extends ObjectType> getSupportedObjectClass()
- Specified by:
getSupportedObjectClass
in class ObjectManagerImpl<AccountShadowType,AccountShadowDto>
createObject
protected AccountShadowDto createObject(AccountShadowType objectType)
- Specified by:
createObject
in class ObjectManagerImpl<AccountShadowType,AccountShadowDto>
submit
public java.util.Set<PropertyChange> submit(AccountShadowDto changedObject,
Task task,
OperationResult parentResult)
- Description copied from interface:
ObjectManager
- Modify the object.
The method will change the object to a new state. It is not guaranteed
that the object will be in the state specified by changedObject parameter
when stored in the repository because many updates may be running in
parallel.
TODO Should not be normally used.
- Specified by:
submit
in interface ObjectManager<AccountShadowDto>
- Parameters:
changedObject
- new state of the object
- Returns:
- relative changes that will be applied to the object
submit
public java.util.Set<PropertyChange> submit(AccountShadowDto changedObject,
java.util.List<AccountShadowType> oldAccounts,
Task task,
OperationResult parentResult)
- Specified by:
submit
in interface AccountManager
listOwner
public UserType listOwner(java.lang.String oid)
- Specified by:
listOwner
in interface AccountManager
getResourceCapability
public ResourceCapability getResourceCapability(AccountShadowDto account)
- Specified by:
getResourceCapability
in interface AccountManager
Copyright © 2012 evolveum. All Rights Reserved.