public class CatalogAddCmdImpl extends ControllerCommandImpl implements CatalogAddCmd
CatalogAddCmd is a URL and controller command that:
CatalogDsc table.
CatalogAccessBean,
CatalogDescriptionAccessBean,
StoreCatalogAccessBean.
AddCatalogCmd,
AddCatalogDescCmd
CatalogStoreRelAddCmd desc, fImage, tImage, sDesc, lDesc, name, descLangId, URL | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogAddCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
CatalogAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatalogId()
Gets the catalog Id.
|
java.lang.Integer |
getDescLanguage()
Gets the language Id for the catalog description.
|
java.lang.String |
getDescription()
Gets the description of the catalog.
|
java.lang.String |
getFullimage()
Gets the path of the full image of the catalog description.
|
java.lang.String |
getIdentifier()
Get.
|
java.lang.String |
getLongdescription()
Gets the long description of the catalog.
|
java.lang.String |
getName()
gets the language dependent name of the catalog.
|
java.lang.String |
getShortdescription()
Gets the short description of the catalog.
|
java.lang.String |
getThumbnail()
Gets the path thumbnail image of the catalog.
|
java.lang.String |
getURL()
Gets the redirect URL.
|
void |
performExecute()
Creates a catalog and a catalog description.
|
void |
reset()
Resets all the variables.
|
void |
setCatalogId(java.lang.Long anCatalogId)
Sets the catalog Id for the catalog description.
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Sets the language Id used in the catalog description.
|
void |
setDescription(java.lang.String astrDescription)
Sets the description of the catalog.
|
void |
setFullimage(java.lang.String astrFullimage)
Sets the path of the full image of catalog.
|
void |
setIdentifier(java.lang.String astrIdentifier)
Sets the identifier of the catalog.
|
void |
setLongdescription(java.lang.String astrLongdescription)
Sets the long description of catalog.
|
void |
setMemberId(java.lang.Long anMemberId)
Sets the owner Id of the catalog.
|
void |
setName(java.lang.String astrName)
Sets the language dependent name of catalog.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setShortdescription(java.lang.String astrShortdescription)
Sets the short description of catalog.
|
void |
setThumbnail(java.lang.String astrThumbnail)
Sets the path to the thumbnail image of the catalog.
|
void |
setTPCLevel(java.lang.Integer anTPCLevel)
Sets the
TPC level of the catalog. |
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
void |
validateParameters()
Validates the input parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.Long getCatalogId()
getCatalogId in interface CatalogAddCmdpublic java.lang.String getDescription()
public java.lang.String getIdentifier()
getIdentifier in interface CatalogAddCmdpublic java.lang.Integer getDescLanguage()
public java.lang.String getFullimage()
public java.lang.String getLongdescription()
public java.lang.String getName()
public java.lang.String getShortdescription()
public java.lang.String getThumbnail()
public java.lang.String getURL()
public void performExecute()
throws ECException
AddCatalogCmd task command and then sets the catalog ID in the response properties.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface CatalogAddCmdanCatalogId - catalog Idpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage in interface CatalogAddCmdanDescLanguage - language Id for catalog descriptionpublic void setDescription(java.lang.String astrDescription)
setDescription in interface CatalogAddCmdastrDescription - description of the catalogpublic void setTPCLevel(java.lang.Integer anTPCLevel)
TPC level of the catalog.setTPCLevel in interface CatalogAddCmdanTPCLevel - catalog TPC levelpublic void setFullimage(java.lang.String astrFullimage)
setFullimage in interface CatalogAddCmdastrFullimage - full image of the catalogpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier in interface CatalogAddCmdastrIdentifier - catalog identifierpublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription in interface CatalogAddCmdastrLongdescription - long description of the catalogpublic void setMemberId(java.lang.Long anMemberId)
setMemberId in interface CatalogAddCmdanMemberId - catalog owner Idpublic void setName(java.lang.String astrName)
setName in interface CatalogAddCmdastrName - name of catalogpublic void setShortdescription(java.lang.String astrShortdescription)
setShortdescription in interface CatalogAddCmdastrShortdescription - short description of the catalogpublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail in interface CatalogAddCmdastrThumbnail - thumbnail image of the catalogpublic void setURL(java.lang.String astrURL)
setURL in interface CatalogAddCmdastrURL - redirect URLpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException