public class PdkMethodContext
extends java.lang.Object
Constructor and Description |
---|
PdkMethodContext(PdkWsCommon endPoint,
PdkApi pdkApi,
PdkMethod method,
java.lang.String userName,
java.lang.String pwd,
java.lang.String ipAdress,
java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
void |
abort()
Convenience method for invoking getMethodResult().abort()
|
boolean |
doRuleCheck() |
java.lang.String |
getClientIpAdress()
Yes
|
JdbcConnection |
getErrDBC()
Get database connection to perform transactions in a "logging" transaction context
|
boolean |
getForceRollback()
TODO: This method is questionable: Status ERROR signifies "rollback" - other situations need to be explored
|
java.lang.String |
getGistoolsVersion() |
PdkMethod |
getMethod()
Which Pdk method is actually invoked?
|
java.lang.String |
getMethodName()
What is the Pdk3 name of the soap method currently invoked?
|
PdkMethodResult |
getMethodResult()
Get the result created by the PdkMethod in question
|
java.lang.String |
getPassword()
Get the password-arg
|
PdkApi |
getPdkApi() |
java.lang.String |
getPdkBuild() |
java.lang.String |
getPdkVersion() |
java.lang.String |
getSignature()
What is the "memnotic" signature of the Pdk method currently invoked?
|
User |
getUser()
Get the authenticated User member.
|
java.lang.String |
getUserName()
Get the user-arg
|
JdbcConnection |
getWorkDBC()
Get database connection to perform transactions in a "work" transaction context
|
void |
invokeMethod()
Perform the SOAP method invocation - PdkMethodInvocer.invoke().
This method performs all the trivial logic "surrounding" a SOAP method invocation, such as user authentification and proper exception handling. |
boolean |
isAuthenticate()
Get the authentication behavior of this method invocation
|
void |
setArgs(java.lang.String... args)
Set "memnotic" arguments
|
void |
setAuthenticate(boolean doAuth)
By default all SOAP method invocations are performed with user authentication.
This method allows for this behavior to be overridden. |
void |
setForceRollback()
TODO: This method is questionable: Status ERROR signifies "rollback" - other situations need to be explored
|
void |
setInvoker(PdkMethodInvoker inv)
Set the PdkMethodInvoker implementation to perform the SOAP method logic of this invocation
|
void |
setUser(User user)
Set the authenticated User member
|
public PdkMethodContext(PdkWsCommon endPoint, PdkApi pdkApi, PdkMethod method, java.lang.String userName, java.lang.String pwd, java.lang.String ipAdress, java.lang.String url) throws java.lang.Exception
java.lang.Exception
public void setAuthenticate(boolean doAuth)
doAuth
- Yes. Do it or not.public boolean isAuthenticate()
public void setArgs(java.lang.String... args)
public PdkMethod getMethod()
public java.lang.String getMethodName()
public java.lang.String getSignature()
public void setInvoker(PdkMethodInvoker inv)
public java.lang.String getClientIpAdress()
public java.lang.String getUserName()
public java.lang.String getPassword()
public void setUser(User user)
public User getUser()
public PdkApi getPdkApi()
public void abort()
public JdbcConnection getWorkDBC() throws java.lang.Exception
java.lang.Exception
public JdbcConnection getErrDBC() throws java.lang.Exception
java.lang.Exception
public void setForceRollback()
public boolean getForceRollback()
public PdkMethodResult getMethodResult()
public java.lang.String getPdkVersion()
public java.lang.String getPdkBuild()
public java.lang.String getGistoolsVersion()
public boolean doRuleCheck()
public void invokeMethod() throws java.lang.Exception
java.lang.Exception