Class ProfileResource


  • @Path("/profile")
    @Consumes("application/json")
    @Produces("application/json")
    @Controller
    public class ProfileResource
    extends java.lang.Object
    The user profile data associated with an Digital.ai Release account.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProfileResource​(UserProfileService userProfileService, com.xebialabs.deployit.security.UserService userService, Users users, com.xebialabs.xlrelease.domain.validators.UserAccountValidator userAccountValidator, SessionService sessionService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.xebialabs.xlrelease.api.v1.forms.UserAccount getProfile()  
      com.xebialabs.xlrelease.api.v1.forms.UserAccount saveProfile​(com.xebialabs.xlrelease.api.v1.forms.UserAccount account)  
      • Methods inherited from class java.lang.Object

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

      • ProfileResource

        @Autowired
        public ProfileResource​(UserProfileService userProfileService,
                               com.xebialabs.deployit.security.UserService userService,
                               Users users,
                               com.xebialabs.xlrelease.domain.validators.UserAccountValidator userAccountValidator,
                               SessionService sessionService)
    • Method Detail

      • getProfile

        @GET
        public com.xebialabs.xlrelease.api.v1.forms.UserAccount getProfile()
      • saveProfile

        @PUT
        public com.xebialabs.xlrelease.api.v1.forms.UserAccount saveProfile​(com.xebialabs.xlrelease.api.v1.forms.UserAccount account)