public class DeleteAttachmentRelationCmdImpl extends TaskCommandImpl implements DeleteAttachmentRelationCmd
AttachmentRelationAccessBean
StoreEntityAccessBean
AttachmentRelationHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
Constructor and Description |
---|
DeleteAttachmentRelationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAttachmentObjectTypeId()
Gets the attachment object type ID of the business object that owns the attachment relation.
|
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 |
getObjectId()
Gets the primary key, in the form of a string, of the business object that owns this attachment relation.
|
void |
performExecute()
Main execution for
DeleteAttachmentRelation |
void |
reset()
Resets all the parameters
|
void |
setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
Sets the attachment object type ID of the business object that owns this attachment relation.
|
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 |
setObjectId(java.lang.String astrObjectId)
Sets the primary key, in the form of a string, of the business object that owns this attachment relation.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
validateParameters()
Validates the parameters.
|
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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String CLASSNAME
public java.lang.Long getAttachmentRelationId()
getAttachmentRelationId
in interface DeleteAttachmentRelationCmd
public java.lang.Integer getAttachmentObjectTypeId()
getAttachmentObjectTypeId
in interface DeleteAttachmentRelationCmd
public java.lang.Integer getAttachmentRelationUsageId()
getAttachmentRelationUsageId
in interface DeleteAttachmentRelationCmd
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface DeleteAttachmentRelationCmd
public java.lang.String getObjectId()
getObjectId
in interface DeleteAttachmentRelationCmd
public java.lang.Boolean getDeleteByBusinessObject()
getDeleteByBusinessObject
in interface DeleteAttachmentRelationCmd
public void performExecute() throws ECException
DeleteAttachmentRelation
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setAttachmentRelationId(java.lang.Long anAttachmentRelationId)
setAttachmentRelationId
in interface DeleteAttachmentRelationCmd
anAttachmentRelationId
- The attachment relation IDpublic void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
setAttachmentObjectTypeId
in interface DeleteAttachmentRelationCmd
anAttachmentObjectTypeId
- The attachment object type IDpublic void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
setAttachmentRelationUsageId
in interface DeleteAttachmentRelationCmd
anAttachmentRelationUsageId
- The attachment relation usagepublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId
in interface DeleteAttachmentRelationCmd
anAttachmentTargetId
- The attachment target IDpublic void setObjectId(java.lang.String astrObjectId)
setObjectId
in interface DeleteAttachmentRelationCmd
astrObjectId
- public void setDeleteByBusinessObject(java.lang.Boolean aboolDeleteByBusinessObject)
setDeleteByBusinessObject
in interface DeleteAttachmentRelationCmd
aboolDeleteByBusinessObject
- Option to delete attachment relations by business objectpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface DeleteAttachmentRelationCmd
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException