public class AddAttachmentTargetCmdImpl extends TaskCommandImpl implements AddAttachmentTargetCmd
AttachmentTargetAccessBean
StoreEntityAccessBean
AttachmentTargetHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
Constructor and Description |
---|
AddAttachmentTargetCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAttachmentTargetId()
Gets the Attachment Target ID.
|
java.lang.String |
getAttachmentUsageId()
Gets the attachment usage ID of the attachment target.
|
java.lang.Long |
getField1()
Gets the customizable field 1.
|
java.lang.Double |
getField2()
Gets the customizable field 2.
|
java.lang.String |
getField3()
Gets the customizable field 3.
|
java.lang.String |
getField4()
Gets the customizable field 4.
|
java.lang.String |
getIdentifier()
Gets the attachment target identifier.
|
java.lang.Long |
getMemberId()
Gets the owner ID of the attachment target.
|
AccessVector |
getResources()
Gets the access vector accessed by this command.
|
java.lang.Integer |
getStoreentId()
Gets the store entity ID of the attachment target.
|
void |
performExecute()
Main execution for
AddAttachmentTarget |
void |
reset()
Resets all the parameters
|
void |
setAttachmentUsageId(java.lang.String astrAttachmentUsageId)
Sets the attachment usage ID of the attachment target.
|
void |
setField1(java.lang.Long anField1)
Sets the customizable field 1.
|
void |
setField2(java.lang.Double adField2)
Sets the customizable field 2.
|
void |
setField3(java.lang.String astrField3)
Sets the customizable field 3.
|
void |
setField4(java.lang.String astrField4)
Sets the customizable field 4
|
void |
setIdentifier(java.lang.String astrIdentifier)
Sets the identifier of the attachment target.
|
void |
setMemberId(java.lang.Long anMemberId)
Sets the owner ID of the attachment target.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setStoreentId(java.lang.Integer anStoreentId)
Sets the store entity ID of the attachment target.
|
void |
validateParameters()
Validates the parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, 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, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String CLASSNAME
public java.lang.Long getAttachmentTargetId()
getAttachmentTargetId
in interface AddAttachmentTargetCmd
public java.lang.Long getMemberId()
getMemberId
in interface AddAttachmentTargetCmd
public java.lang.Integer getStoreentId()
getStoreentId
in interface AddAttachmentTargetCmd
public java.lang.String getAttachmentUsageId()
getAttachmentUsageId
in interface AddAttachmentTargetCmd
public java.lang.Long getField1()
getField1
in interface AddAttachmentTargetCmd
public java.lang.Double getField2()
getField2
in interface AddAttachmentTargetCmd
public java.lang.String getField3()
getField3
in interface AddAttachmentTargetCmd
public java.lang.String getField4()
getField4
in interface AddAttachmentTargetCmd
public java.lang.String getIdentifier()
getIdentifier
in interface AddAttachmentTargetCmd
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
Any
- ECException capturedECException
public void performExecute() throws ECException
AddAttachmentTarget
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 setMemberId(java.lang.Long anMemberId)
setMemberId
in interface AddAttachmentTargetCmd
anMemberId
- The owner ID of the attachment targetpublic void setStoreentId(java.lang.Integer anStoreentId)
setStoreentId
in interface AddAttachmentTargetCmd
anStoreentId
- The store entity IDpublic void setAttachmentUsageId(java.lang.String astrAttachmentUsageId)
setAttachmentUsageId
in interface AddAttachmentTargetCmd
astrAttachmentUsageId
- public void setField1(java.lang.Long anField1)
setField1
in interface AddAttachmentTargetCmd
anField1
- public void setField2(java.lang.Double adField2)
setField2
in interface AddAttachmentTargetCmd
adField2
- The customizable field 2public void setField3(java.lang.String astrField3)
setField3
in interface AddAttachmentTargetCmd
astrField3
- The customizable field 3public void setField4(java.lang.String astrField4)
setField4
in interface AddAttachmentTargetCmd
astrField4
- The customizable field 4public void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface AddAttachmentTargetCmd
astrIdentifier
- The identifier of the attachment targetpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface AddAttachmentTargetCmd
reqParms
- The request propertiesECApplicationException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException