@Path(value="2/users") public class Users extends Object
| Constructor and Description |
|---|
Users() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
existUser(String username) |
javax.ws.rs.core.Response |
getAllUserNames() |
javax.ws.rs.core.Response |
getFullnamesAndUsernames() |
javax.ws.rs.core.Response |
getUserEmail() |
javax.ws.rs.core.Response |
getUserFullname() |
javax.ws.rs.core.Response |
getUsernamesByGlobalRole(String roleName) |
javax.ws.rs.core.Response |
getUsernamesByRole(String roleName) |
javax.ws.rs.core.Response |
getUserOAuthProfile() |
javax.ws.rs.core.Response |
getUserProfile() |
javax.ws.rs.core.Response |
readCustomAttr(String attributeKey) |
@GET
@Path(value="get-custom-attribute/")
@Produces(value="application/json")
public javax.ws.rs.core.Response readCustomAttr(@QueryParam(value="attribute") @NotNull(message="attribute name is missing")
String attributeKey)
throws javax.validation.ValidationException
javax.validation.ValidationException@GET @Path(value="get-fullname") @Produces(value="application/json") public javax.ws.rs.core.Response getUserFullname()
@GET @Path(value="get-email") @Produces(value="application/json") public javax.ws.rs.core.Response getUserEmail()
@GET @Path(value="get-profile") @Produces(value="application/json") public javax.ws.rs.core.Response getUserProfile()
@GET @Path(value="get-oauth-profile") @Produces(value="application/json") public javax.ws.rs.core.Response getUserOAuthProfile()
@GET @Path(value="get-all-usernames") @Produces(value="application/json") public javax.ws.rs.core.Response getAllUserNames()
@GET @Path(value="get-all-fullnames-and-usernames") @Produces(value="application/json") public javax.ws.rs.core.Response getFullnamesAndUsernames()
@GET
@Path(value="get-usernames-by-global-role")
@Produces(value="application/json")
public javax.ws.rs.core.Response getUsernamesByGlobalRole(@QueryParam(value="role-name")
String roleName)
@GET
@Path(value="get-usernames-by-role")
@Produces(value="application/json")
public javax.ws.rs.core.Response getUsernamesByRole(@QueryParam(value="role-name")
String roleName)
@GET
@Path(value="user-exists")
@Produces(value="application/json")
public javax.ws.rs.core.Response existUser(@QueryParam(value="username")
String username)
Copyright © 2019. All Rights Reserved.