com.ibm.commerce.catalogmanagement.commands
Class CatalogEntryAddCmdImpl

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

public class CatalogEntryAddCmdImpl
extends ControllerCommandImpl
implements CatalogEntryAddCmd

Implementation for CatalogEntryAdd command which is the URL command for adding a Catalog Entry object


Field Summary
protected  boolean bAddCatentdescOnly
           
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  java.math.BigDecimal idField3
           
protected  java.lang.Double idSequenceForCatentrel
           
protected  java.lang.Double idSequenceForCatgpenrel
           
protected  java.lang.Integer inAvailable
           
protected  java.lang.Long inBaseItemId
           
protected  java.lang.Integer inBuyable
           
protected  java.lang.Long inCatalogId
           
protected  java.lang.Long inCatentryId
           
protected  java.lang.Long inCatentryIdParent
           
protected  java.lang.Long inCatgroupId
           
protected  java.lang.Integer inDescLanguage
           
protected  java.lang.Integer inField1
           
protected  java.lang.Integer inField2
           
protected  java.lang.Long inItemSpcId
           
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
CatalogEntryAddCmdImpl()
           
 
Method Summary
 java.lang.String getAuxdescription1()
          Get the first 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 description
 java.sql.Timestamp getAvailablitydate()
          Get availablility date of the catalog entry description
 java.lang.Long getBaseItemId()
          Get the base item Id of the catalog entry
 java.lang.Integer getBuyable()
          Get the buyable option for the catalog entry
 java.lang.Long getCatalogId()
          Get the catalog Id for the catalog entry in the catalog, catalog group, catalog entry relationship
 java.lang.Long getCatentryId()
          Get the catalog entry Id
 java.lang.Long getCatentryIdParent()
          Get the parent catalog entry Id for the catalog entry to catalog entry relationshi
 java.lang.String getCatenttypeId()
          Get the catalog entry type of the Catalog Entry catalog entry type Id fully supported by Catalog Management API are: 1.
 java.lang.String getCatEntURL()
          Get the URL of the catentry entry
 java.lang.Long getCatgroupId()
          Get the catalog group Id for the catalog entry in the catalog, catalog group, catalog entry relationship
 java.lang.Integer getDescLanguage()
          Get the language Id of the catalog entry description
 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 for the catalog entry
 java.lang.Long getItemSpcId()
          Get the item specification Id of the catalog entry (for an item)
 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
 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
 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 value of the catentry entry 0 = catalog entry not on auction 1 = catalog entry on auction
 java.lang.Integer getOnspecial()
          Get the on special value of the catentry entry 0 = catalog entry not on special 1 = catalog entry on special
 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
 java.lang.String getThumbnail()
          Get the thumbnail image of the catalog entry
 java.lang.String getURL()
          Get the redirect URL after the command is executed
 java.lang.String getXMLdetail()
          Get XML detail of the catalog entry description
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          This method reset all the variables used in CatalogEntryAdd command
 void setAuxdescription1(java.lang.String astrAuxdescription1)
          Set the first additional description for the catalog entry
 void setAuxdescription2(java.lang.String astrAuxdescription2)
          Set the second 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 number of day to available for the catalog entry
 void setBaseItemId(java.lang.Long anBaseItemId)
          Set the base item Id for the catalog entry
 void setBuyable(java.lang.Integer anBuyable)
          Set the buyable option for the catalog entry 0 - Non Buyable 1 - Buyable
 void setCatalogId(java.lang.Long anCatalogId)
          Set a catalog Id for the catalog entry in the catalog, catalog group, catalog entry relationship
 void setCatentryId(java.lang.Long anCatentryId)
          Set the catalog entry Id
 void setCatentryIdParent(java.lang.Long anCatentryIdParent)
          Set the parent catalog entry Id in the catalog entry to catalog entry relationship
 void setCatenttypeId(java.lang.String astrCatenttypeId)
          Set the catalog entry type Id catalog entry type Id fully supported by Catalog Management API are: 1.
 void setCatEntURL(java.lang.String astrCatEntURL)
          Set the URL path for the catalog entry
 void setCatgroupId(java.lang.Long anCatgroupId)
          Set the catalog group Id for the catalog entry in the catalog, catalog group, catalog entry relationship
 void setDescLanguage(java.lang.Integer anDescLanguage)
          Set language Id of catalog entry description
 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 setItemSpcId(java.lang.Long anItemSpcId)
          Set the item specification Id of the catalog entry
 void setKeyword(java.lang.String astrKeyword)
          Set the keyword for the catalog entry
 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 description
 void setMarkfordelete(java.lang.Integer anMarkfordelete)
          Set the Mark For Delete option 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 the language dependent name of the 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
 void setRequestProperties(TypedProperty reqParms)
          Set the request properties
 void setSequenceForCatentrel(java.lang.Double adSequenceForCatentrel)
          Set the sequence number between the new catalog entry and the supplied parent catalog entry
 void setSequenceForCatgpenrel(java.lang.Double adSequenceForCatgpenrel)
          Set the sequence number between the new catalog entry and the supplied catalog group
 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 the redirect URL
 void setXMLdetail(java.lang.String astrXMLdetail)
          Set XML detail of catalog entry description
 void validateParameters()
          This method validate the parameters
 
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

