Package com.skava.oms.model.response
Class OmsServiceErrorCodeResponse
java.lang.Object
com.skava.core.validation.OutputModel
com.skava.core.ResponseModel
com.skava.oms.model.response.OmsServiceErrorCodeResponse
- All Implemented Interfaces:
Serializable
public class OmsServiceErrorCodeResponse
extends com.skava.core.ResponseModel
This class defines the OmsService Response to handle the collection request.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
FieldsFields inherited from class com.skava.core.ResponseModel
responseCode, responseMessage, timeStamp
-
Constructor Summary
ConstructorsConstructorDescriptionOmsServiceErrorCodeResponse
(ResponseCode responseCode, String message, ValidationErrorModel validationErrors) OmsServiceErrorCodeResponse
(String code, org.springframework.http.HttpStatus status, CommonPluginProcessorResponse pluginResponse, String message) Oms Service Response contains code status message and reason for entity values.OmsServiceErrorCodeResponse
(String code, org.springframework.http.HttpStatus status, String message, ValidationErrorModel validationErrors) Oms Service Response contains code status message and reason for entity values. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
getAsResponseEntity
(org.springframework.context.MessageSource messageSource, Object[] parameters) Methods inherited from class com.skava.core.ResponseModel
getResponseCode, getResponseMessage, getTimeStamp, setResponseCode, setResponseMessage, setTimeStamp
-
Field Details
-
pluginResponse
-
-
Constructor Details
-
OmsServiceErrorCodeResponse
public OmsServiceErrorCodeResponse(ResponseCode responseCode, String message, ValidationErrorModel validationErrors) -
OmsServiceErrorCodeResponse
public OmsServiceErrorCodeResponse(String code, org.springframework.http.HttpStatus status, String message, ValidationErrorModel validationErrors) Oms Service Response contains code status message and reason for entity values.- Parameters:
code
- error code to be givenstatus
- status to be changedmessage
- error messagevalidationErrors
- validation errors
-
OmsServiceErrorCodeResponse
public OmsServiceErrorCodeResponse(String code, org.springframework.http.HttpStatus status, CommonPluginProcessorResponse pluginResponse, String message) Oms Service Response contains code status message and reason for entity values.- Parameters:
code
- error code to be givenstatus
- status to be changedpluginResponse
- plugin related response will be given.message
- error message
-
-
Method Details