public class CatalogGroupUpdateCmdImpl extends ControllerCommandImpl implements CatalogGroupUpdateCmd
CatalogGroupUpdateCmd
is a URL and controller command that:
CATALOG
table.
CATGRPDESC
table.
CatalogGroupAccessBean
CatalogGroupDescriptionAccessBean
UpdateCatalogGroupCmd
UpdateCatalogGroupDescCmd
catgroupId
, or identifier.masterCatalog
, catalogId
, enableContract.markForDelete
, display, fImage
, descLangId
, keyword,
lDesc
, name, published, sDesc
, tImage
, URL.descLangId
= language ID from command context. published = 0.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogGroupUpdateCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName
Constructor and Description |
---|
CatalogGroupUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getCatalogId()
Get the catalog Id
|
java.lang.Long |
getCatgroupId()
Get the catalog group Id
|
java.lang.String |
getContractEnablement()
Get the contract enablement
|
java.lang.Integer |
getDescLanguage()
Get language id of the catalog group description
|
java.lang.String |
getDisplay()
Get the display of the catalog group description
|
java.lang.String |
getField1()
Get field 1 of the catalog group
|
java.lang.String |
getField2()
Get field 2 of the catalog group
|
java.lang.String |
getFullimage()
Get the path of the full image of the catalog group description
|
java.lang.String |
getIdentifier()
Get the identifier of the catalog group
|
java.sql.Timestamp |
getLastupdate()
Get the last update time of the catalog group
|
java.lang.String |
getLongdescription()
Get the long description of the catalog group description
|
java.lang.Integer |
getMarkfordelete()
Get the mark for delete value the catalog group
0 = catalog group not marked for delete
1 = catalog group marked for delete
|
java.lang.String |
getName()
Get the language dependent name of the catalog group description
|
java.lang.String |
getNote()
Gets the footnote of the catalog group description
|
java.lang.String |
getOID()
Get the object identifier of the catalog group
|
java.lang.Integer |
getProductSetId()
Get the product set Id
|
java.lang.Integer |
getPublished()
Get the published flag of the catalog group description
0 = catalog group description not published
1 = catalog group description published
|
java.lang.String |
getShortdescription()
Get the short description of the catalog group description
|
java.lang.String |
getThumbnail()
Get the thumbnail image of the catalog group description
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
CatalogGroupUpdate command. |
void |
reset()
This method reset all the variables used in
CatalogGroupUpdate command |
void |
setCatalogId(java.lang.Long newCatalogId)
Set the catalog Id
|
void |
setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id
|
void |
setContractEnablement(java.lang.String newContractEnablement)
Set the contract enablement
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Set language id of the catalog group description
|
void |
setDisplay(java.lang.String astrDisplay)
Set the display for the catalog group description
|
void |
setField1(java.lang.String astrField1)
Set field 1 of the catalog group
|
void |
setField2(java.lang.String astrField2)
Set field 2 of the catalog group
|
void |
setFullimage(java.lang.String astrFullimage)
Set the path to the full image of catalog group description
|
void |
setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog group
|
void |
setKeyword(java.lang.String astrKeyword)
Set the keyword of catalog group description
|
void |
setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
|
void |
setLongdescription(java.lang.String astrLongdescription)
Set the long description of the catalog group description
|
void |
setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag of the catalog group
0 = catalog group not marked for delete
1 = catalog group marked for delete
|
void |
setMemberId(java.lang.Long anMemberId)
Set the owner Id of the catalog group
|
void |
setName(java.lang.String astrName)
Set the language dependent name of the catalog group description
|
void |
setNote(java.lang.String astrNote)
Sets the footnote of the catalog group description
|
void |
setOID(java.lang.String astrOID)
Set the object identifier of the catalog group
|
void |
setProductSetId(java.lang.Integer newProductSetId)
Set the product set Id
|
void |
setPublished(java.lang.Integer anPublished)
Set the published flag of the catalog group description:
0 = catalog group description not published.
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
CatalogGroupUpdate command. |
void |
setShortdescription(java.lang.String astrShortdescription)
Set the short description of the catalog group description
|
void |
setThumbnail(java.lang.String astrThumbnail)
Set the path to the thumbnail image of the catalog group description
|
void |
setURL(java.lang.String astrURL)
Set a redirect URL
|
void |
validateParameters()
This method validates the parameters for
CatalogGroupUpdate 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.Long getCatalogId()
public java.lang.Long getCatgroupId()
getCatgroupId
in interface CatalogGroupUpdateCmd
public java.lang.String getContractEnablement()
public java.lang.Integer getDescLanguage()
public java.lang.String getDisplay()
public java.lang.String getField1()
public java.lang.String getField2()
public java.lang.String getFullimage()
public java.lang.String getIdentifier()
getIdentifier
in interface CatalogGroupUpdateCmd
public java.sql.Timestamp getLastupdate()
public java.lang.String getLongdescription()
public java.lang.Integer getMarkfordelete()
public java.lang.String getName()
public java.lang.String getOID()
public java.lang.Integer getProductSetId()
public java.lang.Integer getPublished()
public java.lang.String getShortdescription()
public java.lang.String getThumbnail()
public java.lang.String getNote()
public java.lang.String getURL()
public void performExecute() throws ECException
CatalogGroupUpdate
command.
This method calls the UpdateCatalogGroupCmd
, and UpdateCatalogGroupDescCmd
task commands, and then sets the catalog group ID in the response properties.performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
CatalogGroupUpdate
commandreset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setCatalogId(java.lang.Long newCatalogId)
newCatalogId
- java.lang.Longpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId
in interface CatalogGroupUpdateCmd
anCatgroupId
- java.lang.Longpublic void setContractEnablement(java.lang.String newContractEnablement)
newContractEnablement
- java.lang.Stringpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage
in interface CatalogGroupUpdateCmd
anDescLanguage
- java.lang.Integerpublic void setDisplay(java.lang.String astrDisplay)
setDisplay
in interface CatalogGroupUpdateCmd
astrDisplay
- java.lang.Stringpublic void setField1(java.lang.String astrField1)
setField1
in interface CatalogGroupUpdateCmd
astrField1
- java.lang.Stringpublic void setField2(java.lang.String astrField2)
setField2
in interface CatalogGroupUpdateCmd
astrField2
- java.lang.Stringpublic void setFullimage(java.lang.String astrFullimage)
setFullimage
in interface CatalogGroupUpdateCmd
astrFullimage
- java.lang.Stringpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier
in interface CatalogGroupUpdateCmd
astrIdentifier
- java.lang.Stringpublic void setKeyword(java.lang.String astrKeyword)
setKeyword
in interface CatalogGroupUpdateCmd
astrKeyword
- java.lang.Stringpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
setLastupdate
in interface CatalogGroupUpdateCmd
atmLastupdate
- java.sql.Timestamppublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription
in interface CatalogGroupUpdateCmd
astrLongdescription
- java.lang.Stringpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete
in interface CatalogGroupUpdateCmd
anMarkfordelete
- java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId
in interface CatalogGroupUpdateCmd
anMemberId
- java.lang.Longpublic void setName(java.lang.String astrName)
setName
in interface CatalogGroupUpdateCmd
astrName
- java.lang.Stringpublic void setOID(java.lang.String astrOID)
setOID
in interface CatalogGroupUpdateCmd
astrOID
- java.lang.Stringpublic void setProductSetId(java.lang.Integer newProductSetId)
newProductSetId
- java.lang.Integerpublic void setPublished(java.lang.Integer anPublished)
setPublished
in interface CatalogGroupUpdateCmd
anPublished
- java.lang.Integerpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
CatalogGroupUpdate
command.setRequestProperties
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 CatalogGroupUpdateCmd
astrShortdescription
- java.lang.Stringpublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail
in interface CatalogGroupUpdateCmd
astrThumbnail
- java.lang.Stringpublic void setNote(java.lang.String astrNote)
setNote
in interface CatalogGroupUpdateCmd
astrNote
- The catalog group notepublic void setURL(java.lang.String astrURL)
setURL
in interface CatalogGroupUpdateCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
CatalogGroupUpdate
commandvalidateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException