eu.etaxonomy.cdm.api.service
Interface IUserService

All Superinterfaces:
org.springframework.security.provisioning.GroupManager, IService<User>, org.springframework.security.provisioning.UserDetailsManager, org.springframework.security.core.userdetails.UserDetailsService
All Known Implementing Classes:
UserService

public interface IUserService
extends IService<User>, org.springframework.security.provisioning.UserDetailsManager, org.springframework.security.provisioning.GroupManager


Method Summary
 void changePasswordForUser(String username, String password)
           
 List<User> listByUsername(String queryString, MatchMode matchmode, List<org.hibernate.criterion.Criterion> criteria, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints, List<String> propertyPaths)
          Return a List of users matching the given query string, optionally filtered by class, optionally with a particular MatchMode
 UUID saveGrantedAuthority(org.springframework.security.core.GrantedAuthority grantedAuthority)
           
 UUID saveGroup(Group group)
           
 
Methods inherited from interface eu.etaxonomy.cdm.api.service.IService
clear, count, delete, exists, find, find, find, findById, getSession, group, list, list, load, load, lock, merge, page, refresh, refresh, rows, save, save, saveOrUpdate, saveOrUpdate, update
 
Methods inherited from interface org.springframework.security.provisioning.UserDetailsManager
changePassword, createUser, deleteUser, updateUser, userExists
 
Methods inherited from interface org.springframework.security.core.userdetails.UserDetailsService
loadUserByUsername
 
Methods inherited from interface org.springframework.security.provisioning.GroupManager
addGroupAuthority, addUserToGroup, createGroup, deleteGroup, findAllGroups, findGroupAuthorities, findUsersInGroup, removeGroupAuthority, removeUserFromGroup, renameGroup
 

Method Detail

changePasswordForUser

void changePasswordForUser(String username,
                           String password)
                           throws org.springframework.security.core.userdetails.UsernameNotFoundException,
                                  org.springframework.dao.DataAccessException
Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException

saveGrantedAuthority

UUID saveGrantedAuthority(org.springframework.security.core.GrantedAuthority grantedAuthority)

saveGroup

UUID saveGroup(Group group)

listByUsername

List<User> listByUsername(String queryString,
                          MatchMode matchmode,
                          List<org.hibernate.criterion.Criterion> criteria,
                          Integer pageSize,
                          Integer pageNumber,
                          List<OrderHint> orderHints,
                          List<String> propertyPaths)
Return a List of users matching the given query string, optionally filtered by class, optionally with a particular MatchMode

Parameters:
queryString - the query string to filter by
matchmode - use a particular type of matching (can be null - defaults to exact matching)
criteria - additional criteria to filter by
pageSize - The maximum number of objects returned (can be null for all objects)
pageNumber - The offset (in pageSize chunks) from the start of the result set (0 - based)
propertyPaths - properties to initialize - see IBeanInitializer.initialize(Object, List)
orderHints - Supports path like orderHints.propertyNames which include *-to-one properties like createdBy.username or authorTeam.persistentTitleCache
Returns:
a list of instances of type User matching the queryString
See Also:
IIdentifiableEntityService#listByTitle(Class, String, MatchMode, List, Integer, Integer, List, List)}


Copyright © 2007-2013 EDIT. All Rights Reserved.