Class JCoManagedFunction
- java.lang.Object
-
- de.hybris.platform.sap.core.jco.connection.impl.JCoManagedFunction
-
- All Implemented Interfaces:
com.sap.conn.jco.JCoFunction,java.io.Serializable,java.lang.Cloneable
public class JCoManagedFunction extends java.lang.Object implements com.sap.conn.jco.JCoFunction, java.lang.CloneableDelegator for JCoFunction.
Adds connection parameter.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JCoConnectionParameterconnectionParameterConnection parameters.protected com.sap.conn.jco.JCoFunctiondelegateDelegator instance.
-
Constructor Summary
Constructors Constructor Description JCoManagedFunction(com.sap.conn.jco.JCoFunction delegate, JCoConnectionParameter connectionParameter)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sap.conn.jco.JCoFunctionclone()voidexecute(com.sap.conn.jco.JCoDestination destination)Delegates call to delegator instance.voidexecute(com.sap.conn.jco.JCoDestination destination, java.lang.String tid)Delegates call to delegator instance.voidexecute(com.sap.conn.jco.JCoDestination destination, java.lang.String tid, java.lang.String queueName)Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListgetChangingParameterList()Delegates call to delegator instance.JCoConnectionParametergetConnectionParameter()Getter for connection parameter.com.sap.conn.jco.JCoFunctiongetDelegate()Getter for delegated JCoFunction.com.sap.conn.jco.AbapExceptiongetException(java.lang.String key)Delegates call to delegator instance.com.sap.conn.jco.AbapException[]getExceptionList()Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListgetExportParameterList()Delegates call to delegator instance.com.sap.conn.jco.JCoFunctionTemplategetFunctionTemplate()Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListgetImportParameterList()Delegates call to delegator instance.java.lang.StringgetName()Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListgetTableParameterList()Delegates call to delegator instance.booleanhasConnectionParameters()Checks if connection parameters are available.booleanisAbapClassExceptionEnabled()Delegates call to delegator instance.voidsetAbapClassExceptionMode(com.sap.conn.jco.AbapClassException.Mode mode)Delegates call to delegator instance.voidsetConnectionParameter(JCoConnectionParameter connectionParameter)Setter for connection parameter.voidsetDelegate(com.sap.conn.jco.JCoFunction delegate)Setter for delegated JCoFunction.java.lang.StringtoXML()Delegates call to delegator instance.
-
-
-
Field Detail
-
delegate
protected com.sap.conn.jco.JCoFunction delegate
Delegator instance.
-
connectionParameter
protected JCoConnectionParameter connectionParameter
Connection parameters.
-
-
Constructor Detail
-
JCoManagedFunction
public JCoManagedFunction(com.sap.conn.jco.JCoFunction delegate, JCoConnectionParameter connectionParameter)Constructor.- Parameters:
delegate- delegate instanceconnectionParameter- connection parameters
-
-
Method Detail
-
hasConnectionParameters
public boolean hasConnectionParameters()
Checks if connection parameters are available.- Returns:
- true if connection parameter are available.
-
getConnectionParameter
public JCoConnectionParameter getConnectionParameter()
Getter for connection parameter.- Returns:
- connection parameter or null
-
setConnectionParameter
public void setConnectionParameter(JCoConnectionParameter connectionParameter)
Setter for connection parameter.- Parameters:
connectionParameter- connection parameter
-
execute
public void execute(com.sap.conn.jco.JCoDestination destination, java.lang.String tid, java.lang.String queueName) throws com.sap.conn.jco.JCoExceptionDelegates call to delegator instance.- Specified by:
executein interfacecom.sap.conn.jco.JCoFunction- Parameters:
destination- destinationtid- tidqueueName- queueName- Throws:
com.sap.conn.jco.JCoException- JCoException- See Also:
JCoFunction.execute(com.sap.conn.jco.JCoDestination, java.lang.String, java.lang.String)
-
execute
public void execute(com.sap.conn.jco.JCoDestination destination, java.lang.String tid) throws com.sap.conn.jco.JCoExceptionDelegates call to delegator instance.- Specified by:
executein interfacecom.sap.conn.jco.JCoFunction- Parameters:
destination- destinationtid- tid- Throws:
com.sap.conn.jco.JCoException- JCoException- See Also:
JCoFunction.execute(com.sap.conn.jco.JCoDestination, java.lang.String)
-
execute
public void execute(com.sap.conn.jco.JCoDestination destination) throws com.sap.conn.jco.JCoExceptionDelegates call to delegator instance.- Specified by:
executein interfacecom.sap.conn.jco.JCoFunction- Parameters:
destination- destination- Throws:
com.sap.conn.jco.JCoException- JCoException- See Also:
JCoFunction.execute(com.sap.conn.jco.JCoDestination)
-
getChangingParameterList
public com.sap.conn.jco.JCoParameterList getChangingParameterList()
Delegates call to delegator instance.- Specified by:
getChangingParameterListin interfacecom.sap.conn.jco.JCoFunction- Returns:
- JCoParameterList
- See Also:
JCoFunction.getChangingParameterList()
-
getException
public com.sap.conn.jco.AbapException getException(java.lang.String key)
Delegates call to delegator instance.- Specified by:
getExceptionin interfacecom.sap.conn.jco.JCoFunction- Parameters:
key- key- Returns:
- AbapException
- See Also:
JCoFunction.getException(java.lang.String)
-
getExceptionList
public com.sap.conn.jco.AbapException[] getExceptionList()
Delegates call to delegator instance.- Specified by:
getExceptionListin interfacecom.sap.conn.jco.JCoFunction- Returns:
- AbapException[]
- See Also:
JCoFunction.getExceptionList()
-
getExportParameterList
public com.sap.conn.jco.JCoParameterList getExportParameterList()
Delegates call to delegator instance.- Specified by:
getExportParameterListin interfacecom.sap.conn.jco.JCoFunction- Returns:
- JCoParameterList
- See Also:
JCoFunction.getExportParameterList()
-
getFunctionTemplate
public com.sap.conn.jco.JCoFunctionTemplate getFunctionTemplate()
Delegates call to delegator instance.- Specified by:
getFunctionTemplatein interfacecom.sap.conn.jco.JCoFunction- Returns:
- JCoFunctionTemplate
- See Also:
JCoFunction.getFunctionTemplate()
-
getImportParameterList
public com.sap.conn.jco.JCoParameterList getImportParameterList()
Delegates call to delegator instance.- Specified by:
getImportParameterListin interfacecom.sap.conn.jco.JCoFunction- Returns:
- JCoParameterList
- See Also:
JCoFunction.getImportParameterList()
-
getName
public java.lang.String getName()
Delegates call to delegator instance.- Specified by:
getNamein interfacecom.sap.conn.jco.JCoFunction- Returns:
- name
- See Also:
JCoFunction.getName()
-
getTableParameterList
public com.sap.conn.jco.JCoParameterList getTableParameterList()
Delegates call to delegator instance.- Specified by:
getTableParameterListin interfacecom.sap.conn.jco.JCoFunction- Returns:
- TableParameterList
- See Also:
JCoFunction.getTableParameterList()
-
isAbapClassExceptionEnabled
public boolean isAbapClassExceptionEnabled()
Delegates call to delegator instance.- Specified by:
isAbapClassExceptionEnabledin interfacecom.sap.conn.jco.JCoFunction- Returns:
- isAbapClassExceptionEnabled
- See Also:
JCoFunction.isAbapClassExceptionEnabled()
-
setAbapClassExceptionMode
public void setAbapClassExceptionMode(com.sap.conn.jco.AbapClassException.Mode mode)
Delegates call to delegator instance.- Specified by:
setAbapClassExceptionModein interfacecom.sap.conn.jco.JCoFunction- Parameters:
mode- mode- See Also:
JCoFunction.setAbapClassExceptionMode(com.sap.conn.jco.AbapClassException.Mode)
-
toXML
public java.lang.String toXML()
Delegates call to delegator instance.- Specified by:
toXMLin interfacecom.sap.conn.jco.JCoFunction- Returns:
- xml
- See Also:
JCoFunction.toXML()
-
getDelegate
public com.sap.conn.jco.JCoFunction getDelegate()
Getter for delegated JCoFunction.- Returns:
- the delegate
-
setDelegate
public void setDelegate(com.sap.conn.jco.JCoFunction delegate)
Setter for delegated JCoFunction.- Parameters:
delegate- the delegate to set
-
clone
public com.sap.conn.jco.JCoFunction clone()
- Specified by:
clonein interfacecom.sap.conn.jco.JCoFunction- Overrides:
clonein classjava.lang.Object
-
-