com.ibm.commerce.catalogmanagement.commands
Interface CatalogAddCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
CatalogAddCmdImpl

public interface CatalogAddCmd
extends ControllerCommand

Command Name: CatalogAdd Command Type: URL and Controller Command Description: 1. Adds a new Catalog 2. Adds a new Catalog Description 3. Adds a relationship between the new Catalog and the Store Parameters: 1. MemberId, Identifier and all fields in the Catalog. 2. All fields in the CatalogDsc. 3. No fields required. Tables: 1. Catalog 2. CatalogDsc 3. StoreCat Task Commands: AddCatalogCmd, AddCatalogDescCmd Other Controller commands: CatalogStoreRelAddCmd Mandatory Parameters: identifier, or catalogId (if adding catalog description) Additional Parameters: Optional Parameters: desc, fImage, tImage, sDesc, lDesc, name, descLangId, URL


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getCatalogId()
          Get the catalog id
 java.lang.String getIdentifier()
          Get the identifier
 void setCatalogId(java.lang.Long anCatalogId)
          Set a catalog id
 void setDescLanguage(java.lang.Integer anDescLang)
          Set the language id in the catalog description
 void setDescription(java.lang.String astrDescription)
          Set description of the catalog
 void setFullimage(java.lang.String astrFullimage)
          Set the path of the full image of this catalog description
 void setIdentifier(java.lang.String astrIdentifier)
          Set the identifier of the catalog
 void setLongdescription(java.lang.String astrLongdescription)
          Set the long description of the catalog
 void setMemberId(java.lang.Long anMemberId)
          Set the owner id of the catalog
 void setName(java.lang.String astrName)
          Set a language dependent name of the catalog
 void setShortdescription(java.lang.String astrShortdescription)
          Set a short description of the catalog
 void setThumbnail(java.lang.String astrThumbnail)
          Set 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)
          Set the redirect URL
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
Method Detail

getCatalogId

public java.lang.Long getCatalogId()
Get the catalog id
Returns:
java.lang.Long

getIdentifier

public java.lang.String getIdentifier()
Get the identifier
Returns:
java.lang.Long

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)
Set a catalog id
Parameters:
anCatalogId - java.lang.String

setDescLanguage

public void setDescLanguage(java.lang.Integer anDescLang)
Set the language id in the catalog description
Parameters:
anDescLang - java.lang.Integer

setDescription

public void setDescription(java.lang.String astrDescription)
Set description of the catalog
Parameters:
astrDescription - java.lang.String

setFullimage

public void setFullimage(java.lang.String astrFullimage)
Set the path of the full image of this catalog description
Parameters:
astrFullimage - java.lang.String

setIdentifier

public void setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog
Parameters:
astrIdentifier - java.lang.String

setLongdescription

public void setLongdescription(java.lang.String astrLongdescription)
Set the long description of the catalog
Parameters:
astrLongdescription - java.lang.String

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the owner id of the catalog
Parameters:
anMemberId - java.lang.Long

setName

public void setName(java.lang.String astrName)
Set a language dependent name of the catalog
Parameters:
astrName - java.lang.String

setShortdescription

public void setShortdescription(java.lang.String astrShortdescription)
Set a short description of the catalog
Parameters:
astrShortdescription - java.lang.String

setThumbnail

public void setThumbnail(java.lang.String astrThumbnail)
Set the path of the thumbnail image of the catalog
Parameters:
astrThumbnail - java.lang.String

setTPCLevel

public void setTPCLevel(java.lang.Integer anTPCLevel)
Set the TPC level of the catalog
Parameters:
anTPCLevel - java.lang.Integer

setURL

public void setURL(java.lang.String astrURL)
Set the redirect URL
Parameters:
astrURL - java.lang.String