Interface IUserService
-
- All Known Implementing Classes:
AbstractUserService,LdapUserService,UserService
public interface IUserService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDefaultAuthorities(IUser user)voidaddDefaultRole(IUser user)IUseraddRole(IUser user, java.lang.String roleStringId)IUserassignAuthority(java.lang.String userId, java.lang.String authorityId)IUsercreateSystemUser()voiddeleteUser(IUser user)java.util.List<IUser>findAll(boolean small)org.springframework.data.domain.Page<IUser>findAllActiveByProcessRoles(java.util.Set<java.lang.String> roleIds, boolean small, org.springframework.data.domain.Pageable pageable)java.util.List<IUser>findAllByIds(java.util.Set<java.lang.String> ids, boolean small)java.util.List<IUser>findAllByProcessRoles(java.util.Set<java.lang.String> roleIds, boolean small)org.springframework.data.domain.Page<IUser>findAllCoMembers(LoggedUser loggedUser, boolean small, org.springframework.data.domain.Pageable pageable)IUserfindAnonymousByEmail(java.lang.String email, boolean small)IUserfindByAuth(org.springframework.security.core.Authentication auth)IUserfindByEmail(java.lang.String email, boolean small)IUserfindById(java.lang.String id, boolean small)LoggedUsergetAnonymousLogged()IUsergetLoggedOrSystem()IUsergetLoggedUser()LoggedUsergetLoggedUserFromContext()IUsergetSystem()IUserremoveRole(IUser user, java.lang.String roleStringId)voidremoveRoleOfDeletedPetriNet(PetriNet net)IUserresolveById(java.lang.String id, boolean small)IUsersave(IUser user)IUsersaveNew(IUser user)IUsersaveNewAndAuthenticate(IUser user)AnonymousUsersaveNewAnonymous(AnonymousUser user)org.springframework.data.domain.Page<IUser>searchAllCoMembers(java.lang.String query, LoggedUser principal, java.lang.Boolean small, org.springframework.data.domain.Pageable pageable)org.springframework.data.domain.Page<IUser>searchAllCoMembers(java.lang.String query, java.util.List<org.bson.types.ObjectId> roles, java.util.List<org.bson.types.ObjectId> negateRoleIds, LoggedUser principal, java.lang.Boolean small, org.springframework.data.domain.Pageable pageable)IUserupdate(IUser user, UpdateUserRequest updates)
-
-
-
Method Detail
-
findByAuth
IUser findByAuth(org.springframework.security.core.Authentication auth)
-
saveNewAnonymous
AnonymousUser saveNewAnonymous(AnonymousUser user)
-
update
IUser update(IUser user, UpdateUserRequest updates)
-
findById
IUser findById(java.lang.String id, boolean small)
-
resolveById
IUser resolveById(java.lang.String id, boolean small)
-
findByEmail
IUser findByEmail(java.lang.String email, boolean small)
-
findAnonymousByEmail
IUser findAnonymousByEmail(java.lang.String email, boolean small)
-
findAll
java.util.List<IUser> findAll(boolean small)
-
findAllCoMembers
org.springframework.data.domain.Page<IUser> findAllCoMembers(LoggedUser loggedUser, boolean small, org.springframework.data.domain.Pageable pageable)
-
findAllByIds
java.util.List<IUser> findAllByIds(java.util.Set<java.lang.String> ids, boolean small)
-
findAllActiveByProcessRoles
org.springframework.data.domain.Page<IUser> findAllActiveByProcessRoles(java.util.Set<java.lang.String> roleIds, boolean small, org.springframework.data.domain.Pageable pageable)
-
addDefaultRole
void addDefaultRole(IUser user)
-
findAllByProcessRoles
java.util.List<IUser> findAllByProcessRoles(java.util.Set<java.lang.String> roleIds, boolean small)
-
addDefaultAuthorities
void addDefaultAuthorities(IUser user)
-
assignAuthority
IUser assignAuthority(java.lang.String userId, java.lang.String authorityId)
-
getLoggedOrSystem
IUser getLoggedOrSystem()
-
getLoggedUser
IUser getLoggedUser()
-
getSystem
IUser getSystem()
-
getAnonymousLogged
LoggedUser getAnonymousLogged()
-
getLoggedUserFromContext
LoggedUser getLoggedUserFromContext()
-
searchAllCoMembers
org.springframework.data.domain.Page<IUser> searchAllCoMembers(java.lang.String query, LoggedUser principal, java.lang.Boolean small, org.springframework.data.domain.Pageable pageable)
-
removeRoleOfDeletedPetriNet
void removeRoleOfDeletedPetriNet(PetriNet net)
-
deleteUser
void deleteUser(IUser user)
-
searchAllCoMembers
org.springframework.data.domain.Page<IUser> searchAllCoMembers(java.lang.String query, java.util.List<org.bson.types.ObjectId> roles, java.util.List<org.bson.types.ObjectId> negateRoleIds, LoggedUser principal, java.lang.Boolean small, org.springframework.data.domain.Pageable pageable)
-
createSystemUser
IUser createSystemUser()
-
-