public class CatalogGroupAddCmdImpl extends ControllerCommandImpl implements CatalogGroupAddCmd
CatalogGroupAddCmd is a URL and controller command that:
CATGROUP table, except IBM internal use field and the CATGROUP.LASTUPDATE column.
CATGRPDESC table.
catalogId, catgroupIdParent.
CatalogGroupAccessBean
CatalogGroupDescriptionAccessBean
StoreCatalogGroupAccessBean
CatalogGroupRelationAccessBean
AddCatalogGroup,
AddCatalogGroupDescCmd.
CatGroupStoreRelAddCmd,
CatGroupRelAddCmd.
catgroupId (if adding Catalog Group Description). catalogId + catgroupIdParent). fImage, descLangId, lDesc, sDesc, tImage, URL. | Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogGroupAddCmdImpl".
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName| Constructor and Description |
|---|
CatalogGroupAddCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog group in the catalog, parent catalog group,
child catalog group relationship
|
java.lang.Long |
getCatgroupId()
Get the catalog group Id
|
java.lang.Long |
getCatgroupIdParent()
Get the parent catalog group Id for the new catalog group in the catalog, parent catalog
group, child catalog group relationship
|
java.lang.Integer |
getDescLanguage()
Get language id for 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 path of the full image of the catalog group description
|
java.lang.String |
getIdentifier()
Get the catalog group identifier
|
java.lang.String |
getKeyword()
Get the keyword for the catalog group description
|
java.sql.Timestamp |
getLastupdate()
Get the last update time of the catalog group
|
java.lang.String |
getLongdescription()
Get long description of the catalog group description
|
java.lang.Integer |
getMarkfordelete()
Get the mark for delete value of the catalog group
|
java.lang.String |
getName()
Get language dependent name of the catalog group description
|
java.lang.String |
getNote()
Get the footnote for the catalog group description
|
java.lang.String |
getOID()
Get the object identifier of the catalog group
|
java.lang.Integer |
getPublished()
Get published value of the catalog group description
0 = not published
1 = published
|
java.lang.String |
getShortdescription()
Get the short description of the catalog group description
|
java.lang.String |
getThumbnail()
Get the path to thumbnail image for the catalog group description
|
java.lang.String |
getURL()
Get the redirect URL
|
void |
performExecute()
The main program for
CatalogGroupAdd command. |
void |
reset()
This method reset all the variables used in
CatalogGroupAdd command |
void |
setCatalogId(java.lang.Long anCatalogId)
Set the catalog Id for the catalog group in the catalog, parent catalog group,
child catalog group relationship
|
void |
setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id
|
void |
setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
Set parent catalog group Id for the catalog group in the catalog,
parent catalog group, child catalog group relationship
|
void |
setDescLanguage(java.lang.Integer anDescLanguage)
Set the 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 field2 of the catalog group
|
void |
setFullimage(java.lang.String astrFullimage)
Set the path of the full image for 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 the catalog group
|
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 catalog group description
|
void |
setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag for the catalog group
0, null = not marked for delete
1 = 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 catalog group description
|
void |
setNote(java.lang.String astrNote)
Set the footnote of the catalog group description
|
void |
setOID(java.lang.String astrOID)
Set the object id of the catalog group
|
void |
setPublished(java.lang.Integer anPublished)
Set the published flag of catalog group description
|
void |
setRequestProperties(TypedProperty reqParms)
This method obtains the input parameters for
CatalogGroupAdd command |
void |
setSequenceForCatgrprel(java.lang.Double adSequenceForCatgrprel)
Set the sequence number for the catalog group to catalog group relationship
between the new catalog group and the parent catalog group
|
void |
setShortdescription(java.lang.String astrShortdescription)
Set the short description of catalog group description
|
void |
setThumbnail(java.lang.String astrThumbnail)
Set 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
CatalogGroupAdd command |
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.Long getCatalogId()
public java.lang.Long getCatgroupId()
getCatgroupId in interface CatalogGroupAddCmdpublic java.lang.Long getCatgroupIdParent()
public java.lang.String getIdentifier()
getIdentifier in interface CatalogGroupAddCmdpublic 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 getKeyword()
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 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
CatalogGroupAdd command.
This method calls the AddCatalogGroupCmd, AddCatalogGroupDescCmd, and CatGroupRelAddCmd task commands.
Then the catalog group ID and catalog group parent ID are set in the responsePropertise.performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void reset()
CatalogGroupAdd commandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void setCatalogId(java.lang.Long anCatalogId)
setCatalogId in interface CatalogGroupAddCmdanCatalogId - java.lang.Longpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId in interface CatalogGroupAddCmdanCatgroupId - java.lang.Longpublic void setIdentifier(java.lang.String astrIdentifier)
setIdentifier in interface CatalogGroupAddCmdastrIdentifier - java.lang.Stringpublic void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
setCatgroupIdParent in interface CatalogGroupAddCmdanCatgroupIdParent - java.lang.Longpublic void setDescLanguage(java.lang.Integer anDescLanguage)
setDescLanguage in interface CatalogGroupAddCmdanDescLanguage - java.lang.Integerpublic void setDisplay(java.lang.String astrDisplay)
setDisplay in interface CatalogGroupAddCmdastrDisplay - java.lang.Stringpublic void setField1(java.lang.String astrField1)
setField1 in interface CatalogGroupAddCmdastrField1 - java.lang.Stringpublic void setField2(java.lang.String astrField2)
setField2 in interface CatalogGroupAddCmdastrField2 - java.lang.Stringpublic void setFullimage(java.lang.String astrFullimage)
setFullimage in interface CatalogGroupAddCmdastrFullimage - java.lang.Stringpublic void setKeyword(java.lang.String astrKeyword)
setKeyword in interface CatalogGroupAddCmdastrKeyword - java.lang.Stringpublic void setLastupdate(java.sql.Timestamp atmLastupdate)
setLastupdate in interface CatalogGroupAddCmdatmLastupdate - java.sql.Timestamppublic void setLongdescription(java.lang.String astrLongdescription)
setLongdescription in interface CatalogGroupAddCmdastrLongdescription - java.lang.Stringpublic void setMarkfordelete(java.lang.Integer anMarkfordelete)
setMarkfordelete in interface CatalogGroupAddCmdanMarkfordelete - java.lang.Integerpublic void setMemberId(java.lang.Long anMemberId)
setMemberId in interface CatalogGroupAddCmdanMemberId - java.lang.Longpublic void setName(java.lang.String astrName)
setName in interface CatalogGroupAddCmdastrName - java.lang.Stringpublic void setOID(java.lang.String astrOID)
setOID in interface CatalogGroupAddCmdastrOID - java.lang.Stringpublic void setPublished(java.lang.Integer anPublished)
setPublished in interface CatalogGroupAddCmdanPublished - java.lang.Integerpublic void setSequenceForCatgrprel(java.lang.Double adSequenceForCatgrprel)
setSequenceForCatgrprel in interface CatalogGroupAddCmdadSequenceForCatgrprel - java.lang.Doublepublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
CatalogGroupAdd commandsetRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplreqParms - This is an object that represents the request properties.ECApplicationExceptionpublic void setShortdescription(java.lang.String astrShortdescription)
setShortdescription in interface CatalogGroupAddCmdastrShortdescription - java.lang.Stringpublic void setThumbnail(java.lang.String astrThumbnail)
setThumbnail in interface CatalogGroupAddCmdastrThumbnail - java.lang.Stringpublic void setNote(java.lang.String astrNote)
setNote in interface CatalogGroupAddCmdastrNote - Footnote of the catalog grouppublic void setURL(java.lang.String astrURL)
setURL in interface CatalogGroupAddCmdastrURL - java.lang.Stringpublic void validateParameters()
throws ECException
CatalogGroupAdd commandvalidateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException