public class CatalogGroupAttachmentDeleteCmdImpl extends AttachmentRelationBaseDeleteCmdImpl implements CatalogGroupAttachmentDeleteCmd
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 |
---|
CatalogGroupAttachmentDeleteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatgroupId()
Get the catalog group ID
|
java.lang.String |
getIdentifier()
Get the identifier for the catalog group
|
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 |
setCatgroupId(java.lang.Long anCatgroupId)
Set catalog group ID
|
void |
setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog group
|
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 getCatgroupId()
getCatgroupId
in interface CatalogGroupAttachmentDeleteCmd
public java.lang.String getIdentifier()
getIdentifier
in interface CatalogGroupAttachmentDeleteCmd
public void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId
in interface CatalogGroupAttachmentDeleteCmd
anCatgroupId
- java.lang.Longpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface CatalogGroupAttachmentDeleteCmd
astrIdentifier
- java.lang.Stringpublic 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