public abstract class AttachmentRelationBaseDeleteCmdImpl extends ControllerCommandImpl implements AttachmentRelationBaseDeleteCmd
AttachmentRelationAccessBean
AttachmentRelationDescriptionAccessBean
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 |
---|
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, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, 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
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, getResources, 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 performExecute() throws ECException
addAttachmentRelation
to create the attachment relation.
Calls addAttachmentRelationDescriptions
to create the attachment relation descriptions.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public java.lang.Long getAttachmentRelationId()
getAttachmentRelationId
in interface AttachmentRelationBaseDeleteCmd
public java.lang.Integer getAttachmentRelationUsageId()
getAttachmentRelationUsageId
in interface AttachmentRelationBaseDeleteCmd
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface AttachmentRelationBaseDeleteCmd
public java.lang.String getURL()
getURL
in interface AttachmentRelationBaseDeleteCmd
public java.lang.Boolean getDeleteByBusinessObject()
getDeleteByBusinessObject
in interface AttachmentRelationBaseDeleteCmd
public void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
setAttachmentRelationId
in interface AttachmentRelationBaseDeleteCmd
anAttachmentRelationId
- The attachment relation IDpublic void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
setAttachmentRelationUsageId
in interface AttachmentRelationBaseDeleteCmd
anAttachmentRelationUsageId
- The attachment relation usagepublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId
in interface AttachmentRelationBaseDeleteCmd
anAttachmentTargetId
- The attachment target IDpublic void setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
setDeleteByBusinessObject
in interface AttachmentRelationBaseDeleteCmd
aboolDeleteByBusinessObject
- option to delete attachment relation by business objectpublic void setURL(java.lang.String astrURL)
setURL
in interface AttachmentRelationBaseDeleteCmd
astrURL
- The redirect URLpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- The request propertiesECApplicationException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException