public class PVCBufferUrlCmdImpl extends ControllerCommandImpl implements PVCBufferUrlCmd
Behaviour
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
static java.lang.String | ERRTASK_NAME
The viewname called when an error occurs.
|
Constructor and Description |
---|
PVCBufferUrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | buildParameters(java.lang.String bufParams, java.lang.String inParams)
Merges parameters stored in PVCBUFFER.PARAMETERS2K and parameters sent to the command.
|
java.lang.String | changeReqPropToString(TypedProperty reqProp)
Convert name and value pairs in TypedProperty object to string format.
|
TypedProperty | changeStringToReqProp(java.lang.String strParm)
Convert parameter string to TypedProperty object.
|
boolean | checkTimeout(java.sql.Timestamp now, java.sql.Timestamp create)
Check if data in buffer has expired.
|
PVCAdapter | getAdapter()
Get PVC adapter set in command context.
|
java.lang.String | getB_exec()
Get the value of the b_exec parameter.
|
java.lang.String | getB_new()
Get the value of the b_new parameter.
|
java.lang.String | getB_update()
Get the value of the b_update parameter.
|
java.lang.String | getErrUrl()
Get the redirect view name, if an error occurs while processing this command.
|
java.lang.String | getNo()
Get the string of b_no parameter value.
|
java.lang.String[] | getNoArray()
Get the string array of the b_no parameters string.
|
java.lang.String | getParameters()
Set the parameters string.
|
java.lang.String | getPostUrl()
Get the redirect URL of this command.
|
long | getTimeout()
Get the buffer timeout value.
|
java.lang.String | getUrl()
Get the URL of the target command.
|
java.lang.Long | getUserId()
Get the user ID.
|
boolean | isGeneric()
Check to see if this is a generic command.
|
void | performExecute()
The business logic for this command.
|
void | setAdapter(PVCAdapter newAdapter)
Set the PVC adapter object.
|
void | setB_exec(java.lang.String newB_exec)
Set the value of the b_exec parameter.
|
void | setB_new(java.lang.String newB_new)
Set the value of the b_new parameter.
|
void | setB_update(java.lang.String newB_update)
Set the value of the b_update parameter.
|
void | setErrUrl(java.lang.String newErrUrl)
Set the redirect view name.
|
void | setNo(java.lang.String newNo)
Set the string of b_no parameter value.
|
void | setParameters(java.lang.String newParameters)
Set the parameters string.
|
void | setPostUrl(java.lang.String newPostUrl)
Set the redirect URL of this command.
|
void | setRequestProperties(TypedProperty hshReqParameters)
Extracts parameter from request properties.
|
void | setTimeout(long newTimeout)
Set the buffer timeout value.
|
void | setUrl(java.lang.String newUrl)
Set the redirect URL of the targetale command.
|
void | setUserId(java.lang.Long newUserId)
Set the user ID.
|
void | validateParameters()
Check validity of parameters sent to this command.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
public java.lang.String buildParameters(java.lang.String bufParams, java.lang.String inParams)
public java.lang.String changeReqPropToString(TypedProperty reqProp)
public TypedProperty changeStringToReqProp(java.lang.String strParm)
public boolean checkTimeout(java.sql.Timestamp now, java.sql.Timestamp create)
public PVCAdapter getAdapter()
public java.lang.String getB_exec()
public java.lang.String getB_new()
public java.lang.String getB_update()
public java.lang.String getErrUrl()
public java.lang.String getNo()
public java.lang.String[] getNoArray()
public java.lang.String getParameters()
public java.lang.String getPostUrl()
public long getTimeout()
public java.lang.String getUrl()
public java.lang.Long getUserId()
public boolean isGeneric()
public void performExecute() throws ECException
public void setAdapter(PVCAdapter newAdapter)
public void setB_exec(java.lang.String newB_exec)
public void setB_new(java.lang.String newB_new)
public void setB_update(java.lang.String newB_update)
public void setErrUrl(java.lang.String newErrUrl)
public void setNo(java.lang.String newNo)
public void setParameters(java.lang.String newParameters)
public void setPostUrl(java.lang.String newPostUrl)
public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
public void setTimeout(long newTimeout)
public void setUrl(java.lang.String newUrl)
public void setUserId(java.lang.Long newUserId)
public void validateParameters() throws ECException
This method does following checks. If an error occurs the method throws ECException.