com.evolveum.midpoint.web.model.impl
Class UserManagerImpl
java.lang.Object
com.evolveum.midpoint.web.model.impl.ObjectManagerImpl<UserType,GuiUserDto>
com.evolveum.midpoint.web.model.impl.UserManagerImpl
- All Implemented Interfaces:
- ObjectManager<GuiUserDto>, UserManager, java.io.Serializable
public class UserManagerImpl
- extends ObjectManagerImpl<UserType,GuiUserDto>
- implements UserManager
- Author:
- lazyman
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserManagerImpl
public UserManagerImpl()
getSupportedObjectClass
protected java.lang.Class<? extends ObjectType> getSupportedObjectClass()
- Specified by:
getSupportedObjectClass
in class ObjectManagerImpl<UserType,GuiUserDto>
createObject
protected GuiUserDto createObject(UserType objectType)
- Specified by:
createObject
in class ObjectManagerImpl<UserType,GuiUserDto>
list
public java.util.Collection<GuiUserDto> list(PagingType paging)
- Description copied from interface:
ObjectManager
- List objects according to paging parameters.
- Specified by:
list
in interface ObjectManager<GuiUserDto>
- Returns:
- all objects from the repository.
submit
public java.util.Set<PropertyChange> submit(GuiUserDto 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<GuiUserDto>
- Parameters:
changedObject
- new state of the object
- Returns:
- relative changes that will be applied to the object
add
public java.lang.String add(GuiUserDto object)
- Description copied from interface:
ObjectManager
- Add new object to the repository.
The OID property of the object may be null. In that case the OID will be
generated by the repository (recommended).
- Specified by:
add
in interface ObjectManager<GuiUserDto>
- Overrides:
add
in class ObjectManagerImpl<UserType,GuiUserDto>
- Parameters:
object
- object to add
- Returns:
- OID of stored object
addAccount
public AccountShadowDto addAccount(UserDto userDto,
java.lang.String resourceOid)
- Specified by:
addAccount
in interface UserManager
search
public java.util.List<UserDto> search(QueryType search,
PagingType paging)
- Specified by:
search
in interface UserManager
Copyright © 2012 evolveum. All Rights Reserved.