public abstract class AttachmentRelationBaseDeleteCmdImpl extends ControllerCommandImpl implements AttachmentRelationBaseDeleteCmd
AttachmentRelationAccessBean
AttachmentRelationDescriptionAccessBean
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 |
|---|
AttachmentRelationBaseDeleteCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getAttachmentRelationId()
Gets the attachment relation ID.
|
java.lang.Integer |
getAttachmentRelationUsageId()
Gets the attachment relation usage ID used in this attachment relation.
|
java.lang.Long |
getAttachmentTargetId()
Gets the attachment target ID used in this attachment relation.
|
java.lang.Boolean |
getDeleteByBusinessObject()
Gets the option to delete all the attachment relations by business object.
|
java.lang.String |
getURL()
Gets the redirect URL.
|
void |
performExecute()
If the attachment relation ID is not given, calls
addAttachmentRelation to create the attachment relation. |
void |
reset()
Resets the variables used.
|
void |
setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
Sets the attachment relation ID.
|
void |
setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
Sets the attachment relation usage ID used in this attachment relation.
|
void |
setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
Sets the attachment target ID used in the attachment relation.
|
void |
setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
Sets the option to delete all the attachment relations by business object.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
void |
validateParameters()
Validate the parameters.
|
checkPermission, 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, getResources, 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, waitcheckPermission, 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, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute()
throws ECException
addAttachmentRelation to create the attachment relation.
Calls addAttachmentRelationDescriptions to create the attachment relation descriptions.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic java.lang.Long getAttachmentRelationId()
getAttachmentRelationId in interface AttachmentRelationBaseDeleteCmdpublic java.lang.Integer getAttachmentRelationUsageId()
getAttachmentRelationUsageId in interface AttachmentRelationBaseDeleteCmdpublic java.lang.Long getAttachmentTargetId()
getAttachmentTargetId in interface AttachmentRelationBaseDeleteCmdpublic java.lang.String getURL()
getURL in interface AttachmentRelationBaseDeleteCmdpublic java.lang.Boolean getDeleteByBusinessObject()
getDeleteByBusinessObject in interface AttachmentRelationBaseDeleteCmdpublic void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
setAttachmentRelationId in interface AttachmentRelationBaseDeleteCmdanAttachmentRelationId - The attachment relation IDpublic void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
setAttachmentRelationUsageId in interface AttachmentRelationBaseDeleteCmdanAttachmentRelationUsageId - The attachment relation usagepublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId in interface AttachmentRelationBaseDeleteCmdanAttachmentTargetId - The attachment target IDpublic void setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
setDeleteByBusinessObject in interface AttachmentRelationBaseDeleteCmdaboolDeleteByBusinessObject - option to delete attachment relation by business objectpublic void setURL(java.lang.String astrURL)
setURL in interface AttachmentRelationBaseDeleteCmdastrURL - The redirect URLpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - The request propertiesECApplicationExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException