|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
Method Detail |
public java.lang.Long getCatentryId()
public java.lang.String getPartnumber()
public void setAuxdescription1(java.lang.String astrAuxdescription1)
astrAuxdescription1
- java.lang.Stringpublic void setAuxdescription2(java.lang.String astrAuxdescription2)
astrAuxdescription2
- java.lang.Stringpublic void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
atmAvailabilitydate
- java.sql.Timestamppublic void setAvailable(java.lang.Integer anAvailable)
anAvailable
- java.lang.Integerpublic void setBuyable(java.lang.Integer anBuyable)
anBuyable
- java.lang.Integerpublic void setCatentryId(java.lang.Long anCatentryId)
anCatentryId
- java.lang.Longpublic void setCatEntURL(java.lang.String astrCatEntURL)
astrCatEntURL
- java.lang.Stringpublic void setDescLanguage(java.lang.Integer anDescLang)
anDescLang
- java.lang.Integerpublic void setExpirationdate(java.sql.Timestamp atmExpirationdate)
atmExpirationdate
- java.sql.Timestamppublic void setField1(java.lang.Integer anField1)
anField1
- java.lang.Integerpublic void setField2(java.lang.Integer anField2)
anField2
- java.lang.Integerpublic void setField3(java.math.BigDecimal adField3)
anField3
- java.math.BigDecimalpublic void setField4(java.lang.String astrField4)
astrField4
- java.lang.Stringpublic void setField5(java.lang.String astrField5)
astrField5
- java.lang.Stringpublic void setFullimage(java.lang.String astrFullimage)
astrFullimage
- java.lang.Stringpublic void setKeyword(java.lang.String astrKeyword)
astrKeyword
- java.lang.Stringpublic void setLongdescription(java.lang.String astrLongdescription)
astrLongdescription
- java.lang.Stringpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
anMarkfordelete
- java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
anMemberId
- java.lang.Longpublic void setMfname(java.lang.String astrMfname)
astrMfname
- java.lang.Stringpublic void setMfpartnumber(java.lang.String astrMfpartnumber)
astrMfpartnumber
- java.lang.Stringpublic void setName(java.lang.String astrName)
astrName
- java.lang.Stringpublic void setOnauction(java.lang.Integer anOnauction)
anOnauction
- java.lang.Integerpublic void setOnspecial(java.lang.Integer anOnspecial)
anOnspecial
- java.lang.Integerpublic void setPartnumber(java.lang.String astrPartnumber)
astrPartnumber
- java.lang.Stringpublic void setPublished(java.lang.Integer anPublished)
anPublished
- java.lang.Integerpublic void setShortdescription(java.lang.String astrShortdescription)
astrShortdescription
- java.lang.Stringpublic void setThumbnail(java.lang.String astrThumbnail)
astrThumbnail
- java.lang.Stringpublic void setURL(java.lang.String astrURL)
astrURL
- java.lang.Stringpublic void setXMLdetail(java.lang.String astrXMLdetail)
astrXMLdetail
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |