java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.pvc.commands.PVCRegistrationCmdImpl
Registers or updates a shopper who uses pervasive computing (PvC) devices for shopping. If the shopper is a guest user,this command executes new registration. If the shopper is already registered, this command updates existing registration.
Behaviour
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this class for logging purposes. |
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. PVCRegistrationCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
PVCRegistrationCmdImpl() |
Method Summary | |
---|---|
TypedProperty |
getReqProp() Get the requestProperties value for this command. |
java.lang.String |
getURL() Get the redirect URL for this command. |
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 |
setReqProp(
TypedProperty newReqProp) Set request properties for the UserRegistration command to be executed internally. |
void |
setRequestProperties(
TypedProperty reqProp) Extracts parameters in the request, and stored them locally. |
void |
setURL(java.lang.String newURL) Set the redirect URL for this command. |
void |
validateParameters() Checks validity of specified parameters. |
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,
getUserId,
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,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public static final java.lang.String ERRTASK_NAME
Constructor Detail |
---|
public PVCRegistrationCmdImpl()
Method Detail |
---|
public TypedProperty getReqProp()
public java.lang.String getURL()
public boolean isGeneric()
isGeneric
in interface
ControllerCommand
isGeneric
in class
ControllerCommandImpl
public boolean isRetriable()
isRetriable
in interface
ControllerCommand
isRetriable
in class
ControllerCommandImpl
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
- If an error occures while processing this method.public void setReqProp(TypedProperty newReqProp)
setReqProp
in interface
PVCRegistrationCmd
newReqProp
- The requestProperties value.public void setRequestProperties(TypedProperty reqProp) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqProp
- The parameters for this command.
ECApplicationException
- If an error occurs while processing this
method.public void setURL(java.lang.String newURL)
setURL
in interface
PVCRegistrationCmd
newURL
- The redirect URL.public void validateParameters() throws ECException
Check to exist the value of the URL parameter.
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
- If an error occurs while checking parameters