Class SapInvoiceBackendImpl
- java.lang.Object
-
- de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
-
- de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
-
- de.hybris.platform.sap.sapinvoicebol.backend.impl.SapInvoiceBackendImpl
-
- All Implemented Interfaces:
BackendBusinessObject,BackendBusinessObjectJCo,SapInvoiceBackend
public class SapInvoiceBackendImpl extends BackendBusinessObjectBaseJCo implements SapInvoiceBackend
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
genericFactory, moduleConfigurationAccess
-
-
Constructor Summary
Constructors Constructor Description SapInvoiceBackendImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseConnection(JCoConnection connection)java.lang.StringgetBillingDocumentFieldName()byte[]getInvoiceInByte(java.lang.String billingDocNumber)get the invoice in byte formatjava.lang.StringgetJcoFunction()java.util.Map<java.lang.String,java.lang.String>getParameters()java.lang.StringgetTableName()byte[]serialize(java.lang.Object obj)voidsetBillingDocumentFieldName(java.lang.String billingDocumentFieldName)voidsetJcoFunction(java.lang.String jcoFunction)voidsetParameters(java.util.Map<java.lang.String,java.lang.String> parameters)voidsetTableName(java.lang.String tableName)-
Methods inherited from class de.hybris.platform.sap.core.bol.backend.jco.BackendBusinessObjectBaseJCo
getDefaultConnectionName, getDefaultDestinationName, getDefaultJCoConnection, getJCoConnection, getJCoConnection, getModuleId, setDefaultConnectionName, setDefaultDestinationName, setManagedConnectionContainer, toString
-
Methods inherited from class de.hybris.platform.sap.core.bol.backend.BackendBusinessObjectBase
destroyBackendObject, getModuleConfigurationAccess, initBackendObject, setGenericFactory, setModuleConfigurationAccess
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.sap.core.bol.backend.BackendBusinessObject
destroyBackendObject, initBackendObject
-
-
-
-
Method Detail
-
getJcoFunction
public java.lang.String getJcoFunction()
- Returns:
- the jcoFunction
-
setJcoFunction
public void setJcoFunction(java.lang.String jcoFunction)
- Parameters:
jcoFunction- the jcoFunction to set
-
getBillingDocumentFieldName
public java.lang.String getBillingDocumentFieldName()
- Returns:
- the billingDocumentFieldName
-
setBillingDocumentFieldName
public void setBillingDocumentFieldName(java.lang.String billingDocumentFieldName)
- Parameters:
billingDocumentFieldName- the billingDocumentFieldName to set
-
getParameters
public java.util.Map<java.lang.String,java.lang.String> getParameters()
- Returns:
- the parameters
-
setParameters
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
- Parameters:
parameters- the parameters to set
-
getTableName
public java.lang.String getTableName()
- Returns:
- the tableName
-
setTableName
public void setTableName(java.lang.String tableName)
- Parameters:
tableName- the tableName to set
-
getInvoiceInByte
public byte[] getInvoiceInByte(java.lang.String billingDocNumber) throws BackendExceptionDescription copied from interface:SapInvoiceBackendget the invoice in byte format- Specified by:
getInvoiceInBytein interfaceSapInvoiceBackend- Returns:
- byte array
- Throws:
BackendException
-
serialize
public byte[] serialize(java.lang.Object obj) throws java.io.IOException- Throws:
java.io.IOException
-
closeConnection
protected void closeConnection(JCoConnection connection)
-
-