net.stepniak.api.auth.controller
Class UserController

java.lang.Object
  extended by net.stepniak.api.controller.ApiController
      extended by net.stepniak.api.auth.controller.BaseAuthController
          extended by net.stepniak.api.auth.controller.UserController

@Service
public class UserController
extends BaseAuthController


Field Summary
 
Fields inherited from class net.stepniak.api.auth.controller.BaseAuthController
auth
 
Fields inherited from class net.stepniak.api.controller.ApiController
jsonMapper, request, uriInfo
 
Constructor Summary
UserController(UserStore userStore)
           
 
Method Summary
 javax.ws.rs.core.Response createByQueryString(String key, String email, String userName)
           
 javax.ws.rs.core.Response createExternalByForm(String key, String email, String userName)
           
 javax.ws.rs.core.Response createExternalByJson(org.codehaus.jettison.json.JSONObject jsonObject)
           
 javax.ws.rs.core.Response retrieve(Long id, String sessionId)
           
 
Methods inherited from class net.stepniak.api.auth.controller.BaseAuthController
getAuthorizedUser, getSessionId, validateApiKey, validateSessionId
 
Methods inherited from class net.stepniak.api.controller.ApiController
fromJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserController

@Autowired
public UserController(UserStore userStore)
Method Detail

createExternalByForm

public javax.ws.rs.core.Response createExternalByForm(String key,
                                                      String email,
                                                      String userName)
                                               throws AuthException
Throws:
AuthException

createExternalByJson

public javax.ws.rs.core.Response createExternalByJson(org.codehaus.jettison.json.JSONObject jsonObject)
                                               throws AuthException
Throws:
AuthException

createByQueryString

public javax.ws.rs.core.Response createByQueryString(String key,
                                                     String email,
                                                     String userName)
                                              throws AuthException
Throws:
AuthException

retrieve

public javax.ws.rs.core.Response retrieve(Long id,
                                          String sessionId)
                                   throws AuthException
Throws:
AuthException


Copyright © 2013. All Rights Reserved.