public class CatalogGroupAttachmentAddCmdImpl extends AttachmentRelationBaseAddCmdImpl implements CatalogGroupAttachmentAddCmd
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 |
---|
CatalogGroupAttachmentAddCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCatalogGroupIdentifier()
Gets the external catalog group identifier.
|
java.lang.Long | getCatgroupId()
Gets the Catalog Group ID.
|
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 | setCatalogGroupIdentifier(java.lang.String astrCatalogGroupIdentifier)
Sets the external identifier of the catalog group.
|
void | setCatgroupId(java.lang.Long anCatalogGroupId)
Sets the Catalog Group ID.
|
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 getCatgroupId()
public java.lang.String getCatalogGroupIdentifier()
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void preSetParameters() throws ECException
public void reset()
public void setCatgroupId(java.lang.Long anCatalogGroupId)
public void setCatalogGroupIdentifier(java.lang.String astrCatalogGroupIdentifier)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void validateParameters() throws ECException