bAddCatentdescOnly

protected boolean bAddCatentdescOnly

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

idField3

protected java.math.BigDecimal idField3

idSequenceForCatentrel

protected java.lang.Double idSequenceForCatentrel

idSequenceForCatgpenrel

protected java.lang.Double idSequenceForCatgpenrel

inAvailable

protected java.lang.Integer inAvailable

inBaseItemId

protected java.lang.Long inBaseItemId

inBuyable

protected java.lang.Integer inBuyable

inCatalogId

protected java.lang.Long inCatalogId

inCatentryId

protected java.lang.Long inCatentryId

inCatentryIdParent

protected java.lang.Long inCatentryIdParent

inCatgroupId

protected java.lang.Long inCatgroupId

inDescLanguage

protected java.lang.Integer inDescLanguage

inField1

protected java.lang.Integer inField1

inField2

protected java.lang.Integer inField2

inItemSpcId

protected java.lang.Long inItemSpcId

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

CatalogEntryAddCmdImpl

public CatalogEntryAddCmdImpl()
Method Detail

getAuxdescription1

public java.lang.String getAuxdescription1()
Get the first 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 description
Returns:
java.lang.Integer

getAvailablitydate

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

getBaseItemId

public java.lang.Long getBaseItemId()
Get the base item Id of the catalog entry
Returns:
java.lang.Long

getBuyable

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

getCatalogId

public java.lang.Long getCatalogId()
Get the catalog Id for the catalog entry in the catalog, catalog group, catalog entry relationship
Returns:
java.lang.Long

getCatentryId

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

getCatentryIdParent

public java.lang.Long getCatentryIdParent()
Get the parent catalog entry Id for the catalog entry to catalog entry relationshi
Returns:
java.lang.Long

getCatenttypeId

public java.lang.String getCatenttypeId()
Get the catalog entry type of the Catalog Entry catalog entry type Id fully supported by Catalog Management API are: 1. ProductBean 2. ItemBean Other possible catalog entry type Id include: 3. PackageBean 4. BundleBean 5. DynamicKitBean However, these types are not fully supported by the Catalog Management API
Returns:
java.lang.String

getCatEntURL

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

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id for the catalog entry in the catalog, catalog group, catalog entry relationship
Returns:
java.lang.Long

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 for the item version
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 for the catalog entry
Returns:
java.lang.String

getItemSpcId

public java.lang.Long getItemSpcId()
Get the item specification Id of the catalog entry (for an item)
Returns:
java.lang.Long

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
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

public 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 value of the catentry entry 0 = catalog entry not on auction 1 = catalog entry on auction
Returns:
java.lang.Integer

getOnspecial

public java.lang.Integer getOnspecial()
Get the on special value of the catentry entry 0 = catalog entry not on special 1 = catalog entry on special
Returns:
java.lang.Integer

getPartnumber

public java.lang.String getPartnumber()
Get the part number of the catalog entry
Specified by:
getPartnumber in interface CatalogEntryAddCmd
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
Returns:
java.lang.String

getThumbnail

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

getURL

public java.lang.String getURL()
Get the redirect URL after the command is executed
Returns:
java.lang.String

getXMLdetail

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

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

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

setAuxdescription1

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

setAuxdescription2

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

setAvailabilitydate

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

setAvailable

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

setBaseItemId

public void setBaseItemId(java.lang.Long anBaseItemId)
Set the base item Id for the catalog entry
Parameters:
anBaseItemId - java.lang.Long

setBuyable

public void setBuyable(java.lang.Integer anBuyable)
Set the buyable option for the catalog entry 0 - Non Buyable 1 - Buyable
Specified by:
setBuyable in interface CatalogEntryAddCmd
Parameters:
anBuyable - java.lang.Integer

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)
Set a catalog Id for the catalog entry in the catalog, catalog group, catalog entry relationship
Specified by:
setCatalogId in interface CatalogEntryAddCmd
Parameters:
anCatalog - java.lang.Long

setCatentryId

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

setCatentryIdParent

public void setCatentryIdParent(java.lang.Long anCatentryIdParent)
Set the parent catalog entry Id in the catalog entry to catalog entry relationship
Specified by:
setCatentryIdParent in interface CatalogEntryAddCmd
Parameters:
anCatentryIdParent - java.lang.Long

setCatenttypeId

public void setCatenttypeId(java.lang.String astrCatenttypeId)
Set the catalog entry type Id catalog entry type Id fully supported by Catalog Management API are: 1. ProductBean 2. ItemBean Other possible catalog entry type Id include: 3. PackageBean 4. BundleBean 5. DynamicKitBean However, these types are not fully supported by the Catalog Management API
Specified by:
setCatenttypeId in interface CatalogEntryAddCmd
Parameters:
astrCatenttypeId - java.lang.String

setCatEntURL

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

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id for the catalog entry in the catalog, catalog group, catalog entry relationship
Specified by:
setCatgroupId in interface CatalogEntryAddCmd
Parameters:
anCatgroupId - java.lang.Long

setDescLanguage

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

setExpirationdate

public void setExpirationdate(java.sql.Timestamp atmExpirationdate)
Set an expiration date for the item version
Specified by:
setExpirationdate in interface CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
Parameters:
adField3 - java.math.BigDecimal

setField4

public void setField4(java.lang.String astrField4)
Set field 4 of the catalog entry
Specified by:
setField4 in interface CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
Parameters:
astrFullimage - java.lang.String

setItemSpcId

public void setItemSpcId(java.lang.Long anItemSpcId)
Set the item specification Id of the catalog entry
Parameters:
anItemSpcId - java.lang.Long

setKeyword

public void setKeyword(java.lang.String astrKeyword)
Set the keyword for the catalog entry
Specified by:
setKeyword in interface CatalogEntryAddCmd
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 description
Specified by:
setLongdescription in interface CatalogEntryAddCmd
Parameters:
astrLongdescription - java.lang.String

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the Mark For Delete option of the catalog entry 0 = catalog entry not marked for delete 1 = catalog entry marked for delete
Specified by:
setMarkfordelete in interface CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
Parameters:
astrMfpartnumber - java.lang.String

setName

public void setName(java.lang.String astrName)
Set the language dependent name of the catalog entry description
Specified by:
setName in interface CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
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 CatalogEntryAddCmd
Parameters:
java.lang.String -  

setPublished

public void setPublished(java.lang.Integer anPublished)
Set the published flag of the catalog entry
Specified by:
setPublished in interface CatalogEntryAddCmd
Parameters:
anPublished - java.lang.Integer

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Set the request properties
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Parameters:
reqParms - TypedProperty
Throws:
ECApplicationException -  

setSequenceForCatentrel

public void setSequenceForCatentrel(java.lang.Double adSequenceForCatentrel)
Set the sequence number between the new catalog entry and the supplied parent catalog entry
Specified by:
setSequenceForCatentrel in interface CatalogEntryAddCmd
Parameters:
adSequenceForCatentrel - java.lang.Double

setSequenceForCatgpenrel

public void setSequenceForCatgpenrel(java.lang.Double adSequenceForCatgpenrel)
Set the sequence number between the new catalog entry and the supplied catalog group
Specified by:
setSequenceForCatgpenrel in interface CatalogEntryAddCmd
Parameters:
adSequenceForCatgpenrel - java.lang.Double

setShortdescription

public void setShortdescription(java.lang.String astrShortdescription)
Set the short description of the catalog entry description
Specified by:
setShortdescription in interface CatalogEntryAddCmd
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 CatalogEntryAddCmd
Parameters:
astrThumbnail - java.lang.String

setURL

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

setXMLdetail

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

validateParameters

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