Class JCoManagedFunction
java.lang.Object
de.hybris.platform.sap.core.jco.connection.impl.JCoManagedFunction
- All Implemented Interfaces:
com.sap.conn.jco.JCoFunction,Serializable,Cloneable
Delegator for JCoFunction.
Adds connection parameter.
Adds connection parameter.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JCoConnectionParameterConnection parameters.protected com.sap.conn.jco.JCoFunctionDelegator instance. -
Constructor Summary
ConstructorsConstructorDescriptionJCoManagedFunction(com.sap.conn.jco.JCoFunction delegate, JCoConnectionParameter connectionParameter) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncom.sap.conn.jco.JCoFunctionclone()voidexecute(com.sap.conn.jco.JCoDestination destination) Delegates call to delegator instance.voidDelegates call to delegator instance.voidDelegates call to delegator instance.com.sap.conn.jco.JCoParameterListDelegates call to delegator instance.Getter for connection parameter.com.sap.conn.jco.JCoFunctionGetter for delegated JCoFunction.com.sap.conn.jco.AbapExceptiongetException(String key) Delegates call to delegator instance.com.sap.conn.jco.AbapException[]Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListDelegates call to delegator instance.com.sap.conn.jco.JCoFunctionTemplateDelegates call to delegator instance.com.sap.conn.jco.JCoParameterListDelegates call to delegator instance.getName()Delegates call to delegator instance.com.sap.conn.jco.JCoParameterListDelegates call to delegator instance.booleanChecks if connection parameters are available.booleanDelegates 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.toXML()Delegates call to delegator instance.
-
Field Details
-
delegate
protected com.sap.conn.jco.JCoFunction delegateDelegator instance. -
connectionParameter
Connection parameters.
-
-
Constructor Details
-
JCoManagedFunction
public JCoManagedFunction(com.sap.conn.jco.JCoFunction delegate, JCoConnectionParameter connectionParameter) Constructor.- Parameters:
delegate- delegate instanceconnectionParameter- connection parameters
-
-
Method Details
-
hasConnectionParameters
public boolean hasConnectionParameters()Checks if connection parameters are available.- Returns:
- true if connection parameter are available.
-
getConnectionParameter
Getter for connection parameter.- Returns:
- connection parameter or null
-
setConnectionParameter
Setter for connection parameter.- Parameters:
connectionParameter- connection parameter
-
execute
public void execute(com.sap.conn.jco.JCoDestination destination, String tid, String queueName) throws com.sap.conn.jco.JCoException Delegates 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, String tid) throws com.sap.conn.jco.JCoException Delegates 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.JCoException Delegates 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
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
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
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()
-