java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.CatalogUpdateCmdImpl
Command Name: CatalogUpdateCmd Command Type: URL and controller command Description:
UpdateCatalogCmd
, UpdateCatalogDescCmd
Other Controller Commands: None Mandatory Parameters: catalogId, or identifier
Additional Parameters: Optional Parameters: fImage, tImage, sDesc, lDesc, Desc,
descLangId, name, URL Default Value: descLangId = language ID from command
context.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME Define the CLASSNAME. |
static java.lang.String |
COPYRIGHT The internal copyright field. |
protected
java.lang.Long |
inCatalogId |
protected
java.lang.Integer |
inDescLanguage |
protected
java.lang.Long |
inMemberId |
protected
java.lang.Integer |
inTPCLevel |
protected
java.lang.String |
istrDescription |
protected
java.lang.String |
istrFullimage |
protected
java.lang.String |
istrIdentifier |
protected
java.lang.String |
istrLongdescription |
protected
java.lang.String |
istrName |
protected
java.lang.String |
istrShortdescription |
protected
java.lang.String |
istrThumbnail |
protected
java.lang.String |
istrURL |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
CatalogUpdateCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getCatalogId() Gets the catalog Id. |
java.lang.Integer |
getDescLanguage() Gets the language Id of 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. |
java.lang.String |
getIdentifier() Gets the identifier of the catalog. |
java.lang.String |
getLongdescription() Gets the long description of the catalog. |
java.lang.Long |
getMemberId() Gets the owner id 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 of the thumbnail image of the catalog. |
java.lang.String |
getURL() Gets the redirect URL |
void |
performExecute() Updates a catalog and catalog description. |
void |
reset() Resets all the variables. |
void |
setCatalogId(java.lang.Long anCatalogId) Sets the catalog Id. |
void |
setDescLanguage(java.lang.Integer anDescLanguage) Sets the language Id of 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 the catalog. |
void |
setRequestProperties(
TypedProperty reqParms) Sets the request properties |
void |
setShortdescription(java.lang.String astrShortdescription) Sets the short description of the catalog. |
void |
setThumbnail(java.lang.String astrThumbnail) Sets the path of the thumbnail image of the catalog. |
void |
setTPCLevel(java.lang.Integer anTPCLevel) Set the TPC Level of the catalog. |
void |
setURL(java.lang.String astrURL) Sets the redirect URL. |
void |
validateParameters() Validates the input parameters. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected java.lang.Long inCatalogId
protected java.lang.String istrDescription
protected java.lang.String istrIdentifier
protected java.lang.Long inMemberId
protected java.lang.Integer inTPCLevel
protected java.lang.String istrFullimage
protected java.lang.Integer inDescLanguage
protected java.lang.String istrLongdescription
protected java.lang.String istrName
protected java.lang.String istrShortdescription
protected java.lang.String istrThumbnail
Constructor Detail |
---|
public CatalogUpdateCmdImpl()
Method Detail |
---|
public java.lang.Long getCatalogId()
getCatalogId
in interface
CatalogUpdateCmd
public java.lang.Integer getDescLanguage()
public java.lang.String getDescription()
public java.lang.String getFullimage()
public java.lang.String getIdentifier()
getIdentifier
in interface
CatalogUpdateCmd
public java.lang.String getLongdescription()
public java.lang.Long getMemberId()
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
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface
CatalogUpdateCmd
anCatalogId
- catalog Idpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface
CatalogUpdateCmd
anDescLanguage
- language Idpublic void setDescription(java.lang.String astrDescription)
setDescription
in interface
CatalogUpdateCmd
astrDescription
- catalog descriptionpublic void setFullimage(java.lang.String astrFullimage)
setFullimage
in interface
CatalogUpdateCmd
astrFullimage
- full image of catalogpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface
CatalogUpdateCmd
astrIdentifier
- catalog identifierpublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription
in interface
CatalogUpdateCmd
astrLongdescription
- catalog long
descriptionpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface
CatalogUpdateCmd
anMemberId
- owner of catalogpublic void setName(java.lang.String astrName)
setName
in interface
CatalogUpdateCmd
astrName
- catalog namepublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void setShortdescription(java.lang.String astrShortdescription)
setShortdescription
in interface
CatalogUpdateCmd
astrShortdescription
- short description of
catalogpublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail
in interface
CatalogUpdateCmd
astrThumbnail
- thumbnail image of catalogpublic void setTPCLevel(java.lang.Integer anTPCLevel)
setTPCLevel
in interface
CatalogUpdateCmd
anTPCLevel
- catalog TPC levelpublic void setURL(java.lang.String astrURL)
setURL
in interface
CatalogUpdateCmd
astrURL
- redirect URLpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException