Interface UserResource
-
- All Known Implementing Classes:
UserResourceImpl
public interface UserResource
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
deleteUser()
UserProfileDto
getUserProfile(javax.ws.rs.core.UriInfo context)
void
unlockUser()
void
updateCredentials(UserCredentialsDto account)
void
updateProfile(UserProfileDto profile)
-
-
-
Method Detail
-
deleteUser
@DELETE @Produces("application/json") void deleteUser()
-
unlockUser
@POST @Path("/unlock") void unlockUser()
-
getUserProfile
@GET @Path("/profile") @Produces("application/json") UserProfileDto getUserProfile(@Context javax.ws.rs.core.UriInfo context)
-
updateProfile
@PUT @Path("/profile") @Consumes("application/json") void updateProfile(UserProfileDto profile)
-
updateCredentials
@PUT @Path("/credentials") @Consumes("application/json") void updateCredentials(UserCredentialsDto account)
-
availableOperations
@OPTIONS @Produces("application/json") ResourceOptionsDto availableOperations(@Context javax.ws.rs.core.UriInfo context)
-
-