com.ibm.commerce.catalogmanagement.commands
Class CatalogEntryUpdateCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.catalogmanagement.commands.CatalogEntryUpdateCmdImpl
All Implemented Interfaces:
AccCommand, CatalogEntryUpdateCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable

public class CatalogEntryUpdateCmdImpl
extends ControllerCommandImpl
implements CatalogEntryUpdateCmd

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 itmExpirationdate
           
protected  java.sql.Timestamp itmLastupdate
           
 
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 getExpirationdate()
          Get the expiration date of item version for the catalog entry
 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.lang.String getThumbnail()
          Get thumbnail image of the catalog entry description
 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 setExpirationdate(java.sql.Timestamp atmExpirationdate)
          Set the expiration date of the item version for 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 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 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
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
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, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties
 
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

idField3

protected java.math.BigDecimal idField3

inAvailable

protected java.lang.Integer inAvailable

inBuyable

protected java.lang.Integer inBuyable

inCatentryId

protected java.lang.Long inCatentryId

inDescLanguage

protected java.lang.Integer inDescLanguage

inField1

protected java.lang.Integer inField1

inField2

protected java.lang.Integer inField2

inMarkfordelete

protected java.lang.Integer inMarkfordelete

inMemberId

protected java.lang.Long inMemberId

inOnauction

protected java.lang.Integer inOnauction

inOnspecial

protected java.lang.Integer inOnspecial

inPublished

protected java.lang.Integer inPublished

istrAuxdescription1

protected java.lang.String istrAuxdescription1

istrAuxdescription2

protected java.lang.String istrAuxdescription2

istrCatenttypeId

protected java.lang.String istrCatenttypeId

istrCatEntURL

protected java.lang.String istrCatEntURL

istrField4

protected java.lang.String istrField4

istrField5

protected java.lang.String istrField5

istrFullimage

protected java.lang.String istrFullimage

istrKeyword

protected java.lang.String istrKeyword

istrLongdescription

protected java.lang.String istrLongdescription

istrMfname

protected java.lang.String istrMfname

istrMfpartnumber

protected java.lang.String istrMfpartnumber

istrName

protected java.lang.String istrName

istrPartnumber

protected java.lang.String istrPartnumber

istrShortdescription

protected java.lang.String istrShortdescription

istrThumbnail

protected java.lang.String istrThumbnail

istrURL

protected java.lang.String istrURL

istrXMLdetail

protected java.lang.String istrXMLdetail

itmAvailabilitydate

protected java.sql.Timestamp itmAvailabilitydate

itmExpirationdate

protected java.sql.Timestamp itmExpirationdate

itmLastupdate

protected java.sql.Timestamp itmLastupdate
Constructor Detail

CatalogEntryUpdateCmdImpl

public CatalogEntryUpdateCmdImpl()
Method Detail

getAuxdescription1

public java.lang.String getAuxdescription1()
Get additional description of the catalog entry description
Returns:
java.lang.String

getAuxdescription2

public java.lang.String getAuxdescription2()
Get the second additional description of the catalog entry description
Returns:
java.lang.String

getAvailable

public java.lang.Integer getAvailable()
Get the length of time to available of the catalog entry
Returns:
java.lang.Integer

getAvailablitydate

public java.sql.Timestamp getAvailablitydate()
Get the availablility date of the catalog entry
Returns:
java.sql.Timestamp

getBuyable

public java.lang.Integer getBuyable()
Get the buyable option of the catalog entry
Returns:
java.lang.Integer

getCatentryId

public java.lang.Long getCatentryId()
Get the catalog entry Id
Specified by:
getCatentryId in interface CatalogEntryUpdateCmd
Returns:
java.lang.Long

getCatEntURL

public java.lang.String getCatEntURL()
Get the URL path of the catentry entry
Returns:
java.lang.String

getDescLanguage

public java.lang.Integer getDescLanguage()
Get the language Id of the catalog entry description
Returns:
java.lang.Integer

getExpirationdate

public java.sql.Timestamp getExpirationdate()
Get the expiration date of item version for the catalog entry
Returns:
java.sql.Timestamp

getField1

public java.lang.Integer getField1()
Get field 1 of the catalog entry
Returns:
java.lang.Integer

getField2

public java.lang.Integer getField2()
Get field 2 of the catalog entry
Returns:
java.lang.Integer

getField3

public java.math.BigDecimal getField3()
Get field 3 of the catalog entry
Returns:
java.math.BigDecimal

getField4

public java.lang.String getField4()
Get field 4 of the catalog entry
Returns:
java.lang.String

getField5

public java.lang.String getField5()
Get field 5 of the catalog entry
Returns:
java.lang.String

getFullimage

public java.lang.String getFullimage()
Get the path of the full image of the catalog entry description
Returns:
java.lang.String

getLastupdate

public java.sql.Timestamp getLastupdate()
Get the last update time of the catalog entry
Returns:
java.sql.Timestamp

getLongdescription

public java.lang.String getLongdescription()
Get the long description of the catalog entry description
Returns:
java.lang.String

getMarkfordelete

public 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
Returns:
java.lang.Integer

getMemberId

protected java.lang.Long getMemberId()
Get the owner Id of the catalog entry
Returns:
java.lang.Long

getMfname

public java.lang.String getMfname()
Get the manufacturer name of the catalog entry
Returns:
java.lang.String

getMfpartnumber

public java.lang.String getMfpartnumber()
Get the manufacturer part number of the catalog entry
Returns:
java.lang.String

getName

public java.lang.String getName()
Get the language dependent name of the catalog entry
Returns:
java.lang.String

getOnauction

public java.lang.Integer getOnauction()
Get the on auction option of the catalog entry
Returns:
java.lang.Integer

getOnspecial

public java.lang.Integer getOnspecial()
Get the on special option of the catalog entry
Returns:
java.lang.Integer

getPartnumber

public java.lang.String getPartnumber()
Get the part number of the catalog entry
Specified by:
getPartnumber in interface CatalogEntryUpdateCmd
Returns:
java.lang.String

getPublished

public java.lang.Integer getPublished()
Get the published flag of the catalog entry description 0 = catalog entry description not published 1 = catalog entry description published
Returns:
java.lang.Integer

getShortdescription

public java.lang.String getShortdescription()
Get the short description of the catalog entry description
Returns:
java.lang.String

getThumbnail

public java.lang.String getThumbnail()
Get thumbnail image of the catalog entry description
Returns:
java.lang.String

getURL

public java.lang.String getURL()
Get the redirect URL
Returns:
java.lang.String

getXMLdetail

public java.lang.String getXMLdetail()
Get the XML detail of the catalog entry description
Returns:
java.lang.String

performExecute

public void performExecute()
                    throws ECException
The main program for CatalogEntryUpdate command
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException -  

reset

public void reset()
This method reset all the variables used in CatalogEntryUpdate command
Overrides:
reset in class AbstractECTargetableCommand

setAuxdescription1

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

setAuxdescription2

public void setAuxdescription2(java.lang.String astrAuxdescription2)
Set the second additional description for the catalog entry description
Specified by:
setAuxdescription2 in interface CatalogEntryUpdateCmd
Parameters:
astrAuxdescription2 - java.lang.String

setAvailabilitydate

public void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
Set the availability date for the catalog entry description
Specified by:
setAvailabilitydate in interface CatalogEntryUpdateCmd
Parameters:
atmAvailabilitydate - java.sql.Timestamp

setAvailable

public void setAvailable(java.lang.Integer anAvailable)
Set the number of days to available for the catalog entry
Specified by:
setAvailable in interface CatalogEntryUpdateCmd
Parameters:
anAvailable - java.lang.Integer

setBuyable

public void setBuyable(java.lang.Integer anBuyable)
Set the buyable option of the catalog entry 0 = catalog entry not buyable 1 = catalog entry buyable
Specified by:
setBuyable in interface CatalogEntryUpdateCmd
Parameters:
anBuyable - java.lang.Integer

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Set the catalog entry Id
Specified by:
setCatentryId in interface CatalogEntryUpdateCmd
Parameters:
anCatentryId - java.lang.Long

setCatEntURL

public void setCatEntURL(java.lang.String astrCatEntURL)
Set the URL path for the catalog entry
Specified by:
setCatEntURL in interface CatalogEntryUpdateCmd
Parameters:
astrCatEntURL - java.lang.String

setDescLanguage

public void setDescLanguage(java.lang.Integer anDescLanguage)
Set language Id of catalog entry description
Specified by:
setDescLanguage in interface CatalogEntryUpdateCmd
Parameters:
anDescLanguage - java.lang.Integer

setExpirationdate

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

setField1

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

setField2

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

setField3

public void setField3(java.math.BigDecimal adField3)
Set field 3 of the catalog entry
Specified by:
setField3 in interface CatalogEntryUpdateCmd
Parameters:
adField - java.math.BigDecimal

setField4

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

setField5

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

setFullimage

public void setFullimage(java.lang.String astrFullimage)
Set the path of the full image of the catalog entry description
Specified by:
setFullimage in interface CatalogEntryUpdateCmd
Parameters:
astrFullimage - java.lang.String

setKeyword

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

setLastupdate

public void setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog entry was updated
Parameters:
atmLastupdate - java.sql.Timestamp

setLongdescription

public void setLongdescription(java.lang.String astrLongdescription)
Set the long description of catalog entry
Specified by:
setLongdescription in interface CatalogEntryUpdateCmd
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
Specified by:
setMarkfordelete in interface CatalogEntryUpdateCmd
Parameters:
anMarkfordelete - java.lang.Integer

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the owner id of the catalog entry
Specified by:
setMemberId in interface CatalogEntryUpdateCmd
Parameters:
anMemberId - java.lang.Long

setMfname

public void setMfname(java.lang.String astrMfname)
Set manufacturer name of the catalog entry
Specified by:
setMfname in interface CatalogEntryUpdateCmd
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
Specified by:
setMfpartnumber in interface CatalogEntryUpdateCmd
Parameters:
astrMfpartnumber - java.lang.String

setName

public void setName(java.lang.String astrName)
Set language dependent name of catalog entry description
Specified by:
setName in interface CatalogEntryUpdateCmd
Parameters:
astrName - java.lang.String

setOnauction

public 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
Specified by:
setOnauction in interface CatalogEntryUpdateCmd
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
Specified by:
setOnspecial in interface CatalogEntryUpdateCmd
Parameters:
anOnspecial - java.lang.Integer

setPartnumber

public void setPartnumber(java.lang.String astrPartnumber)
Set the partnumber of the catalog entry
Specified by:
setPartnumber in interface CatalogEntryUpdateCmd
Parameters:
astrPartnumber - java.lang.String

setPublished

public 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
Specified by:
setPublished in interface CatalogEntryUpdateCmd
Parameters:
anPublished - java.lang.Integer

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
This method obtain the input parameters for CatalogEntryUpdate command
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Throws:
ECApplicationException -  

setShortdescription

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

setThumbnail

public void setThumbnail(java.lang.String astrThumbnail)
Set the path to the thumbnail image of the catalog entry description
Specified by:
setThumbnail in interface CatalogEntryUpdateCmd
Parameters:
astrThumbnail - java.lang.String

setURL

public void setURL(java.lang.String astrURL)
Set a redirect URL
Specified by:
setURL in interface CatalogEntryUpdateCmd
Parameters:
astrURL - java.lang.String

setXMLdetail

public void setXMLdetail(java.lang.String astrXMLdetail)
Set the XML detail of the catalog entry description
Specified by:
setXMLdetail in interface CatalogEntryUpdateCmd
Parameters:
astrXMLdetail - java.lang.String

validateParameters

public void validateParameters()
                        throws ECException
This method validates the parameters for CatalogEntryUpdate command
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException -