com.ibm.commerce.catalogmanagement.commands
Interface CatGroupRelDeleteCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- CatGroupRelDeleteCmdImpl
- public interface CatGroupRelDeleteCmd
- extends ControllerCommand
Command Name: CatGroupRelDelete
Command Type: URL and Controller Command
Description: 1. Deletes a relationship between a parent Catalog Group and a child Catalog Group
2. If parent Catatlog Group is generic, then delete all CatGroup relationships with the
specified child Catalog Group.
3. If child Catatlog Group is generic, then delete all CatGroup relationships with the
specified parent Catalog Group.
Parameters: 1. CatalogId, CatGroupIdParent, CatGroupIdChild
2. CatalogId, CatGroupIdParent=*, CatGroupIdChild
3. CatalogId, CatGroupIdParent, CatGroupIdChild=*
Tables: 1. CatGrpRel
2. CatGrpRel
3. CatGrpRel
Task Commands: DeleteCatgrprelCmd
Other Controller Commands: None
Mandatory Parameters: catalogId, catgroupIdParent, catgroupIdChild, masterCatalog
Additional Parameters:
Optional Parameters: URL
Method Summary |
void |
setCatalogId(java.lang.Long anCatalogId)
Set a catalog Id for the catalog group to catalog group relationship |
void |
setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
Set a child catalog group Id for the catalog group to catalog group relationship |
void |
setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
Set a parent catalog group Id for the catalog group to catalog group relationship |
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
CLASSNAME
public static final java.lang.String CLASSNAME
COPYRIGHT
public static final java.lang.String COPYRIGHT
setCatalogId
public void setCatalogId(java.lang.Long anCatalogId)
- Set a catalog Id for the catalog group to catalog group relationship
- Parameters:
anCatalogId
- java.lang.Long
setCatgroupIdChild
public void setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
- Set a child catalog group Id for the catalog group to catalog group relationship
- Parameters:
anCatgroupIdChild
- java.lang.Long
setCatgroupIdParent
public void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
- Set a parent catalog group Id for the catalog group to catalog group relationship
- Parameters:
anCatgroupIdParent
- java.lang.Long
setURL
public void setURL(java.lang.String astrURL)
- Set the redirect URL
- Parameters:
astrURL
- java.lang.String