public class ManagedFileDeleteCmdImpl extends ControllerCommandImpl implements ManagedFileDeleteCmd
ManagedFileDeleteCmd
.
Name | Description |
---|---|
managedFileId |
The array of managed file identifiers. Mandatory. |
Name | Description |
---|---|
managedFileId |
The array of managed file identifiers. Optional. If it is not specified, the file name and file path should both be specified. |
fileName |
The array of managed file names. Optional. |
filePath |
The array of managed file paths. Optional. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
CLASSNAME, defaultCommandClassName
Constructor and Description |
---|
ManagedFileDeleteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method performs the main logic of this command.
|
void |
reset()
This method resets the variables used.
|
void |
setFileId(java.lang.String[] aarrFileId)
This method sets the file identifier.
|
void |
setRequestProperties(TypedProperty reqParms)
This method sets the request properties.
|
void |
validateParameters()
This method validates the input parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, 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, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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
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, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public 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
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- If the file id is not set, it checks whether the file name and path are specified,
if not, it throws an exception. If the specified file name and file path are not existing in system,
it also thrown an exception.public void setRequestProperties(TypedProperty reqParms) throws ECException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- The request propertiesECException
public void setFileId(java.lang.String[] aarrFileId)
setFileId
in interface ManagedFileDeleteCmd
aarrFileId
- The file identifier.