public class ValidateComponentsForPackageCmdImpl extends TaskCommandImpl implements ValidateComponentsCmd
ValidateComponentsCmd
task command validates components for package only.
This is suitable for the scenarios that dynamic kit components are not maintained in CATENTREL table.
This command is invoked by CheckInventoryAvailabilityCmd
,
if validation fails, inventory operations are skipped.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this class.
|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ValidateComponentsForPackageCmdImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
The method returns validation result of this command.
|
void |
performExecute()
This method performs the main business logic.
|
void |
reset()
This method resets instance variables.
|
void |
setParentCatEntryId(java.lang.Long parentCatEntryId)
The method sets parent CatEntry id.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
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, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public boolean isValid()
isValid
in interface ValidateComponentsCmd
public void setParentCatEntryId(java.lang.Long parentCatEntryId)
setParentCatEntryId
in interface ValidateComponentsCmd
parentCatEntryId
- Id of the parent CatEntry whose components are to be validatedpublic void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand