public class CatalogAttachmentDeleteCmdImpl extends AttachmentRelationBaseDeleteCmdImpl implements CatalogAttachmentDeleteCmd
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 |
|---|
CatalogAttachmentDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatalogId()
Gets the Catalog ID.
|
java.lang.String |
getIdentifier()
Gets the Catalog identifier.
|
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 |
setCatalogId(java.lang.Long anCatalogId)
Sets the Catalog ID.
|
void |
setIdentifier(java.lang.String astrIdentifier)
Sets the Catalog identifier.
|
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 java.lang.Long getCatalogId()
getCatalogId in interface CatalogAttachmentDeleteCmdpublic java.lang.String getIdentifier()
getIdentifier in interface CatalogAttachmentDeleteCmdpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface CatalogAttachmentDeleteCmdanCatalogId - the Catalog ID.public void setIdentifier(java.lang.String astrIdentifier)
setIdentifier in interface CatalogAttachmentDeleteCmdastrIdentifier - the Catalog identifier.public 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