java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.pvc.commands.PVCBufferUrlCmdImpl
Buffers parameters in the request and executes target command with buffered parameters. This command is provided for cecular phones which have limitation in length of HTTP request header. The command enables to input long value of parameters by buffering parameters in database.
Behaviour
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field |
static java.lang.String | ERRTASK_NAME The viewname called when an error occurs. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.pvc.commands.PVCBufferUrlCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
PVCBufferUrlCmdImpl() |
Method Summary | |
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. |
boolean | isRetriable() Check to see if this command is retriable on transaction rollback exception. |
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 paramter. |
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 valicidy of parameters sent to this command. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
Constructor Detail |
public PVCBufferUrlCmdImpl()
Method Detail |
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 boolean isRetriable()
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 occures the method throws ECException.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.