public class StoredProcedureRequestImpl extends org.apache.directory.api.ldap.model.message.AbstractExtendedRequest implements StoredProcedureRequest
EXTENSION_OID| Constructor and Description |
|---|
StoredProcedureRequestImpl()
Instantiates a new stored procedure request.
|
StoredProcedureRequestImpl(int messageId)
Instantiates a new stored procedure request.
|
StoredProcedureRequestImpl(int messageId,
String procedure,
String language)
Instantiates a new stored procedure request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(Object type,
Object value)
Adds the parameter.
|
void |
addParameter(StoredProcedureParameter parameter) |
Class<?> |
getJavaParameterType(int index)
Gets the java parameter type.
|
Object |
getJavaParameterValue(int index)
Gets the java parameter value.
|
String |
getLanguage()
Gets the language.
|
List<StoredProcedureParameter> |
getParameters() |
Object |
getParameterType(int index)
Gets the parameter type.
|
Object |
getParameterTypeString(int index) |
Object |
getParameterValue(int index)
Gets the parameter value.
|
Object |
getParameterValueString(int index) |
byte[] |
getProcedure() |
String |
getProcedureSpecification()
Gets the procedure specification.
|
StoredProcedureResponse |
getResultResponse() |
void |
setLanguage(String language)
Sets the language.
|
void |
setProcedure(byte[] procedure) |
void |
setProcedure(String procedure) |
int |
size()
Size.
|
addAllControls, addControl, equals, getRequestName, getResponseType, hashCode, removeControl, setMessageId, setRequestName, toStringhasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamepublic StoredProcedureRequestImpl(int messageId)
messageId - the message idpublic StoredProcedureRequestImpl()
public String getLanguage()
getLanguage in interface StoredProcedureRequestpublic void setLanguage(String language)
setLanguage in interface StoredProcedureRequestlanguage - the new languagepublic byte[] getProcedure()
getProcedure in interface StoredProcedureRequestpublic void setProcedure(byte[] procedure)
setProcedure in interface StoredProcedureRequestprocedure - The procedure's bytecodepublic List<StoredProcedureParameter> getParameters()
getParameters in interface StoredProcedureRequestpublic void addParameter(StoredProcedureParameter parameter)
addParameter in interface StoredProcedureRequestpublic void setProcedure(String procedure)
public String getProcedureSpecification()
getProcedureSpecification in interface StoredProcedureRequestpublic int size()
size in interface StoredProcedureRequestpublic Object getParameterType(int index)
getParameterType in interface StoredProcedureRequestindex - the indexpublic Object getParameterTypeString(int index)
public Class<?> getJavaParameterType(int index)
getJavaParameterType in interface StoredProcedureRequestindex - the indexpublic Object getParameterValue(int index)
getParameterValue in interface StoredProcedureRequestindex - the indexpublic Object getParameterValueString(int index)
public Object getJavaParameterValue(int index)
getJavaParameterValue in interface StoredProcedureRequestindex - the indexpublic void addParameter(Object type, Object value)
addParameter in interface StoredProcedureRequesttype - the typevalue - the valuepublic StoredProcedureResponse getResultResponse()
getResultResponse in interface org.apache.directory.api.ldap.model.message.ResultResponseRequestgetResultResponse in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequestCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.