public class CatalogAttachmentDeleteCmdImpl extends AttachmentRelationBaseDeleteCmdImpl implements CatalogAttachmentDeleteCmd
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 |
---|
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, 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 java.lang.Long getCatalogId()
getCatalogId
in interface CatalogAttachmentDeleteCmd
public java.lang.String getIdentifier()
getIdentifier
in interface CatalogAttachmentDeleteCmd
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface CatalogAttachmentDeleteCmd
anCatalogId
- the Catalog ID.public void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface CatalogAttachmentDeleteCmd
astrIdentifier
- 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 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