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, setDefaultProperties
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public java.lang.Long getItemId()
getItemId
in interface ResolveSkuCmd
public java.lang.Long getItemSpecId()
getItemSpecId
in interface ResolveSkuCmd
public boolean isReadyToCallExecute()
AbstractECTargetableCommand
true
.isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
boolean
value; true
if we can execute the
command and false
otherwise. This default implementation will return true
.public void performExecute() throws ECException
AbstractECTargetableCommand
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAttributeNVPs(java.util.Hashtable ahshAttrNVPs)
setAttributeNVPs
in interface ResolveSkuCmd
ahshAttrNVPs
- java.util.Hashtable The Hash table of attribute names and values.public void setProductId(java.lang.Long anProductNumber)
setProductId
in interface ResolveSkuCmd
anProductId
- java.lang.Long The product ID.public void validateParameters() throws ECException
AbstractECTargetableCommand
checkParameters()
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 ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException