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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.util.Vector iRequestPropertiesVector
public boolean doPostProcess(TypedProperty aRequestProperty)
doPostProcess
in interface ProductOfferPriceUpdateCmd
aRequestProperty
- The request property.ECException
public boolean doPreProcess(TypedProperty aRequestProperty)
doPreProcess
in interface ProductOfferPriceUpdateCmd
aRequestProperty
- The request property.ECException
public boolean doProcess(TypedProperty aRequestProperty) throws ECException
doProcess
in interface ProductOfferPriceUpdateCmd
aRequestProperty
- 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 occuredECException
public java.lang.Long[] getResourceOwners() throws ECException
getResourceOwners
in interface AccCommand
getResourceOwners
in class ControllerCommandImpl
ECException
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
ECException
ECCommand#getResources()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public 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 ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperty
- The request propertypublic void setRequestPropertiesPerCommandInstance(TypedProperty aRequestProperties) throws ECApplicationException
aRequestProperty
- The request propertyECApplicationException