public class ProductOfferPriceUpdateCmdImpl extends ControllerCommandImpl implements ProductOfferPriceUpdateCmd
ProductOfferPriceUpdate command (see interface for a detailed
description of the ProductOfferPriceUpdate command)| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
java.util.Vector |
iRequestPropertiesVector
A vector containing a request property for each update needed.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ProductOfferPriceUpdateCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doPostProcess(TypedProperty aRequestProperty)
This method performs a verification check after the command executes.
|
boolean |
doPreProcess(TypedProperty aRequestProperty)
This method performs a verification check before the command executes.
|
boolean |
doProcess(TypedProperty aRequestProperty)
This method updates the product offer price based on the request properties.
|
java.lang.Long[] |
getResourceOwners()
This method returns the organization unit reference numbers for all the resources accessed by this command.
|
AccessVector |
getResources()
This method currently performs no operations.
|
boolean |
isReadyToCallExecute()
This method indicates whether the command is ready to execute.
|
boolean |
isReadyToCallExecutePerCommandInstance()
This method indicates whether each command instance is ready to execute.
|
void |
offerPropertySet(OfferAccessBean ab)
This method sets the offer property set
|
void |
performExecute()
This method processes each request property in the iRequestPropertiesVector.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the iRequestPropertiesVector based on the given aRequestProperties.
|
void |
setRequestPropertiesPerCommandInstance(TypedProperty aRequestProperties)
This method sets the command instance variables before processing each item in the
iRequestPropertiesVector.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, 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, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public java.util.Vector iRequestPropertiesVector
public boolean doPostProcess(TypedProperty aRequestProperty)
doPostProcess in interface ProductOfferPriceUpdateCmdaRequestProperty - The request property.ECExceptionpublic boolean doPreProcess(TypedProperty aRequestProperty)
doPreProcess in interface ProductOfferPriceUpdateCmdaRequestProperty - The request property.ECExceptionpublic boolean doProcess(TypedProperty aRequestProperty) throws ECException
doProcess in interface ProductOfferPriceUpdateCmdaRequestProperty - The request propertyRemoteException - Raised whenever a communication related problems occuredFinderEception - Raised whenever a request object is not foundNamingException - Raised whenever a failure to look up the JNDI name occuredCreateException - Raised whenever a failure to create the EJB occuredECExceptionpublic java.lang.Long[] getResourceOwners()
throws ECException
getResourceOwners in interface AccCommandgetResourceOwners in class ControllerCommandImplECExceptionpublic AccessVector getResources() throws ECException
getResources in interface ECCommandgetResources in class AbstractECTargetableCommandECExceptionECCommand#getResources()public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandpublic boolean isReadyToCallExecutePerCommandInstance()
public void offerPropertySet(OfferAccessBean ab) throws ECException
The - offer access bean to set.ECException - Raised with _ERR_OS_INVALID_NUMERIC whenever a NumberFormatException is thrown
Raised with _ERR_OS_INVALID_TIMESTAMP whenever an IllegalArgumentException is thrownpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplaRequestProperty - The request propertypublic void setRequestPropertiesPerCommandInstance(TypedProperty aRequestProperties) throws ECApplicationException
aRequestProperty - The request propertyECApplicationException