Class 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 -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<UserDto>>getByMetaId(String metaId) RetrievesUserDtogiven the user'smetaId.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
-
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) RetrievesUserDtogiven the user'smetaId.- 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)
-