Class JCoHelper.ReturnValue
- java.lang.Object
-
- de.hybris.platform.sap.core.bol.backend.jco.JCoHelper.ReturnValue
-
- Enclosing class:
- JCoHelper
public static class JCoHelper.ReturnValue extends java.lang.ObjectRepresents the data returned by a call to the function module.- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ReturnValue(com.sap.conn.jco.JCoTable messages, com.sap.conn.jco.JCoStructure message, java.lang.String returnCode)Creates a new instance.ReturnValue(com.sap.conn.jco.JCoTable messages, java.lang.String returnCode)Creates a new instance.ReturnValue(JCoHelper.ReturnValue returnValue)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sap.conn.jco.JCoStructuregetMessage()Get the Structure containing the messages returned by the call to the backend (e.g.com.sap.conn.jco.JCoTablegetMessages()Get the table containing the messages returned by the call to the backend (e.g.java.lang.StringgetReturnCode()Get the code the CRM call has returned.
-
-
-
Constructor Detail
-
ReturnValue
public ReturnValue(com.sap.conn.jco.JCoTable messages, java.lang.String returnCode)Creates a new instance.- Parameters:
messages- Table containing the messages returned from the backendreturnCode- The return code returned from the backend
-
ReturnValue
public ReturnValue(com.sap.conn.jco.JCoTable messages, com.sap.conn.jco.JCoStructure message, java.lang.String returnCode)Creates a new instance.- Parameters:
message- Structure containing only one message (Structure can be different as for the messages table)messages- Table containing the messages returned from the backendreturnCode- The return code returned from the backend
-
ReturnValue
public ReturnValue(JCoHelper.ReturnValue returnValue)
Creates a new instance.- Parameters:
returnValue- the return value
-
-
Method Detail
-
getReturnCode
public java.lang.String getReturnCode()
Get the code the CRM call has returned.- Returns:
- The backend return code
-
getMessages
public com.sap.conn.jco.JCoTable getMessages()
Get the table containing the messages returned by the call to the backend (e.g. ERP, CRM, ...)- Returns:
- table containing the messages
-
getMessage
public com.sap.conn.jco.JCoStructure getMessage()
Get the Structure containing the messages returned by the call to the backend (e.g. ERP, CRM, ...)- Returns:
- table containing the messages
-
-