Class UserSvc

java.lang.Object
com.abavilla.fpi.fw.service.AbsSvc<D,E>
com.abavilla.fpi.fw.service.AbsRepoSvc<UserDto,User,UserRepo>
com.abavilla.fpi.login.service.UserSvc
All Implemented Interfaces:
com.abavilla.fpi.fw.service.ISvc

@ApplicationScoped public class UserSvc extends com.abavilla.fpi.fw.service.AbsRepoSvc<UserDto,User,UserRepo>
Service layer for creating and managing authorized system users.
Author:
Vince Villamora
  • Constructor Details

    • UserSvc

      public UserSvc()
  • Method Details

    • mapToDto

      public UserDto mapToDto(User entity)
      Overrides:
      mapToDto in class com.abavilla.fpi.fw.service.AbsSvc<UserDto,User>
    • mapToEntity

      public User mapToEntity(UserDto dto)
      Overrides:
      mapToEntity in class com.abavilla.fpi.fw.service.AbsSvc<UserDto,User>
    • getByMetaId

      public io.smallrye.mutiny.Uni<UserDto> getByMetaId(String metaId)
      Retrieves User given the user's metaId.
      Parameters:
      metaId - the meta id
      Returns:
      UserDto