public class CatalogEntryUpdateCmdImpl extends ControllerCommandImpl implements CatalogEntryUpdateCmd
CatalogEntryUpdateCmd
is a URL and controller command that:
CATENTRY
table, except IBM internal use columns.
CATENTDESC
table
CatalogEntryAccessBean
CatalogEntryDescriptionAccessBean
BaseItemDescriptionAccessBean
ItemSpecificationAccessBean
BaseItemAccessBean
CatalogEntryDescriptionAccessBean
, BaseItemDescriptionAccessBean
UpdateCatalogEntryCmd
,
UpdateCatalogEntryDescCmd
.
catentryId
or partnumber
markForDelete
,
mfName
, mfPartnumber
, onAuction
, onSpecial
, catEntURL
, aux1
, aux2
,
available, fImage
, descLangId
, lDesc
, name, published, sDesc
, tImage
, XML, URL,
startDate
, endDate
, availabilityDate
, lastOrderDate
, endOfServiceDate
, discontinueDate
. descLangId
=language being used, published=0, memberId
= owner ID of store.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogEntryUpdateCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Constructor and Description |
---|
CatalogEntryUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
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.sql.Timestamp |
getAvailabilityDate()
Get the availability date for the catalog entry
|
java.lang.Integer |
getAvailable()
Get the length of time to available of the catalog entry
|
java.sql.Timestamp |
getAvailablitydate()
Get the availability 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 catalog entry
|
java.lang.Integer |
getDescLanguage()
Get the language Id of the catalog entry description
|
java.sql.Timestamp |
getDiscontinueDate()
Get the discontinue date for the catalog entry
|
java.sql.Timestamp |
getEndDate()
Get the end date for the catalog entry
|
java.sql.Timestamp |
getEndOfServiceDate()
Get the
endOfService 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 |
getLastOrderDate()
Get the
lastOrder date for the catalog entry |
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
|
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 |
setAvailabilityDate(java.sql.Timestamp atmAvailabilityDate)
Set the availability date for the catalog entry
|
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 |
setDiscontinueDate(java.sql.Timestamp atmDiscontinueDate)
Set a discontinue date for the catalog entry
|
void |
setEndDate(java.sql.Timestamp atmEndDate)
Set an end date for the catalog entry
|
void |
setEndOfServiceDate(java.sql.Timestamp atmEndOfServiceDate)
Set the
endOfService 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 |
setLastOrderDate(java.sql.Timestamp atmLastOrderDate)
Set a
lastOrder date 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
|
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 |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
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()
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.sql.Timestamp getAvailabilityDate()
public java.sql.Timestamp getLastOrderDate()
lastOrder
date for the catalog entrypublic java.sql.Timestamp getEndOfServiceDate()
endOfService
date for the catalog entrypublic java.sql.Timestamp getDiscontinueDate()
public java.lang.String getThumbnail()
public java.lang.String getURL()
public java.lang.String getXMLdetail()
public void performExecute() throws ECException
CatalogEntryUpdate
command.
This method calls the UpdateCatalogEntryCmd
, and UpdateCatalogEntryDescCmd
task commands.
Then the catalog entry ID, and description language are set in the response properties.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
CatalogEntryUpdate
commandreset
in interface com.ibm.websphere.command.Command
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
adField
- java.math.BigDecimalpublic 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)
partnumber
of the catalog entrysetPartnumber
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
CatalogEntryUpdate
commandsetRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
reqParms
- This is an object that represents the 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 setAvailabilityDate(java.sql.Timestamp atmAvailabilityDate)
setAvailabilityDate
in interface CatalogEntryUpdateCmd
atmAvailabilityDate
- java.sql.Timestamppublic void setLastOrderDate(java.sql.Timestamp atmLastOrderDate)
lastOrder
date for the catalog entrysetLastOrderDate
in interface CatalogEntryUpdateCmd
atmLastOrderDate
- java.sql.Timestamppublic void setEndOfServiceDate(java.sql.Timestamp atmEndOfServiceDate)
endOfService
date for the catalog entrysetEndOfServiceDate
in interface CatalogEntryUpdateCmd
atmEndOfServiceDate
- java.sql.Timestamppublic void setDiscontinueDate(java.sql.Timestamp atmDiscontinueDate)
setDiscontinueDate
in interface CatalogEntryUpdateCmd
atmDiscontinueDate
- 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
CatalogEntryUpdate
commandvalidateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException