public class CatalogEntryAttachmentDeleteCmdImpl extends AttachmentRelationBaseDeleteCmdImpl implements CatalogEntryAttachmentDeleteCmd
AttachmentRelationAccessBean
DeleteAttachmentRelationCmdAttachmentRelationHelper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
CatalogEntryAttachmentDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatentryId()
Gets the Catalog Entry ID.
|
java.lang.String |
getPartnumber()
Gets the part number of the catalog entry.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
void |
performExecute()
Call the
performExecute method from the parent to delete the attachment relation. |
void |
reset()
Resets the variables used.
|
void |
setCatentryId(java.lang.Long anCatalogEntryId)
Sets the Catalog Entry ID.
|
void |
setPartnumber(java.lang.String astrPartnumber)
Sets the part number of the catalog entry.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
validateParameters()
Validates the input parameters.
|
getAttachmentRelationId, getAttachmentRelationUsageId, getAttachmentTargetId, getDeleteByBusinessObject, getURL, setAttachmentRelationId, setAttachmentRelationUsageId, setAttachmentTargetId, setDeleteByBusinessObject, setURLcheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, 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, waitgetAttachmentRelationId, getAttachmentRelationUsageId, getAttachmentTargetId, getDeleteByBusinessObject, getURL, setAttachmentRelationId, setAttachmentRelationUsageId, setAttachmentTargetId, setDeleteByBusinessObject, setURLcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void setCatentryId(java.lang.Long anCatalogEntryId)
setCatentryId in interface CatalogEntryAttachmentDeleteCmdanCatalogEntryId - The Catalog Entry IDpublic void setPartnumber(java.lang.String astrPartnumber)
setPartnumber in interface CatalogEntryAttachmentDeleteCmdastrPartnumber - The part number of the Catalog Entrypublic java.lang.Long getCatentryId()
getCatentryId in interface CatalogEntryAttachmentDeleteCmdpublic java.lang.String getPartnumber()
getPartnumber in interface CatalogEntryAttachmentDeleteCmdpublic void performExecute()
throws ECException
performExecute method from the parent to delete the attachment relation. Then, set the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AttachmentRelationBaseDeleteCmdImplECExceptionpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class AttachmentRelationBaseDeleteCmdImplreqParms - The request propertiesECApplicationExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AttachmentRelationBaseDeleteCmdImplECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AttachmentRelationBaseDeleteCmdImplpublic AccessVector getResources() throws ECException
CatalogEntryAccessBean.
which is the owner of the attachment relation.getResources in interface ECCommandgetResources in class AbstractECTargetableCommandCatalogEntryAccessBean.ECException