|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.CatalogEntryAddCmdImpl
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 |
protected boolean bAddCatentdescOnly
public static final java.lang.String CLASSNAME
public static final 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
Constructor Detail |
public CatalogEntryAddCmdImpl()
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.Long getBaseItemId()
public java.lang.Integer getBuyable()
public java.lang.Long getCatalogId()
public java.lang.Long getCatentryId()
getCatentryId
in interface CatalogEntryAddCmd
public java.lang.Long getCatentryIdParent()
public java.lang.String getCatenttypeId()
public java.lang.String getCatEntURL()
public java.lang.Long getCatgroupId()
public java.lang.Integer getDescLanguage()
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.lang.Long getItemSpcId()
public java.sql.Timestamp getLastupdate()
public java.lang.String getLongdescription()
public java.lang.Integer getMarkfordelete()
public 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 CatalogEntryAddCmd
public java.lang.Integer getPublished()
public java.lang.String getShortdescription()
public java.lang.String getThumbnail()
public java.lang.String getURL()
public java.lang.String getXMLdetail()
public void performExecute() throws ECException
ECCommand
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void reset()
reset
in class AbstractECTargetableCommand
public void setAuxdescription1(java.lang.String astrAuxdescription1)
setAuxdescription1
in interface CatalogEntryAddCmd
astrAuxdescription1
- java.lang.Stringpublic void setAuxdescription2(java.lang.String astrAuxdescription2)
setAuxdescription2
in interface CatalogEntryAddCmd
astrAuxdescription2
- java.lang.Stringpublic void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
setAvailabilitydate
in interface CatalogEntryAddCmd
atmAvailabilitydate
- java.sql.Timestamppublic void setAvailable(java.lang.Integer anAvailable)
setAvailable
in interface CatalogEntryAddCmd
anAvailable
- java.lang.Integerpublic void setBaseItemId(java.lang.Long anBaseItemId)
anBaseItemId
- java.lang.Longpublic void setBuyable(java.lang.Integer anBuyable)
setBuyable
in interface CatalogEntryAddCmd
anBuyable
- java.lang.Integerpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface CatalogEntryAddCmd
anCatalog
- java.lang.Longpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId
in interface CatalogEntryAddCmd
anCatentryId
- java.lang.Longpublic void setCatentryIdParent(java.lang.Long anCatentryIdParent)
setCatentryIdParent
in interface CatalogEntryAddCmd
anCatentryIdParent
- java.lang.Longpublic void setCatenttypeId(java.lang.String astrCatenttypeId)
setCatenttypeId
in interface CatalogEntryAddCmd
astrCatenttypeId
- java.lang.Stringpublic void setCatEntURL(java.lang.String astrCatEntURL)
setCatEntURL
in interface CatalogEntryAddCmd
astrCatEntURL
- java.lang.Stringpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId
in interface CatalogEntryAddCmd
anCatgroupId
- java.lang.Longpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface CatalogEntryAddCmd
anDescLanguage
- java.lang.Integerpublic void setExpirationdate(java.sql.Timestamp atmExpirationdate)
setExpirationdate
in interface CatalogEntryAddCmd
atmExpirationdate
- java.sql.Timestamppublic void setField1(java.lang.Integer anField1)
setField1
in interface CatalogEntryAddCmd
anField1
- java.lang.Integerpublic void setField2(java.lang.Integer anField2)
setField2
in interface CatalogEntryAddCmd
anField2
- java.lang.Integerpublic void setField3(java.math.BigDecimal adField3)
setField3
in interface CatalogEntryAddCmd
adField3
- java.math.BigDecimalpublic void setField4(java.lang.String astrField4)
setField4
in interface CatalogEntryAddCmd
astrField4
- java.lang.Stringpublic void setField5(java.lang.String astrField5)
setField5
in interface CatalogEntryAddCmd
astrField5
- java.lang.Stringpublic void setFullimage(java.lang.String astrFullimage)
setFullimage
in interface CatalogEntryAddCmd
astrFullimage
- java.lang.Stringpublic void setItemSpcId(java.lang.Long anItemSpcId)
anItemSpcId
- java.lang.Longpublic void setKeyword(java.lang.String astrKeyword)
setKeyword
in interface CatalogEntryAddCmd
astrKeyword
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate
- java.sql.Timestamppublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription
in interface CatalogEntryAddCmd
astrLongdescription
- java.lang.Stringpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete
in interface CatalogEntryAddCmd
anMarkfordelete
- java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface CatalogEntryAddCmd
anMemberId
- java.lang.Longpublic void setMfname(java.lang.String astrMfname)
setMfname
in interface CatalogEntryAddCmd
astrMfname
- java.lang.Stringpublic void setMfpartnumber(java.lang.String astrMfpartnumber)
setMfpartnumber
in interface CatalogEntryAddCmd
astrMfpartnumber
- java.lang.Stringpublic void setName(java.lang.String astrName)
setName
in interface CatalogEntryAddCmd
astrName
- java.lang.Stringpublic void setOnauction(java.lang.Integer anOnauction)
setOnauction
in interface CatalogEntryAddCmd
anOnauction
- java.lang.Integerpublic void setOnspecial(java.lang.Integer anOnspecial)
setOnspecial
in interface CatalogEntryAddCmd
anOnspecial
- java.lang.Integerpublic void setPartnumber(java.lang.String astrPartnumber)
setPartnumber
in interface CatalogEntryAddCmd
java.lang.String
- public void setPublished(java.lang.Integer anPublished)
setPublished
in interface CatalogEntryAddCmd
anPublished
- java.lang.Integerpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- TypedPropertyECApplicationException
- public void setSequenceForCatentrel(java.lang.Double adSequenceForCatentrel)
setSequenceForCatentrel
in interface CatalogEntryAddCmd
adSequenceForCatentrel
- java.lang.Doublepublic void setSequenceForCatgpenrel(java.lang.Double adSequenceForCatgpenrel)
setSequenceForCatgpenrel
in interface CatalogEntryAddCmd
adSequenceForCatgpenrel
- java.lang.Doublepublic void setShortdescription(java.lang.String astrShortdescription)
setShortdescription
in interface CatalogEntryAddCmd
astrShortdescription
- java.lang.Stringpublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail
in interface CatalogEntryAddCmd
astrThumbnail
- java.lang.Stringpublic void setURL(java.lang.String astrURL)
setURL
in interface CatalogEntryAddCmd
astrURL
- java.lang.Stringpublic void setXMLdetail(java.lang.String astrXMLdetail)
setXMLdetail
in interface CatalogEntryAddCmd
astrXMLdetail
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |