com.gentics.contentnode.rest.model.response.migration
Class MigrationResponse

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

public class MigrationResponse
extends GenericResponse


Constructor Summary
MigrationResponse()
          Constructor used by JAXB
MigrationResponse(List<Message> messages, ResponseInfo responseInfo)
          Create an instance of the response with a list of messages and response info
MigrationResponse(Message message, ResponseInfo responseInfo)
          Create an instance of the response with a single message and response info
MigrationResponse(ResponseInfo responseInfo)
          Create an instance of the response with response info
 
Method Summary
 void addMessage(Message message)
           
 int getJobId()
           
 List<Message> getMessages()
           
 ResponseInfo getResponseInfo()
           
 void setJobId(int jobId)
           
 void setMessages(List<Message> messages)
           
 void setResponseInfo(ResponseInfo responseInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationResponse

public MigrationResponse()
Constructor used by JAXB


MigrationResponse

public MigrationResponse(ResponseInfo responseInfo)
Create an instance of the response with response info

Parameters:
responseInfo - response info

MigrationResponse

public MigrationResponse(Message message,
                         ResponseInfo responseInfo)
Create an instance of the response with a single message and response info

Parameters:
message - message
responseInfo - response info

MigrationResponse

public MigrationResponse(List<Message> messages,
                         ResponseInfo responseInfo)
Create an instance of the response with a list of messages and response info

Parameters:
message - message
responseInfo - response info
Method Detail

getMessages

public List<Message> getMessages()
Overrides:
getMessages in class GenericResponse

addMessage

public void addMessage(Message message)
Overrides:
addMessage in class GenericResponse

setMessages

public void setMessages(List<Message> messages)
Overrides:
setMessages in class GenericResponse

getResponseInfo

public ResponseInfo getResponseInfo()
Overrides:
getResponseInfo in class GenericResponse

setResponseInfo

public void setResponseInfo(ResponseInfo responseInfo)
Overrides:
setResponseInfo in class GenericResponse

getJobId

public int getJobId()

setJobId

public void setJobId(int jobId)


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.