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 Details

    • UserToUserCommand

      public UserToUserCommand(UserRepository userRepository)
  • Method Details

    • setUserRepositories

      @Autowired public void setUserRepositories(AuthoritiesRepository authoritiesRepo, User_infoRepository inforepository)
      Parameters:
      authoritiesRepo - Autowiring the Components
    • convert

      public UserCommand convert(users source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<users,UserCommand>