public interface BaseUsersService extends de.alpharogroup.db.service.api.BusinessService<de.alpharogroup.user.entities.Users,Integer>
BaseUsersService.| Modifier and Type | Method and Description |
|---|---|
boolean |
existsUserWithUsername(String username)
Checks if a user exists with the given user name.
|
List<de.alpharogroup.user.entities.Roles> |
findRolesFromUser(de.alpharogroup.user.entities.Users user)
Find roles from the given
Users. |
de.alpharogroup.user.entities.Users |
findUserWithUsername(String username)
Find
Users object from the given user name. |
boolean |
userIsInRole(de.alpharogroup.user.entities.Users user,
de.alpharogroup.user.entities.Roles role)
Checks if the given
Users object is in the given Roles object. |
boolean existsUserWithUsername(String username)
username - the user nameList<de.alpharogroup.user.entities.Roles> findRolesFromUser(de.alpharogroup.user.entities.Users user)
Users.user - the userRoles from the given Users.de.alpharogroup.user.entities.Users findUserWithUsername(String username)
Users object from the given user name.username - the user nameUsers objectboolean userIsInRole(de.alpharogroup.user.entities.Users user,
de.alpharogroup.user.entities.Roles role)
Users object is in the given Roles object.user - the userrole - the roleCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.