java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.pvc.commands.PVCChangeDeviceCmdImpl
Cancel existing relationship between a user and a pervasive computing (PvC) device in PVCBINDING table. This command is required when registrationMode in XML configuration file is 2. If a user has a record in PVCBINDING table, the user can not use any devices for Logon other than a device registerd in PVCBINDING table. To change a device used for Logon, the user needs to executes PVCCahngeDevice command.
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.PVCChangeDeviceCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
PVCChangeDeviceCmdImpl() |
Method Summary | |
java.lang.String | getAddress1() Get the address 1. |
java.lang.String | getAddress2() Get the address 2. |
java.lang.String | getAddrType1() Get the address type 1. |
java.lang.String | getAddrType2() Get the address type 2. |
java.lang.Integer | getDeviceFmtId() Get the device format ID |
java.lang.String | getLogonId() Get the logon ID. |
java.lang.String | getPassword() Get the password. |
java.lang.Integer | getPreferredTimeout() Get the preferred timeout value. |
java.lang.Integer | getProtect() Get the protect. |
java.lang.String | getPvcRegMode() Get the PvC registration mode. |
java.lang.Long | getPVCSessionId() Get the PVC session ID |
java.lang.String | getURL() Get the redirect URL for this 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 | setAddress1(java.lang.String newAddress1) Set the address 1. |
void | setAddress2(java.lang.String newAddress2) Set the address 2. |
void | setAddrType1(java.lang.String newAddrType1) Set the address type 1. |
void | setAddrType2(java.lang.String newAddrType2) Set the address type2. |
void | setDeviceFmtId(java.lang.Integer newDeviceFmtId) Set the device format ID. |
void | setLogonId(java.lang.String newLogonId) Set the logon ID. |
void | setPassword(java.lang.String newPassword) Set the password. |
void | setPreferredTimeout(java.lang.Integer newPreferredTimeout) Set the preferred timeout value. |
void | setProtect(java.lang.Integer newProtect) Set the protect. |
void | setPvcRegMode(java.lang.String newPvcRegMode) Set the PvC registration mode. |
void | setPVCSessionId(java.lang.Long newPVCSessionId) Set the PvC session ID. |
void | setRequestProperties(TypedProperty hshReqParameters) Extracts parameters from the request, and stored them locally. |
void | setURL(java.lang.String newURL) Set the redirect URL for this command. |
void | setUserId(java.lang.Long newUserId) Set the user ID. |
protected void | updateCmdContext() |
void | validateParameters() Check the parameters for 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 PVCChangeDeviceCmdImpl()
Method Detail |
public java.lang.String getAddress1()
public java.lang.String getAddress2()
public java.lang.String getAddrType1()
public java.lang.String getAddrType2()
public java.lang.Integer getDeviceFmtId()
public java.lang.String getLogonId()
public java.lang.String getPassword()
public java.lang.Integer getPreferredTimeout()
public java.lang.Integer getProtect()
public java.lang.String getPvcRegMode()
public java.lang.Long getPVCSessionId()
public java.lang.String getURL()
public java.lang.Long getUserId()
public boolean isGeneric()
public boolean isRetriable()
public void performExecute() throws ECException
public void setAddress1(java.lang.String newAddress1)
public void setAddress2(java.lang.String newAddress2)
public void setAddrType1(java.lang.String newAddrType1)
public void setAddrType2(java.lang.String newAddrType2)
public void setDeviceFmtId(java.lang.Integer newDeviceFmtId)
public void setLogonId(java.lang.String newLogonId)
public void setPassword(java.lang.String newPassword)
public void setPreferredTimeout(java.lang.Integer newPreferredTimeout)
public void setProtect(java.lang.Integer newProtect)
public void setPvcRegMode(java.lang.String newPvcRegMode)
public void setPVCSessionId(java.lang.Long newPVCSessionId)
public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
public void setURL(java.lang.String newURL)
public void setUserId(java.lang.Long newUserId)
protected void updateCmdContext() throws ECException
public void validateParameters() throws ECException
This method checks the following in the list. If an error occured, throws exception.
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.