Class UserToUserCommand
java.lang.Object
org.xbricks.common.generic.converters.UserToUserCommand
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<users,
UserCommand>
@Component
public class UserToUserCommand
extends Object
implements org.springframework.core.convert.converter.Converter<users,UserCommand>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUserRepositories
(AuthoritiesRepository authoritiesRepo, User_infoRepository inforepository) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
UserToUserCommand
-
-
Method Details
-
setUserRepositories
@Autowired public void setUserRepositories(AuthoritiesRepository authoritiesRepo, User_infoRepository inforepository) - Parameters:
authoritiesRepo
- Autowiring the Components
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<users,
UserCommand>
-