Class UserResource
- All Implemented Interfaces:
com.abavilla.fpi.fw.controller.IResource
@Path("/fpi/user")
public class UserResource
extends com.abavilla.fpi.fw.controller.AbsBaseResource<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>>RetrievesUserDtogiven the user'smetaIdoruserId, if multiple id's are given, prioritizes the specific platform idprotected 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)
-
Constructor Details
-
UserResource
public UserResource()
-
-
Method Details
-
getById
@GET public io.smallrye.mutiny.Uni<com.abavilla.fpi.fw.dto.impl.RespDto<UserDto>> getById(@QueryParam("metaId") String metaId, @QueryParam("id") String userId) RetrievesUserDtogiven the user'smetaIdoruserId, if multiple id's are given, prioritizes the specific platform id- Parameters:
metaId- the meta iduserId- the user 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)
-