public class AddAttachmentRelationCmdImpl extends TaskCommandImpl implements AddAttachmentRelationCmd
AttachmentRelationAccessBean
StoreEntityAccessBean
AttachmentRelationHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
Constructor and Description |
---|
AddAttachmentRelationCmdImpl() |
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 new 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.String |
getObjectId()
Gets the primary key, in the form of a string, of the business object that owns this attachment relation.
|
java.lang.Double |
getSequence()
Gets the sequence of the attachment relation.
|
void |
performExecute()
Main execution for
AddAttachmentRelation |
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 |
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 |
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 |
setSequence(java.lang.Double adSequence)
Sets the sequence of the attachment relation.
|
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.Double getSequence()
getSequence
in interface AddAttachmentRelationCmd
public java.lang.Integer getAttachmentObjectTypeId()
getAttachmentObjectTypeId
in interface AddAttachmentRelationCmd
public java.lang.Long getAttachmentRelationId()
getAttachmentRelationId
in interface AddAttachmentRelationCmd
public java.lang.Integer getAttachmentRelationUsageId()
getAttachmentRelationUsageId
in interface AddAttachmentRelationCmd
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface AddAttachmentRelationCmd
public java.lang.String getObjectId()
getObjectId
in interface AddAttachmentRelationCmd
public void performExecute() throws ECException
AddAttachmentRelation
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 setSequence(java.lang.Double adSequence)
setSequence
in interface AddAttachmentRelationCmd
adSequence
- The sequence of the attachment relationpublic void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
setAttachmentObjectTypeId
in interface AddAttachmentRelationCmd
anAttachmentObjectTypeId
- The attachment object type IDpublic void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
setAttachmentRelationUsageId
in interface AddAttachmentRelationCmd
anAttachmentRelationUsageId
- The attachment relation usagepublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId
in interface AddAttachmentRelationCmd
anAttachmentTargetId
- The attachment target IDpublic void setObjectId(java.lang.String astrObjectId)
setObjectId
in interface AddAttachmentRelationCmd
astrObjectId
- public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface AddAttachmentRelationCmd
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException