com.ibm.commerce.catalogmanagement.commands
Interface CatalogGroupAddCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
CatalogGroupAddCmdImpl

public interface CatalogGroupAddCmd
extends ControllerCommand

Command Name: CatalogGroupAdd Command Type: URL and Controller Command Description: 1. Adds a new Catalog Group 2. Adds a new Catalog Group Description 3. Adds a relationship between the new Catalog Group and the Store Parameters: 1. All fields in the CatalogGroup, except IBM internal use field and LastUpdate. 2. All fields in the CatGroupDesc. 3. No field required Tables: 1. CatGroup 2. CatGrpDesc 3. StoreCgrp Task Commands: AddCatalogGroup, AddCatalogGroupDescCmd Other Controller Commands: CatGroupStoreRelAddCmd, CatGroupRelAddCmd Mandatory Parameters: identifier, or catgroupId (if adding Catalog Group Description) Additional Parameters: (catalogId + catgroupIdParent) Optional Parameters: field1, field2, markForDelete, display, name, published, keyword, fImage, descLangId, lDesc, sDesc, tImage, URL


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getCatgroupId()
          Get the catalog group Id
 java.lang.String getIdentifier()
          Get the catalog group identifier
 void setCatalogId(java.lang.Long anCatalogId)
          Set the catalog Id
 void setCatgroupId(java.lang.Long anCatgroupId)
          Set the catalog group Id.
 void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
          Set parent catalog group id
 void setDescLanguage(java.lang.Integer anDescLang)
          Set the language ID use for 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 of the full image of this catalog group description
 void setIdentifier(java.lang.String astrIdentifier)
          Set the catalog group identifier
 void setKeyword(java.lang.String astrKeyword)
          Set the keyword for the description 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 a long description of the catalog group
 void setMarkfordelete(java.lang.Integer anMarkfordelete)
          Set the mark for delete flag for the Catalog Group 1 = marked for delete 0, null = not mark for delete
 void setMemberId(java.lang.Long anMemberId)
          Set the owner id of the catalog group
 void setName(java.lang.String astrName)
          Set a language dependent name of the catalog group
 void setOID(java.lang.String astrOID)
          Set the object identifier of the catalog group
 void setPublished(java.lang.Integer anPublished)
          Set whether the catalog group should be displayed for the language indicated 0 - Not displayed 1 - Displayed
 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 supplied parent catalog group
 void setShortdescription(java.lang.String astrShortdescription)
          Set a short description of the catalog group
 void setThumbnail(java.lang.String astrThumbnail)
          Set the path of the thumbnail image of the catalog group
 void setURL(java.lang.String astrURL)
          Set the redirect URL
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, 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, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
Method Detail

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id
Returns:
java.lang.Long

getIdentifier

public java.lang.String getIdentifier()
Get the catalog group identifier
Returns:
java.lang.String

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)
Set the catalog Id
Parameters:
anCatalogId - java.lang.Long

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id.
Parameters:
anCatgroupId - java.lang.Long

setCatgroupIdParent

public void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
Set parent catalog group id
Parameters:
anCatgroupIdParent - java.lang.Long

setDescLanguage

public void setDescLanguage(java.lang.Integer anDescLang)
Set the language ID use for the Catalog Group Description
Parameters:
anDescLang - java.lang.Integer

setDisplay

public void setDisplay(java.lang.String astrDisplay)
Set the display for the catalog group description
Parameters:
astrDisplay - java.lang.String

setField1

public void setField1(java.lang.String astrField1)
Set field 1 of the catalog group
Parameters:
astrField1 - java.lang.String

setField2

public void setField2(java.lang.String astrField2)
Set field 2 of the catalog group
Parameters:
astrField2 - java.lang.String

setFullimage

public void setFullimage(java.lang.String astrFullimage)
Set the path of the full image of this catalog group description
Parameters:
astrFullimage - java.lang.String

setIdentifier

public void setIdentifier(java.lang.String astrIdentifier)
Set the catalog group identifier
Parameters:
astrIdentifier - java.lang.String

setKeyword

public void setKeyword(java.lang.String astrKeyword)
Set the keyword for the description of the catalog group
Parameters:
astrKeyword - java.lang.String

setLastupdate

public void setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
Parameters:
atmLastupdate - java.sql.Timestamp

setLongdescription

public void setLongdescription(java.lang.String astrLongdescription)
Set a long description of the catalog group
Parameters:
astrLongdescription - java.lang.String

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag for the Catalog Group 1 = marked for delete 0, null = not mark for delete
Parameters:
anMarkfordelete - java.lang.Integer

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the owner id of the catalog group
Parameters:
anMemberId - java.lang.Long

setName

public void setName(java.lang.String astrName)
Set a language dependent name of the catalog group
Parameters:
astrName - java.lang.String

setOID

public void setOID(java.lang.String astrOID)
Set the object identifier of the catalog group
Parameters:
astrOID - java.lang.String

setPublished

public void setPublished(java.lang.Integer anPublished)
Set whether the catalog group should be displayed for the language indicated 0 - Not displayed 1 - Displayed
Parameters:
anPublished - java.lang.Integer

setSequenceForCatgrprel

public 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 supplied parent catalog group
Parameters:
adSequenceForCatgrprel - java.lang.Double

setShortdescription

public void setShortdescription(java.lang.String astrShortdescription)
Set a short description of the catalog group
Parameters:
astrShortdescription - java.lang.String

setThumbnail

public void setThumbnail(java.lang.String astrThumbnail)
Set the path of the thumbnail image of the catalog group
Parameters:
astrThumbnail - java.lang.String

setURL

public void setURL(java.lang.String astrURL)
Set the redirect URL
Parameters:
astrURL - java.lang.String