public class CatalogEntryAddCmdImpl extends ControllerCommandImpl implements CatalogEntryAddCmd
CatalogEntryAddCmd is a URL and controller command that:
baseitem, baseitem descripton, and an item version will be created. This case requires no parameters.
baseitem, baseitem description, item version, item specification, and version specification will be created. This case requires no parameters.
baseitem, baseitem description, item version, item specification, and version specification will be created. This case requires no parameters.
ProductItem, then a new baseitem, baseitem description, item version, item specification, and version specification will be created. This case requires no parameters.
CatEntryStoreRelAdd to create the store to catalog entry relationship. This case requires no parameters.
CatGroupCatEntryRelAdd to create the catalog, catalog group,
and catalog entry relationship. The required parameters are CatalogId and CatalogGroupId.
CatEntryRelAdd to create the catalog entry to catalog entry relationship. The required parameter is Parent CatalogEntryId.
CatalogEntry
CatalogEntryDescription
BaseItem, BaseItemDescription, ItemVersion.
ItemSpecification, VersionSpecification.
BaseItem, BaseItemDescription, ItemVersion, ItemSpecification, VersionSpecification.
BaseItem, BaseItemDescription, ItemVersion, ItemSpecification, VersionSpecification.
BaseItem, BaseIetmDescription, ItemVersion, ItemSpecification, VersionSpecification
CatEntryStoreRelAdd command.
CatGroupCatEntryRelAdd command.
CatEntryRelAdd command.
AddCatalogEntryCmd,
AddCatalogEntryDescCmd
CatEntryStoreRelAddCmd,
CatEntryRelAddCmd,
CatGroupCatEntryRelAddCmd
catenttypeId, or catentryId. catentryId is accepted only if this catalog entry already exists, and a new description is being added. catalogId + catgroupId), catentryIdParent markForDelete, mfName, mfPartnumber, onAuction, onSpecial,
catEntURL, aux1, aux2, available, fImage, lDesc, name,
published, sDesc, tImage, XML,descLangId, URL,
startDate, endDate, availabilityDate, lastOrderDate, endOfServiceDate, discontinueDate. | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogEntryAddCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
CatalogEntryAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuxdescription1()
Gets the additional description for the Catalog Entry.
|
java.lang.String |
getAuxdescription2()
Gets the second additional description for the Catalog Entry.
|
java.sql.Timestamp |
getAvailabilityDate()
Gets the availability date for the Catalog Entry.
|
java.lang.Integer |
getAvailable()
Gets the length of time to be available for the Catalog Entry.
|
java.sql.Timestamp |
getAvailablitydate()
Gets availablility date of the Catalog Entry description.
|
java.lang.Long |
getBaseItemId()
Gets the Base Item ID of the Catalog Entry.
|
java.lang.Integer |
getBuyable()
Gets the buyable option for the Catalog Entry.
|
java.lang.Long |
getCatalogId()
Gets the Catalog ID for the Catalog Entry in the Catalog, Catalog Group,
and Catalog Entry relationship.
|
java.lang.Long |
getCatentryId()
Gets the Catalog Entry ID.
|
java.lang.Long |
getCatentryIdParent()
Gets the parent Catalog Entry ID for the Catalog Entry to Catalog Entry relationship.
|
java.lang.String |
getCatenttypeId()
Get the Catalog Entry type of the Catalog Entry.
|
java.lang.String |
getCatEntURL()
Gets the URL of the
Catentry. |
java.lang.Long |
getCatgroupId()
Gets the Catalog Group ID for the Catalog Entry in the Catalog, Catalog Group, and
Catalog Entry relationship.
|
java.lang.Integer |
getDescLanguage()
Gets the language ID of the Catalog Entry description.
|
java.sql.Timestamp |
getDiscontinueDate()
Gets the discontinue date for the Catalog Entry.
|
java.sql.Timestamp |
getEndDate()
Gets the end date for the Catalog Entry.
|
java.sql.Timestamp |
getEndOfServiceDate()
Gets the
endOfService date for the Catalog Entry. |
java.sql.Timestamp |
getExpirationdate()
Gets the expiration date for the Item Version.
|
java.lang.Integer |
getField1()
Gets field 1 of the Catalog Entry.
|
java.lang.Integer |
getField2()
Gets field 2 of the Catalog Entry.
|
java.math.BigDecimal |
getField3()
Gets field 3 of the Catalog Entry.
|
java.lang.String |
getField4()
Gets field 4 of the Catalog Entry
|
java.lang.String |
getField5()
Gets field 5 of the Catalog Entry
|
java.lang.String |
getFullimage()
Gets the path of the full image for the Catalog Entry
|
java.lang.Long |
getItemSpcId()
Gets the Item Specification ID of the Catalog Entry, when the Catalog Entry type is an Item or Package.
|
java.sql.Timestamp |
getLastOrderDate()
Gets the
lastOrder date for the Catalog Entry. |
java.sql.Timestamp |
getLastupdate()
Get the last update time of the Catalog Entry.
|
java.lang.String |
getLongdescription()
Gets the long description of the Catalog Entry.
|
java.lang.Integer |
getMarkfordelete()
Gets the mark for delete flag of the Catalog Entry.
|
java.lang.Long |
getMemberId()
Gets the owner ID of the Catalog Entry
|
java.lang.String |
getMfname()
Gets the manufacturer name of the Catalog Entry.
|
java.lang.String |
getMfpartnumber()
Gets the manufacturer
partnumber of the Catalog Entry. |
java.lang.String |
getName()
Gets the language dependent name of the Catalog Entry.
|
java.lang.Integer |
getOnauction()
Gets the on auction flag of the Catalog Entry.
|
java.lang.Integer |
getOnspecial()
Gets the on special flag of the Catalog Entry.
|
java.lang.String |
getPartnumber()
Gets the
partnumber of the Catalog Entry |
java.lang.Integer |
getPublished()
Gets the published flag of the Catalog Entry description.
|
java.lang.String |
getShortdescription()
Gets the short description of the Catalog Entry.
|
java.sql.Timestamp |
getStartDate()
Gets the start date for the Catalog Entry.
|
java.lang.String |
getThumbnail()
Gets the thumbnail image of the Catalog Entry.
|
java.lang.String |
getURL()
Gets the redirect URL after the command is executed
|
java.lang.String |
getXMLdetail()
Gets the XML detail of the Catalog Entry description.
|
void |
performExecute()
Creates the Catalog Entry, Catalog Entry description, and the Store to Catalog Entry relationship.
|
void |
reset()
Resets the variables used.
|
void |
setAuxdescription1(java.lang.String astrAuxdescription1)
Sets the first additional description for the Catalog Entry.
|
void |
setAuxdescription2(java.lang.String astrAuxdescription2)
Sets the second additional description for the Catalog Entry.
|
void |
setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
Sets the availability date for the Catalog Entry.
|
void |
setAvailabilityDate(java.sql.Timestamp atmAvailabilityDate)
Sets the availability date for the Catalog Entry.
|
void |
setAvailable(java.lang.Integer anAvailable)
Sets the number of day available for the Catalog Entry.
|
void |
setBaseItemId(java.lang.Long anBaseItemId)
Sets the Base Item ID for the Catalog Entry
|
void |
setBuyable(java.lang.Integer anBuyable)
Sets the buyable option for the Catalog Entry.
|
void |
setCatalogId(java.lang.Long anCatalogId)
Sets the Catalog ID for the Catalog Entry in the Catalog, Catalog Group,
Catalog Entry relationship.
|
void |
setCatentryId(java.lang.Long anCatentryId)
Sets the Catalog Entry ID.
|
void |
setCatentryIdParent(java.lang.Long anCatentryIdParent)
Sets the parent Catalog Entry ID in the Catalog Entry to Catalog Entry relationship
|
void |
setCatenttypeId(java.lang.String astrCatenttypeId)
Sets the Catalog Entry Type ID.
|
void |
setCatEntURL(java.lang.String astrCatEntURL)
Sets the URL path for the Catalog Entry.
|
void |
setCatgroupId(java.lang.Long anCatgroupId)
Sets the Catalog Group ID for Catalog, Catalog Group, and
Catalog Entry relationship.
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Sets the language ID of the Catalog Entry description.
|
void |
setDiscontinueDate(java.sql.Timestamp atmDiscontinueDate)
Sets the discontinue date for the Catalog Entry.
|
void |
setEndDate(java.sql.Timestamp atmEndDate)
Sets an end date for the Catalog Entry.
|
void |
setEndOfServiceDate(java.sql.Timestamp atmEndOfServiceDate)
Sets the
endOfService date for the Catalog Entry. |
void |
setExpirationdate(java.sql.Timestamp atmExpirationdate)
Sets an expiration date for the Item Version.
|
void |
setField1(java.lang.Integer anField1)
Sets field 1 of the Catalog Entry.
|
void |
setField2(java.lang.Integer anField2)
Sets field 2 of the Catalog Entry.
|
void |
setField3(java.math.BigDecimal adField3)
Sets field 3 of the Catalog Entry.
|
void |
setField4(java.lang.String astrField4)
Sets field 4 of the Catalog Entry.
|
void |
setField5(java.lang.String astrField5)
Sets field 5 of the Catalog Entry.
|
void |
setFullimage(java.lang.String astrFullimage)
Sets the path to the full image of the Catalog Entry description.
|
void |
setItemSpcId(java.lang.Long anItemSpcId)
Sets the Item Specification ID of the Catalog Entry.
|
void |
setKeyword(java.lang.String astrKeyword)
Sets the keyword for the Catalog Entry
|
void |
setLastOrderDate(java.sql.Timestamp atmLastOrderDate)
Sets the
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)
Sets the long description of Catalog Entry.
|
void |
setMarkfordelete(java.lang.Integer anMarkfordelete)
Sets the mark for delete flag of the Catalog Entry.
|
void |
setMemberId(java.lang.Long anMemberId)
Sets the owner ID of the Catalog Entry.
|
void |
setMfname(java.lang.String astrMfname)
Sets the manufacturer name of the Catalog Entry.
|
void |
setMfpartnumber(java.lang.String astrMfpartnumber)
Sets the partnumber of the Catalog Entry used by the manufacturer.
|
void |
setName(java.lang.String astrName)
Sets the language dependent name of the Catalog Entry.
|
void |
setOnauction(java.lang.Integer anOnauction)
Sets the 'on auction flag' of Catalog Entry.
|
void |
setOnspecial(java.lang.Integer anOnspecial)
Sets the on special flag of the Catalog Entry.
|
void |
setPartnumber(java.lang.String astrPartnumber)
Sets the
partnumber of the Catalog Entry. |
void |
setPublished(java.lang.Integer anPublished)
Sets the published flag of the Catalog Entry.
|
void |
setRequestProperties(TypedProperty reqParms)
Sets the request properties.
|
void |
setSequenceForCatentrel(java.lang.Double adSequenceForCatentrel)
Sets the sequence number between the new Catalog Entry and the supplied parent Catalog Entry.
|
void |
setSequenceForCatgpenrel(java.lang.Double adSequenceForCatgpenrel)
Sets the sequence number between the new Catalog Entry and the supplied Catalog and Catalog Group.
|
void |
setShortdescription(java.lang.String astrShortdescription)
Sets the short description for the Catalog Entry.
|
void |
setStartDate(java.sql.Timestamp atmStartDate)
Sets the start date for the Catalog Entry.
|
void |
setThumbnail(java.lang.String astrThumbnail)
Sets the path to the thumbnail image of the Catalog Entry description.
|
void |
setURL(java.lang.String astrURL)
Sets the redirect URL.
|
void |
setXMLdetail(java.lang.String astrXMLdetail)
Sets the XML detail of Catalog Entry description.
|
void |
validateParameters()
Validate the parameters.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic 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.Long getBaseItemId()
public java.lang.Integer getBuyable()
public java.lang.Long getCatalogId()
getCatalogId in interface CatalogEntryAddCmdpublic java.lang.Long getCatentryId()
getCatentryId in interface CatalogEntryAddCmdpublic java.lang.Long getCatentryIdParent()
getCatentryIdParent in interface CatalogEntryAddCmdpublic java.lang.String getCatenttypeId()
public java.lang.String getCatEntURL()
Catentry.public java.lang.Long getCatgroupId()
getCatgroupId in interface CatalogEntryAddCmdpublic 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.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()
partnumber of the Catalog Entry.partnumberpublic java.lang.String getName()
public java.lang.Integer getOnauction()
public java.lang.Integer getOnspecial()
public java.lang.String getPartnumber()
partnumber of the Catalog EntrygetPartnumber in interface CatalogEntryAddCmdpartnumberpublic 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 Entry.public java.sql.Timestamp getEndOfServiceDate()
endOfService date for the Catalog Entry.public java.sql.Timestamp getDiscontinueDate()
public java.lang.String getThumbnail()
public java.lang.String getURL()
public java.lang.String getXMLdetail()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setAuxdescription1(java.lang.String astrAuxdescription1)
setAuxdescription1 in interface CatalogEntryAddCmdastrAuxdescription1 - The additional description for the Catalog Entrypublic void setAuxdescription2(java.lang.String astrAuxdescription2)
setAuxdescription2 in interface CatalogEntryAddCmdastrAuxdescription2 - The additional description for the Catalog Entrypublic void setAvailabilitydate(java.sql.Timestamp atmAvailabilitydate)
setAvailabilitydate in interface CatalogEntryAddCmdatmAvailabilitydate - The availability datepublic void setAvailable(java.lang.Integer anAvailable)
setAvailable in interface CatalogEntryAddCmdanAvailable - The time available for the Catalog Entrypublic void setBaseItemId(java.lang.Long anBaseItemId)
anBaseItemId - The Base Item IDpublic void setBuyable(java.lang.Integer anBuyable)
setBuyable in interface CatalogEntryAddCmdanBuyable - The buyable optionpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface CatalogEntryAddCmdanCatalogId - The Catalog IDpublic void setCatentryId(java.lang.Long anCatentryId)
setCatentryId in interface CatalogEntryAddCmdanCatentryId - The Catalog Entry IDpublic void setCatentryIdParent(java.lang.Long anCatentryIdParent)
setCatentryIdParent in interface CatalogEntryAddCmdanCatentryIdParent - The parent Catalog Entry IDpublic void setCatenttypeId(java.lang.String astrCatenttypeId)
setCatenttypeId in interface CatalogEntryAddCmdastrCatenttypeId - The Catalog Entry Type IDpublic void setCatEntURL(java.lang.String astrCatEntURL)
setCatEntURL in interface CatalogEntryAddCmdastrCatEntURL - The Catalog Entry URLpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId in interface CatalogEntryAddCmdanCatgroupId - The Catalog Group IDpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage in interface CatalogEntryAddCmdanDescLanguage - The language IDpublic void setEndDate(java.sql.Timestamp atmEndDate)
setEndDate in interface CatalogEntryAddCmdatmEndDate - The end datepublic void setExpirationdate(java.sql.Timestamp atmExpirationdate)
setExpirationdate in interface CatalogEntryAddCmdatmExpirationdate - The expriation datepublic void setField1(java.lang.Integer anField1)
setField1 in interface CatalogEntryAddCmdanField1 - The customizable field 1public void setField2(java.lang.Integer anField2)
setField2 in interface CatalogEntryAddCmdanField2 - The customizable field 2public void setField3(java.math.BigDecimal adField3)
setField3 in interface CatalogEntryAddCmdadField3 - The customizable field 3public void setField4(java.lang.String astrField4)
setField4 in interface CatalogEntryAddCmdastrField4 - The customizable field 4public void setField5(java.lang.String astrField5)
setField5 in interface CatalogEntryAddCmdastrField5 - The customizable field 5public void setFullimage(java.lang.String astrFullimage)
setFullimage in interface CatalogEntryAddCmdastrFullimage - The full image of the Catalog Entry descriptionpublic void setItemSpcId(java.lang.Long anItemSpcId)
anItemSpcId - The Item Specification IDpublic void setKeyword(java.lang.String astrKeyword)
setKeyword in interface CatalogEntryAddCmdastrKeyword - The Catalog Entry keywordpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
atmLastupdate - The last updated time of the Catalog Entrypublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription in interface CatalogEntryAddCmdastrLongdescription - The Catalog Entry long descriptionpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete in interface CatalogEntryAddCmdanMarkfordelete - The mark for delete flag of the Catalog Entrypublic void setMemberId(java.lang.Long anMemberId)
setMemberId in interface CatalogEntryAddCmdanMemberId - The owner IDpublic void setMfname(java.lang.String astrMfname)
setMfname in interface CatalogEntryAddCmdastrMfname - The manufacturer namepublic void setMfpartnumber(java.lang.String astrMfpartnumber)
setMfpartnumber in interface CatalogEntryAddCmdastrMfpartnumber - The manufacturer partnumber of the Catalog Entrypublic void setName(java.lang.String astrName)
setName in interface CatalogEntryAddCmdastrName - Catalog Entry language dependent namepublic void setOnauction(java.lang.Integer anOnauction)
setOnauction in interface CatalogEntryAddCmdanOnauction - The on auction flag of the Catalog Entrypublic void setOnspecial(java.lang.Integer anOnspecial)
setOnspecial in interface CatalogEntryAddCmdanOnspecial - The on special flag of the Catalog Entrypublic void setPartnumber(java.lang.String astrPartnumber)
partnumber of the Catalog Entry.setPartnumber in interface CatalogEntryAddCmdastrPartnumber - The Catalog Entry partnumberpublic void setPublished(java.lang.Integer anPublished)
setPublished in interface CatalogEntryAddCmdanPublished - The published flag of the Catalog Entrypublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - The request propertiesECApplicationExceptionpublic void setSequenceForCatentrel(java.lang.Double adSequenceForCatentrel)
setSequenceForCatentrel in interface CatalogEntryAddCmdadSequenceForCatentrel - The sequence number for the Catalog Entry to Catalog Entry relationshippublic void setSequenceForCatgpenrel(java.lang.Double adSequenceForCatgpenrel)
setSequenceForCatgpenrel in interface CatalogEntryAddCmdadSequenceForCatgpenrel - The sequence number for the Catalog to Catalog Group to Catalog Entry relationshippublic void setShortdescription(java.lang.String astrShortdescription)
setShortdescription in interface CatalogEntryAddCmdastrShortdescription - The Catalog Entry short descriptionpublic void setStartDate(java.sql.Timestamp atmStartDate)
setStartDate in interface CatalogEntryAddCmdatmStartDate - The start datepublic void setAvailabilityDate(java.sql.Timestamp atmAvailabilityDate)
setAvailabilityDate in interface CatalogEntryAddCmdatmAvailabilityDate - The availability datepublic void setLastOrderDate(java.sql.Timestamp atmLastOrderDate)
lastOrder date for the Catalog Entry.setLastOrderDate in interface CatalogEntryAddCmdatmLastOrderDate - The lastOrder datepublic void setEndOfServiceDate(java.sql.Timestamp atmEndOfServiceDate)
endOfService date for the Catalog Entry.setEndOfServiceDate in interface CatalogEntryAddCmdatmEndOfServiceDate - The endOfService datepublic void setDiscontinueDate(java.sql.Timestamp atmDiscontinueDate)
setDiscontinueDate in interface CatalogEntryAddCmdatmDiscontinueDate - The discontinue datepublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail in interface CatalogEntryAddCmdastrThumbnail - The thumbnail image of the Catalog Entry descriptionpublic void setURL(java.lang.String astrURL)
setURL in interface CatalogEntryAddCmdastrURL - The redirect URLpublic void setXMLdetail(java.lang.String astrXMLdetail)
setXMLdetail in interface CatalogEntryAddCmdastrXMLdetail - The XML detailpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException