public class ResolveSkuCmdImpl extends TaskCommandImpl implements ResolveSkuCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
ResolveSkuCmdImpl()
No value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getItemId()
Returns the ItemId that represents the primary key of the resolved Item
|
java.lang.Long |
getItemSpecId()
Returns the ItemSpecId that represents the ItemSpecification identifier for the resolved Item.
|
boolean |
isReadyToCallExecute()
This method is called by the targetable command framework.
|
void |
performExecute()
This method performs the business logic for this command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
Sets the hashtable that represents the Attribute names and values that will be used to perform the Item resolution.
|
void |
setProductId(java.lang.Long anProductNumber)
Sets the ProductId that represents the primary key of the CatalogEntry that is to be resolved,
|
void |
validateParameters()
This method performs server side parameter checking.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, 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, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public java.lang.Long getItemId()
getItemId in interface ResolveSkuCmdpublic java.lang.Long getItemSpecId()
getItemSpecId in interface ResolveSkuCmdpublic boolean isReadyToCallExecute()
AbstractECTargetableCommandtrue.isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AbstractECTargetableCommandboolean value; true if we can execute the
command and false otherwise. This default implementation will return true.public void performExecute()
throws ECException
AbstractECTargetableCommandperformExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
setAttributeNVPs in interface ResolveSkuCmdahshAttrNVPs - java.util.Hashtable The Hash table of attribute names and values.public void setProductId(java.lang.Long anProductNumber)
setProductId in interface ResolveSkuCmdanProductId - java.lang.Long The product ID.public void validateParameters()
throws ECException
AbstractECTargetableCommandcheckParameters() method from version 5.1.
The default implementation of validateParameters() is a no op.
It is the responsibility of the command writers to implement this method if they want to perform
server side parameter checking.validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException