java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.CatalogEntryUpdateCmdImpl
Implementation for CatalogEntryUpdate command which is the URL command for updating a Catalog Entry object
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME |
static java.lang.String |
COPYRIGHT |
protected
java.math.BigDecimal |
idField3 |
protected
java.lang.Integer |
inAvailable |
protected
java.lang.Integer |
inBuyable |
protected
java.lang.Long |
inCatentryId |
protected
java.lang.Integer |
inDescLanguage |
protected
java.lang.Integer |
inField1 |
protected
java.lang.Integer |
inField2 |
protected
java.lang.Integer |
inMarkfordelete |
protected
java.lang.Long |
inMemberId |
protected
java.lang.Integer |
inOnauction |
protected
java.lang.Integer |
inOnspecial |
protected
java.lang.Integer |
inPublished |
protected
java.lang.String |
istrAuxdescription1 |
protected
java.lang.String |
istrAuxdescription2 |
protected
java.lang.String |
istrCatenttypeId |
protected
java.lang.String |
istrCatEntURL |
protected
java.lang.String |
istrField4 |
protected
java.lang.String |
istrField5 |
protected
java.lang.String |
istrFullimage |
protected
java.lang.String |
istrKeyword |
protected
java.lang.String |
istrLongdescription |
protected
java.lang.String |
istrMfname |
protected
java.lang.String |
istrMfpartnumber |
protected
java.lang.String |
istrName |
protected
java.lang.String |
istrPartnumber |
protected
java.lang.String |
istrShortdescription |
protected
java.lang.String |
istrThumbnail |
protected
java.lang.String |
istrURL |
protected
java.lang.String |
istrXMLdetail |
protected
java.sql.Timestamp |
itmAvailabilitydate |
protected
java.sql.Timestamp |
itmEndDate |
protected
java.sql.Timestamp |
itmExpirationdate |
protected
java.sql.Timestamp |
itmLastupdate |
protected
java.sql.Timestamp |
itmStartDate |
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 | |
---|---|
CatalogEntryUpdateCmdImpl() |
Method Summary | |
---|---|
java.lang.String |
getAuxdescription1() Get additional description of the catalog entry description |
java.lang.String |
getAuxdescription2() Get the second additional description of the catalog entry description |
java.lang.Integer |
getAvailable() Get the length of time to available of the catalog entry |
java.sql.Timestamp |
getAvailablitydate() Get the availablility date of the catalog entry |
java.lang.Integer |
getBuyable() Get the buyable option of the catalog entry |
java.lang.Long |
getCatentryId() Get the catalog entry Id |
java.lang.String |
getCatEntURL() Get the URL path of the catentry entry |
java.lang.Integer |
getDescLanguage() Get the language Id of the catalog entry description |
java.sql.Timestamp |
getEndDate() Get the end date for the catalog entry |
java.sql.Timestamp |
getExpirationdate() Get the expiration date for the item version |
java.lang.Integer |
getField1() Get field 1 of the catalog entry |
java.lang.Integer |
getField2() Get field 2 of the catalog entry |
java.math.BigDecimal |
getField3() Get field 3 of the catalog entry |
java.lang.String |
getField4() Get field 4 of the catalog entry |
java.lang.String |
getField5() Get field 5 of the catalog entry |
java.lang.String |
getFullimage() Get the path of the full image of the catalog entry description |
java.sql.Timestamp |
getLastupdate() Get the last update time of the catalog entry |
java.lang.String |
getLongdescription() Get the long description of the catalog entry description |
java.lang.Integer |
getMarkfordelete() Get the mark for delete value of the catalog entry 0 = catalog entry not marked for delete 1 = catalog entry marked for delete |
protected
java.lang.Long |
getMemberId() Get the owner Id of the catalog entry |
java.lang.String |
getMfname() Get the manufacturer name of the catalog entry |
java.lang.String |
getMfpartnumber() Get the manufacturer part number of the catalog entry |
java.lang.String |
getName() Get the language dependent name of the catalog entry |
java.lang.Integer |
getOnauction() Get the on auction option of the catalog entry |
java.lang.Integer |
getOnspecial() Get the on special option of the catalog entry |
java.lang.String |
getPartnumber() Get the part number of the catalog entry |
java.lang.Integer |
getPublished() Get the published flag of the catalog entry description 0 = catalog entry description not published 1 = catalog entry description published |
java.lang.String |
getShortdescription() Get the short description of the catalog entry description |
java.sql.Timestamp |
getStartDate() Get the start date for the catalog entry |
java.lang.String |
getThumbnail() Get the thumbnail image of the catalog entry |
java.lang.String |
getURL() Get the redirect URL |
java.lang.String |
getXMLdetail() Get the XML detail of the catalog entry description |
void |
performExecute() The main program for CatalogEntryUpdate command |
void |
reset() This method reset all the variables used in CatalogEntryUpdate command |
void |
setAuxdescription1(java.lang.String astrAuxdescription1) Set additional description for the catalog entry description |
void |
setAuxdescription2(java.lang.String astrAuxdescription2) Set the second additional description for the catalog entry description |
void |
setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate) Set the availability date for the catalog entry description |
void |
setAvailable(java.lang.Integer anAvailable) Set the number of days to available for the catalog entry |
void |
setBuyable(java.lang.Integer anBuyable) Set the buyable option of the catalog entry 0 = catalog entry not buyable 1 = catalog entry buyable |
void |
setCatentryId(java.lang.Long anCatentryId) Set the catalog entry Id |
void |
setCatEntURL(java.lang.String astrCatEntURL) Set the URL path for the catalog entry |
void |
setDescLanguage(java.lang.Integer anDescLanguage) Set language Id of catalog entry description |
void |
setEndDate(java.sql.Timestamp atmEndDate) Set an end date for the catalog entry |
void |
setExpirationdate(java.sql.Timestamp atmExpirationdate) Set an expiration date for the item version |
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 description |
void |
setKeyword(java.lang.String astrKeyword) Set the keyword for the catalog entry description |
void |
setLastupdate(java.sql.Timestamp atmLastupdate) Sets the date and time when the catalog entry was updated |
void |
setLongdescription(java.lang.String astrLongdescription) Set the long description of catalog entry |
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 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 language dependent name of catalog entry description |
void |
setOnauction(java.lang.Integer anOnauction) Set the on auction option of 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 flag of the catalog entry description 0 = catalog entry description not published 1 = catalog entry description published |
void |
setRequestProperties(
TypedProperty reqParms) This method obtain the input parameters for CatalogEntryUpdate command |
void |
setShortdescription(java.lang.String astrShortdescription) Set the short description of the catalog entry description |
void |
setStartDate(java.sql.Timestamp atmStartDate) Set a start date for the catalog entry |
void |
setThumbnail(java.lang.String astrThumbnail) Set the path to the thumbnail image of the catalog entry description |
void |
setURL(java.lang.String astrURL) Set a redirect URL |
void |
setXMLdetail(java.lang.String astrXMLdetail) Set the XML detail of the catalog entry description |
void |
validateParameters() This method validates the parameters for CatalogEntryUpdate command |
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 inCatentryId
protected java.math.BigDecimal idField3
protected java.lang.Integer inBuyable
protected java.lang.Integer inField1
protected java.lang.Integer inField2
protected java.lang.Integer inMarkfordelete
protected java.lang.Long inMemberId
protected java.lang.Integer inOnauction
protected java.lang.Integer inOnspecial
protected java.lang.String istrCatenttypeId
protected java.lang.String istrField4
protected java.lang.String istrField5
protected java.lang.String istrMfname
protected java.lang.String istrMfpartnumber
protected java.lang.String istrPartnumber
protected java.lang.String istrCatEntURL
protected java.sql.Timestamp itmLastupdate
protected java.sql.Timestamp itmStartDate
protected java.sql.Timestamp itmEndDate
protected java.sql.Timestamp itmExpirationdate
protected java.lang.Integer inAvailable
protected java.lang.Integer inDescLanguage
protected java.lang.Integer inPublished
protected java.lang.String istrAuxdescription1
protected java.lang.String istrAuxdescription2
protected java.lang.String istrFullimage
protected java.lang.String istrKeyword
protected java.lang.String istrLongdescription
protected java.lang.String istrName
protected java.lang.String istrShortdescription
protected java.lang.String istrThumbnail
protected java.lang.String istrXMLdetail
protected java.sql.Timestamp itmAvailabilitydate
Constructor Detail |
---|
public CatalogEntryUpdateCmdImpl()
Method Detail |
---|
public java.lang.String getAuxdescription1()
public java.lang.String getAuxdescription2()
public java.lang.Integer getAvailable()
public java.sql.Timestamp getAvailablitydate()
public java.lang.Integer getBuyable()
public java.lang.Long getCatentryId()
getCatentryId
in interface
CatalogEntryUpdateCmd
public java.lang.String getCatEntURL()
public java.lang.Integer getDescLanguage()
public java.sql.Timestamp getEndDate()
public java.sql.Timestamp getExpirationdate()
public java.lang.Integer getField1()
public java.lang.Integer getField2()
public java.math.BigDecimal getField3()
public java.lang.String getField4()
public java.lang.String getField5()
public java.lang.String getFullimage()
public java.sql.Timestamp getLastupdate()
public java.lang.String getLongdescription()
public java.lang.Integer getMarkfordelete()
protected java.lang.Long getMemberId()
public java.lang.String getMfname()
public java.lang.String getMfpartnumber()
public java.lang.String getName()
public java.lang.Integer getOnauction()
public java.lang.Integer getOnspecial()
public java.lang.String getPartnumber()
getPartnumber
in interface
CatalogEntryUpdateCmd
public java.lang.Integer getPublished()
public java.lang.String getShortdescription()
public java.sql.Timestamp getStartDate()
public java.lang.String getThumbnail()
public java.lang.String getURL()
public java.lang.String getXMLdetail()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setAuxdescription1(java.lang.String astrAuxdescription1)
setAuxdescription1
in interface
CatalogEntryUpdateCmd
astrAuxdescription1
- java.lang.Stringpublic void setAuxdescription2(java.lang.String astrAuxdescription2)
setAuxdescription2
in interface
CatalogEntryUpdateCmd
astrAuxdescription2
- java.lang.Stringpublic void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
setAvailabilitydate
in interface
CatalogEntryUpdateCmd
atmAvailabilitydate
- java.sql.Timestamppublic void setAvailable(java.lang.Integer anAvailable)
setAvailable
in interface
CatalogEntryUpdateCmd
anAvailable
- java.lang.Integerpublic void setBuyable(java.lang.Integer anBuyable)
setBuyable
in interface
CatalogEntryUpdateCmd
anBuyable
- java.lang.Integerpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface
CatalogEntryUpdateCmd
anCatentryId
- java.lang.Longpublic void setCatEntURL(java.lang.String astrCatEntURL)
setCatEntURL
in interface
CatalogEntryUpdateCmd
astrCatEntURL
- java.lang.Stringpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface
CatalogEntryUpdateCmd
anDescLanguage
- java.lang.Integerpublic void setEndDate(java.sql.Timestamp atmEndDate)
setEndDate
in interface
CatalogEntryUpdateCmd
atmEndDate
- java.sql.Timestamppublic void setExpirationdate(java.sql.Timestamp atmExpirationdate)
setExpirationdate
in interface
CatalogEntryUpdateCmd
atmExpirationdate
- java.sql.Timestamppublic void setField1(java.lang.Integer anField1)
setField1
in interface
CatalogEntryUpdateCmd
anField1
- java.lang.Integerpublic void setField2(java.lang.Integer anField2)
setField2
in interface
CatalogEntryUpdateCmd
anField2
- java.lang.Integerpublic void setField3(java.math.BigDecimal adField3)
setField3
in interface
CatalogEntryUpdateCmd
public void setField4(java.lang.String astrField4)
setField4
in interface
CatalogEntryUpdateCmd
astrField4
- java.lang.Stringpublic void setField5(java.lang.String astrField5)
setField5
in interface
CatalogEntryUpdateCmd
astrField5
- java.lang.Stringpublic void setFullimage(java.lang.String astrFullimage)
setFullimage
in interface
CatalogEntryUpdateCmd
astrFullimage
- java.lang.Stringpublic void setKeyword(java.lang.String astrKeyword)
setKeyword
in interface
CatalogEntryUpdateCmd
astrKeyword
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate
- java.sql.Timestamppublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription
in interface
CatalogEntryUpdateCmd
astrLongdescription
- java.lang.Stringpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete
in interface
CatalogEntryUpdateCmd
anMarkfordelete
- java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface
CatalogEntryUpdateCmd
anMemberId
- java.lang.Longpublic void setMfname(java.lang.String astrMfname)
setMfname
in interface
CatalogEntryUpdateCmd
astrMfname
- java.lang.Stringpublic void setMfpartnumber(java.lang.String astrMfpartnumber)
setMfpartnumber
in interface
CatalogEntryUpdateCmd
astrMfpartnumber
- java.lang.Stringpublic void setName(java.lang.String astrName)
setName
in interface
CatalogEntryUpdateCmd
astrName
- java.lang.Stringpublic void setOnauction(java.lang.Integer anOnauction)
setOnauction
in interface
CatalogEntryUpdateCmd
anOnauction
- java.lang.Integerpublic void setOnspecial(java.lang.Integer anOnspecial)
setOnspecial
in interface
CatalogEntryUpdateCmd
anOnspecial
- java.lang.Integerpublic void setPartnumber(java.lang.String astrPartnumber)
setPartnumber
in interface
CatalogEntryUpdateCmd
astrPartnumber
- java.lang.Stringpublic void setPublished(java.lang.Integer anPublished)
setPublished
in interface
CatalogEntryUpdateCmd
anPublished
- java.lang.Integerpublic 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
CatalogEntryUpdateCmd
astrShortdescription
- java.lang.Stringpublic void setStartDate(java.sql.Timestamp atmStartDate)
setStartDate
in interface
CatalogEntryUpdateCmd
atmStartDate
- java.sql.Timestamppublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail
in interface
CatalogEntryUpdateCmd
astrThumbnail
- java.lang.Stringpublic void setURL(java.lang.String astrURL)
setURL
in interface
CatalogEntryUpdateCmd
astrURL
- java.lang.Stringpublic void setXMLdetail(java.lang.String astrXMLdetail)
setXMLdetail
in interface
CatalogEntryUpdateCmd
astrXMLdetail
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException