com.gentics.contentnode.rest.model.response
Class UserLoadResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.UserLoadResponse

public class UserLoadResponse
extends GenericResponse

Response containing a single user


Constructor Summary
UserLoadResponse()
          Create an empty instance
UserLoadResponse(Message message, ResponseInfo responseInfo)
          Create instance with message and response info
UserLoadResponse(Message message, ResponseInfo responseInfo, User user)
          Create instance with message, response info and user
 
Method Summary
 User getUser()
          Get the user
 void setUser(User user)
          Set the user
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLoadResponse

public UserLoadResponse()
Create an empty instance


UserLoadResponse

public UserLoadResponse(Message message,
                        ResponseInfo responseInfo)
Create instance with message and response info

Parameters:
message - message
responseInfo - response info

UserLoadResponse

public UserLoadResponse(Message message,
                        ResponseInfo responseInfo,
                        User user)
Create instance with message, response info and user

Parameters:
message - message
responseInfo - response info
user - user
Method Detail

setUser

public void setUser(User user)
Set the user

Parameters:
user - user

getUser

public User getUser()
Get the user

Returns:
user


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.