com.ibm.commerce.catalogmanagement.commands
Interface CatalogEntryUpdateCmd

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

public interface CatalogEntryUpdateCmd
extends ControllerCommand

Command Name: CatalogEntryUpdate Command Type: URL and controller command Description: 1. Updates an existing catalog entry, catalog entry type cannot be changed. 2. Update a catalog entry description. 2.1. If the catalog entry is a product, then update the base item description 3. If catalog entry is an item, then update the item specification. 4. If catalog entry is a product, then update the base item. 5. If the catalog entry description does not exists, then a new catalog entry description of the specified language will be created. A new base item description will be created if the catalog entry is a product. Any unspecified field will be assigned default value, and not copied from the existing description. Parameters: 1. All fields in the CatalogEntry table, except IBM internal use columns. 2. All fields in the CatEntDesc table 2.1. No fields required. 3. No fields required. 4. No fields required 5. catalog entry ID and new language ID Tables: 1. CatEntry 2. CatEntDesc 2.1. BaseItmDsc 3. ItemSpc 4. BaseItem 5. CatEntDesc, BaseItemDsc Task Commands: UpdateCatalogEntryCmd, UpdateCatalogEntryDescCmd Other Controller Commands: None Mandatory Parameters: catentryId or partnumber Additional Parameters: Optional Parameters: buyable, field1, field2, field3, field4, field5, keyword, markForDelete, mfName, mfPartnumber, onAuction, onSpecial, catEntURL, aux1, aux2, available, fImage, descLangId, lDesc, name, published, sDesc, tImage, XML, URL Default Values: descLangId=language being used, published=0, memeberId = owner ID of store.


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 getCatentryId()
          Get the catalog entry Id
 java.lang.String getPartnumber()
          Get the partnumber of the catalog entry
 void setAuxdescription1(java.lang.String astrAuxdescription1)
          Set the additional description for the catalog entry
 void setAuxdescription2(java.lang.String astrAuxdescription2)
          Set the secondary additional description for the catalog entry
 void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
          Set the availability date for the catalog entry
 void setAvailable(java.lang.Integer anAvailable)
          Set the length of time to availability of the catalog entry
 void setBuyable(java.lang.Integer anBuyable)
          Set the buyable option for the catalog entry 0 = catalog entry is not buyable 1 = catalog entry is buyable
 void setCatentryId(java.lang.Long anCatentryId)
          Set the catalog entry Id
 void setCatEntURL(java.lang.String astrCatEntURL)
          Set the URL path of the catalog entry
 void setDescLanguage(java.lang.Integer anDescLang)
          Set the language ID use for the catalog entry description
 void setExpirationdate(java.sql.Timestamp atmExpirationdate)
          Set the expiration date for the item version of the catalog entry
 void setField1(java.lang.Integer anField1)
          Set field 1 of the catalog entry
 void setField2(java.lang.Integer anField2)
          Set field 2 of the catalog entry
 void setField3(java.math.BigDecimal adField3)
          Set field 3 of the catalog entry
 void setField4(java.lang.String astrField4)
          Set field 4 of the catalog entry
 void setField5(java.lang.String astrField5)
          Set field 5 of the catalog entry
 void setFullimage(java.lang.String astrFullimage)
          Set the path of the full image of the catalog entry
 void setKeyword(java.lang.String astrKeyword)
          Set the keyword for the catalog entry description
 void setLongdescription(java.lang.String astrLongdescription)
          Set the long description of the catalog entry description
 void setMarkfordelete(java.lang.Integer anMarkfordelete)
          Set the mark for delete flag of the catalog entry 0 = catalog entry not marked for delete 1 = catalog entry marked for delete
 void setMemberId(java.lang.Long anMemberId)
          Set the owner Id of the catalog entry
 void setMfname(java.lang.String astrMfname)
          Set the manufacturer name of the catalog entry
 void setMfpartnumber(java.lang.String astrMfpartnumber)
          Set the part number of the catalog entry used by the manufacturer
 void setName(java.lang.String astrName)
          Set the language dependent name of the catalog entry
 void setOnauction(java.lang.Integer anOnauction)
          Set the on auction option for the catalog entry 0 = catalog entry not on auction 1 = catalog entry on auction
 void setOnspecial(java.lang.Integer anOnspecial)
          Set the on special option of the catalog entry 0 = catalog entry not on special 1 = catalog entry on special
 void setPartnumber(java.lang.String astrPartnumber)
          Set the partnumber of the catalog entry
 void setPublished(java.lang.Integer anPublished)
          Set the published falg for the catalog entry 0 = catalog entry not published 1 = catalog entry published
 void setShortdescription(java.lang.String astrShortdescription)
          Set the short description of the catalog entry description
 void setThumbnail(java.lang.String astrThumbnail)
          Set the path of the thumbnail image of the catalog entry description
 void setURL(java.lang.String astrURL)
          Set the redirect URL
 void setXMLdetail(java.lang.String astrXMLdetail)
          Set XML detail of the catalog entry
 
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

