Class UserManagementServiceImpl
java.lang.Object
net.andresbustamante.yafoot.users.services.impl.UserManagementServiceImpl
- All Implemented Interfaces:
net.andresbustamante.yafoot.users.services.UserManagementService
@Service
public class UserManagementServiceImpl
extends Object
implements net.andresbustamante.yafoot.users.services.UserManagementService
-
Constructor Summary
ConstructorsConstructorDescriptionUserManagementServiceImpl
(net.andresbustamante.yafoot.users.repository.UserRepository userRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteUser
(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) void
updateUser
(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx)
-
Constructor Details
-
UserManagementServiceImpl
public UserManagementServiceImpl(net.andresbustamante.yafoot.users.repository.UserRepository userRepository)
-
-
Method Details
-
updateUser
@Transactional(propagation=REQUIRES_NEW) public void updateUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException - Specified by:
updateUser
in interfacenet.andresbustamante.yafoot.users.services.UserManagementService
- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-
deleteUser
@Transactional(propagation=REQUIRES_NEW) public void deleteUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) throws net.andresbustamante.yafoot.commons.exceptions.DirectoryException - Specified by:
deleteUser
in interfacenet.andresbustamante.yafoot.users.services.UserManagementService
- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-