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 TypeMethodDescriptionvoiddeleteUser(net.andresbustamante.yafoot.users.model.User user, net.andresbustamante.yafoot.commons.model.UserContext ctx) voidupdateUser(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:
updateUserin 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:
deleteUserin interfacenet.andresbustamante.yafoot.users.services.UserManagementService- Throws:
net.andresbustamante.yafoot.commons.exceptions.DirectoryException
-