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, 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, 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, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public boolean isValid()
isValid in interface ValidateComponentsCmdpublic void setParentCatEntryId(java.lang.Long parentCatEntryId)
setParentCatEntryId in interface ValidateComponentsCmdparentCatEntryId - Id of the parent CatEntry whose components are to be validatedpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommand