public class PVCChangeDeviceCmdImpl extends ControllerCommandImpl implements PVCChangeDeviceCmd
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. |
defaultCommandClassName, NAME| Constructor and Description |
|---|
PVCChangeDeviceCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
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()
Checks to see if this is a generic command.
|
void |
performExecute()
The business logic for this command.
|
void |
setAddress1(java.lang.String newAddress1)
Sets the address 1.
|
void |
setAddress2(java.lang.String newAddress2)
Sets the address 2.
|
void |
setAddrType1(java.lang.String newAddrType1)
Sets the address type 1.
|
void |
setAddrType2(java.lang.String newAddrType2)
Sets the address type 2.
|
void |
setDeviceFmtId(java.lang.Integer newDeviceFmtId)
Sets the device format ID.
|
void |
setLogonId(java.lang.String newLogonId)
Sets the logon ID.
|
void |
setPassword(java.lang.String newPassword)
Sets the password.
|
void |
setPreferredTimeout(java.lang.Integer newPreferredTimeout)
Sets the preferred timeout value.
|
void |
setProtect(java.lang.Integer newProtect)
Sets the protect.
|
void |
setPvcRegMode(java.lang.String newPvcRegMode)
Sets the PvC registration mode.
|
void |
setPVCSessionId(java.lang.Long newPVCSessionId)
Sets the PvC session ID.
|
void |
setRequestProperties(TypedProperty hshReqParameters)
Extracts parameters from the request, and stored them locally.
|
void |
setURL(java.lang.String newURL)
Sets the redirect URL for this command.
|
void |
setUserId(java.lang.Long newUserId)
Sets the user ID.
|
void |
validateParameters()
Checks the parameters for this command.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String ERRTASK_NAME
viewname called when an error occurs.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()
getUserId in interface ECCommandgetUserId in class AbstractECTargetableCommandpublic boolean isGeneric()
isGeneric in interface ControllerCommandisGeneric in class ControllerCommandImplpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - If an error occurs while processing this method.public void setAddress1(java.lang.String newAddress1)
setAddress1 in interface PVCChangeDeviceCmdnewAddress1 - The address 1.public void setAddress2(java.lang.String newAddress2)
setAddress2 in interface PVCChangeDeviceCmdnewAddress2 - The address 2.public void setAddrType1(java.lang.String newAddrType1)
setAddrType1 in interface PVCChangeDeviceCmdnewAddrType1 - The address type 1.public void setAddrType2(java.lang.String newAddrType2)
setAddrType2 in interface PVCChangeDeviceCmdnewAddrType2 - The address type 2.public void setDeviceFmtId(java.lang.Integer newDeviceFmtId)
newDeviceFmtId - The device format ID.public void setLogonId(java.lang.String newLogonId)
newLogonId - The logon ID.public void setPassword(java.lang.String newPassword)
setPassword in interface PVCChangeDeviceCmdnewPassword - The password.public void setPreferredTimeout(java.lang.Integer newPreferredTimeout)
setPreferredTimeout in interface PVCChangeDeviceCmdnewPreferredTimeout - The preferred timeout value.public void setProtect(java.lang.Integer newProtect)
setProtect in interface PVCChangeDeviceCmdnewProtect - The protect.public void setPvcRegMode(java.lang.String newPvcRegMode)
setPvcRegMode in interface PVCChangeDeviceCmdnewPvcRegMode - The PvC registration mode.public void setPVCSessionId(java.lang.Long newPVCSessionId)
setPVCSessionId in interface PVCChangeDeviceCmdnewPVCSessionId - The PvC session ID.public void setRequestProperties(TypedProperty hshReqParameters) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqProp - The parameters for this command.ECApplicationException - If an error occurs while processing this method.public void setURL(java.lang.String newURL)
setURL in interface PVCChangeDeviceCmdnewURL - The redirect URL.public void setUserId(java.lang.Long newUserId)
setUserId in interface PVCChangeDeviceCmdnewUserId - The user ID.public void validateParameters()
throws ECException
This method checks the following in the list. If an error occured, throws exception.
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - If an error occurs while processing this method.