Interface BaseUserService
- All Known Subinterfaces:
UserService
- All Known Implementing Classes:
UserServiceImpl
public interface BaseUserService
- Version:
- $Id: UserService.java,v 1.6 2014/06/17 19:20:47 paul Exp $
- Author:
- paul
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupAuthority(UserGroup group, String authority) voidaddUserToGroup(UserGroup group, User user) voidRemove a user from the persistent store.voidRemove a group from the persistent storefindByEmail(String email) findByUserName(String userName) findGroupByName(String name) findGroupsForUser(User user) booleangroupExists(String name) A list of groups available to the current user (will be security-filtered)...might need to allow anonymous.loadAll()Retrieves a list of usersvoidremoveGroupAuthority(UserGroup group, String authority) Remove an authority from a group.voidremoveUserFromGroup(User user, UserGroup group) voidvoid
-
Method Details
-
addGroupAuthority
-
addUserToGroup
-
create
- Throws:
UserExistsException
-
create
-
delete
Remove a user from the persistent store. -
delete
Remove a group from the persistent store -
findByEmail
-
findByUserName
-
findGroupByName
-
findGroupsForUser
@Secured({"GROUP_USER","AFTER_ACL_COLLECTION_READ"}) Collection<UserGroup> findGroupsForUser(User user) -
groupExists
-
listAvailableGroups
A list of groups available to the current user (will be security-filtered)...might need to allow anonymous. -
load
-
loadAll
Retrieves a list of users -
loadGroupAuthorities
-
removeGroupAuthority
-
removeUserFromGroup
-
update
-
update
-