public class CatalogEntryAttachmentAddCmdImpl extends AttachmentRelationBaseAddCmdImpl implements CatalogEntryAttachmentAddCmd
If the attachment relation ID is specified, then only attachment relation description will be created. If the command is called as URL. Only one description can be created. Otherwise, multiple descriptions can be created by setting the vector of AttachmentRelationDescriptionDataBean.
When creating the vector of AttachmentRelationDescriptionDataBean, the attachment relation ID from the databean will not be used. The attachment relation ID will be obtained from the command itself. Either user specified the attachment relation ID or it is obtained from the attachment relation just created by the command. Parameters:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Define the CLASSNAME.
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
CatalogEntryAttachmentAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getCatentryId()
Gets the Catalog Entry ID.
|
java.lang.String | getPartNumber()
Gets the part number.
|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
void | performExecute()
Calls the super class to do the work.
|
protected void | preSetParameters()
Sets some of the parameters that have not been set by the caller.
|
void | reset()
Resets the variables used.
|
void | setCatentryId(java.lang.Long anCatalogEntryId)
Sets the Catalog Entry ID.
|
void | setPartnumber(java.lang.String astrPartnumber)
Sets the part number of the catalog entry.
|
void | setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void | validateParameters()
Validate the parameters.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getCatentryId()
public java.lang.String getPartNumber()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void preSetParameters() throws ECException
public void reset()
public void setCatentryId(java.lang.Long anCatalogEntryId)
public void setPartnumber(java.lang.String astrPartnumber)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void validateParameters() throws ECException