getCatentryId

public java.lang.Long getCatentryId()
Get the catalog entry Id
Returns:
java.lang.Long

getPartnumber

public java.lang.String getPartnumber()
Get the partnumber of the catalog entry
Returns:
java.lang.String

setAuxdescription1

public void setAuxdescription1(java.lang.String astrAuxdescription1)
Set the additional description for the catalog entry
Parameters:
astrAuxdescription1 - java.lang.String

setAuxdescription2

public void setAuxdescription2(java.lang.String astrAuxdescription2)
Set the secondary additional description for the catalog entry
Parameters:
astrAuxdescription2 - java.lang.String

setAvailabilitydate

public void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
Set the availability date for the catalog entry
Parameters:
atmAvailabilitydate - java.sql.Timestamp

setAvailable

public void setAvailable(java.lang.Integer anAvailable)
Set the length of time to availability of the catalog entry
Parameters:
anAvailable - java.lang.Integer

setBuyable

public void setBuyable(java.lang.Integer anBuyable)
Set the buyable option for the catalog entry 0 = catalog entry is not buyable 1 = catalog entry is buyable
Parameters:
anBuyable - java.lang.Integer

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id
Parameters:
anCatentryId - java.lang.Long

setCatEntURL

public void setCatEntURL(java.lang.String astrCatEntURL)
Set the URL path of the catalog entry
Parameters:
astrCatEntURL - java.lang.String

setDescLanguage

public void setDescLanguage(java.lang.Integer anDescLang)
Set the language ID use for the catalog entry description
Parameters:
anDescLang - java.lang.Integer

setExpirationdate

public void setExpirationdate(java.sql.Timestamp atmExpirationdate)
Set the expiration date for the item version of the catalog entry
Parameters:
atmExpirationdate - java.sql.Timestamp

setField1

public void setField1(java.lang.Integer anField1)
Set field 1 of the catalog entry
Parameters:
anField1 - java.lang.Integer

setField2

public void setField2(java.lang.Integer anField2)
Set field 2 of the catalog entry
Parameters:
anField2 - java.lang.Integer

setField3

public void setField3(java.math.BigDecimal adField3)
Set field 3 of the catalog entry
Parameters:
anField3 - java.math.BigDecimal

setField4

public void setField4(java.lang.String astrField4)
Set field 4 of the catalog entry
Parameters:
astrField4 - java.lang.String

setField5

public void setField5(java.lang.String astrField5)
Set field 5 of the catalog entry
Parameters:
astrField5 - java.lang.String

setFullimage

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

setKeyword

public void setKeyword(java.lang.String astrKeyword)
Set the keyword for the catalog entry description
Parameters:
astrKeyword - java.lang.String

setLongdescription

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

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag of the catalog entry 0 = catalog entry not marked for delete 1 = catalog entry marked for delete
Parameters:
anMarkfordelete - java.lang.Integer

setMemberId

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

setMfname

public void setMfname(java.lang.String astrMfname)
Set the manufacturer name of the catalog entry
Parameters:
astrMfname - java.lang.String

setMfpartnumber

public void setMfpartnumber(java.lang.String astrMfpartnumber)
Set the part number of the catalog entry used by the manufacturer
Parameters:
astrMfpartnumber - java.lang.String

setName

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

setOnauction

public void setOnauction(java.lang.Integer anOnauction)
Set the on auction option for the catalog entry 0 = catalog entry not on auction 1 = catalog entry on auction
Parameters:
anOnauction - java.lang.Integer

setOnspecial

public void setOnspecial(java.lang.Integer anOnspecial)
Set the on special option of the catalog entry 0 = catalog entry not on special 1 = catalog entry on special
Parameters:
anOnspecial - java.lang.Integer

setPartnumber

public void setPartnumber(java.lang.String astrPartnumber)
Set the partnumber of the catalog entry
Parameters:
astrPartnumber - java.lang.String

setPublished

public void setPublished(java.lang.Integer anPublished)
Set the published falg for the catalog entry 0 = catalog entry not published 1 = catalog entry published
Parameters:
anPublished - java.lang.Integer

setShortdescription

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

setThumbnail

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

setURL

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

setXMLdetail

public void setXMLdetail(java.lang.String astrXMLdetail)
Set XML detail of the catalog entry
Parameters:
astrXMLdetail - java.lang.String