public class UpdateAttachmentRelationCmdImpl extends TaskCommandImpl implements UpdateAttachmentRelationCmd
AttachmentRelationAccessBean
StoreEntityAccessBean
AttachmentRelationHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
Constructor and Description |
---|
UpdateAttachmentRelationCmdImpl() |
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
UpdateAttachmentRelation |
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 |
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.Integer getAttachmentObjectTypeId()
getAttachmentObjectTypeId
in interface UpdateAttachmentRelationCmd
public java.lang.Long getAttachmentRelationId()
getAttachmentRelationId
in interface UpdateAttachmentRelationCmd
public java.lang.Integer getAttachmentRelationUsageId()
getAttachmentRelationUsageId
in interface UpdateAttachmentRelationCmd
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface UpdateAttachmentRelationCmd
public java.lang.String getObjectId()
getObjectId
in interface UpdateAttachmentRelationCmd
public java.lang.Double getSequence()
getSequence
in interface UpdateAttachmentRelationCmd
public void performExecute() throws ECException
UpdateAttachmentRelation
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 UpdateAttachmentRelationCmd
anAttachmentRelationId
- The attachment relation IDpublic void setAttachmentObjectTypeId(java.lang.Integer anAttachmentObjectTypeId)
setAttachmentObjectTypeId
in interface UpdateAttachmentRelationCmd
anAttachmentObjectTypeId
- The attachment object type IDpublic void setAttachmentRelationUsageId(java.lang.Integer anAttachmentRelationUsageId)
setAttachmentRelationUsageId
in interface UpdateAttachmentRelationCmd
anAttachmentRelationUsageId
- The attachment relation usagepublic void setAttachmentTargetId(java.lang.Long anAttachmentTargetId)
setAttachmentTargetId
in interface UpdateAttachmentRelationCmd
anAttachmentTargetId
- The attachment target IDpublic void setObjectId(java.lang.String astrObjectId)
setObjectId
in interface UpdateAttachmentRelationCmd
astrObjectId
- public void setSequence(java.lang.Double adSequence)
setSequence
in interface UpdateAttachmentRelationCmd
adSequence
- The sequence of the attachment relationpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface UpdateAttachmentRelationCmd
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException