public class CatalogEntryAttachmentDeleteCmdImpl extends AttachmentRelationBaseDeleteCmdImpl implements CatalogEntryAttachmentDeleteCmd
AttachmentRelationAccessBean
DeleteAttachmentRelationCmd
AttachmentRelationHelper
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, setURL
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, 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
getAttachmentRelationId, getAttachmentRelationUsageId, getAttachmentTargetId, getDeleteByBusinessObject, getURL, setAttachmentRelationId, setAttachmentRelationUsageId, setAttachmentTargetId, setDeleteByBusinessObject, setURL
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, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void setCatentryId(java.lang.Long anCatalogEntryId)
setCatentryId
in interface CatalogEntryAttachmentDeleteCmd
anCatalogEntryId
- The Catalog Entry IDpublic void setPartnumber(java.lang.String astrPartnumber)
setPartnumber
in interface CatalogEntryAttachmentDeleteCmd
astrPartnumber
- The part number of the Catalog Entrypublic java.lang.Long getCatentryId()
getCatentryId
in interface CatalogEntryAttachmentDeleteCmd
public java.lang.String getPartnumber()
getPartnumber
in interface CatalogEntryAttachmentDeleteCmd
public void performExecute() throws ECException
performExecute
method from the parent to delete the attachment relation. Then, set the response properties.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AttachmentRelationBaseDeleteCmdImpl
ECException
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class AttachmentRelationBaseDeleteCmdImpl
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AttachmentRelationBaseDeleteCmdImpl
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AttachmentRelationBaseDeleteCmdImpl
public AccessVector getResources() throws ECException
CatalogEntryAccessBean
.
which is the owner of the attachment relation.getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
CatalogEntryAccessBean
.ECException