Class UserResource

java.lang.Object
com.abavilla.fpi.fw.controller.AbsBaseResource<D,E,S>
com.abavilla.fpi.fw.controller.AbsReadOnlyResource<UserDto,User,UserSvc>
com.abavilla.fpi.login.controller.UserResource
All Implemented Interfaces:
com.abavilla.fpi.fw.controller.IReadOnlyResource<UserDto>, com.abavilla.fpi.fw.controller.IResource

@Path("/fpi/user") public class UserResource extends com.abavilla.fpi.fw.controller.AbsReadOnlyResource<UserDto,User,UserSvc>
Resource for managing authorized system users in FPI system. URI Path: "/fpi/user"
Author:
Vince Villamora
  • Field Summary

    Fields inherited from class com.abavilla.fpi.fw.controller.AbsBaseResource

    service
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<UserDto>>
    Retrieves UserDto given the user's metaId.
    protected org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<com.abavilla.fpi.fw.dto.IDto>>
    mapException(com.abavilla.fpi.fw.exceptions.FPISvcEx x)

    Methods inherited from class com.abavilla.fpi.fw.controller.AbsReadOnlyResource

    getAll, getById, getByPage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserResource

      public UserResource()
  • Method Details

    • getByMetaId

      @GET public io.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<UserDto>> getByMetaId(@QueryParam("metaId") String metaId)
      Retrieves UserDto given the user's metaId.
      Parameters:
      metaId - the meta id
      Returns:
      UserDto
    • mapException

      protected org.jboss.resteasy.reactive.RestResponse<com.abavilla.fpi.fw.dto.impl.RespDto<com.abavilla.fpi.fw.dto.IDto>> mapException(com.abavilla.fpi.fw.exceptions.FPISvcEx x)
      Overrides:
      mapException in class com.abavilla.fpi.fw.controller.AbsBaseResource<UserDto,User,UserSvc>