com.ibm.commerce.catalogmanagement.commands
Class CatGroupRelDeleteCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.catalogmanagement.commands.CatGroupRelDeleteCmdImpl
- All Implemented Interfaces:
- AccCommand, CatGroupRelDeleteCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable
- public class CatGroupRelDeleteCmdImpl
- extends ControllerCommandImpl
- implements CatGroupRelDeleteCmd
Implementation for CatGroupRelDelete command which is the URL command for deleting relationship with catalog, parent catgroup, and child catgroup
Method Summary |
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog group to catalog group relationship |
java.lang.Long |
getCatgroupIdChild()
Get the child catalog group Id for the catalog group to catalog group relationship |
java.lang.Long |
getCatgroupIdParent()
Get the parent catalog group Id for the catalog group to catalog group relationship |
java.lang.String |
getURL()
Get the redirect URL |
void |
performExecute()
The main program for CatGroupRelDelete command |
void |
reset()
This method reset all the variables used in CatGroupRelDelete command |
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 |
setRequestProperties(TypedProperty reqParms)
This method obtain the input parameters for CatGroupRelDelete command |
void |
setURL(java.lang.String astrURL)
Set a redirect URL |
void |
validateParameters()
This method validates the parameters for CatGroupRelDelete command |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
CLASSNAME
public static final java.lang.String CLASSNAME
COPYRIGHT
public static final java.lang.String COPYRIGHT
GENERIC_CATGROUP_ID_CHILD
public java.lang.Boolean GENERIC_CATGROUP_ID_CHILD
GENERIC_CATGROUP_ID_PARENT
public java.lang.Boolean GENERIC_CATGROUP_ID_PARENT
GENERIC_SYMBOL
public static final java.lang.String GENERIC_SYMBOL
inCatalogId
protected java.lang.Long inCatalogId
inCatgroupIdChild
protected java.lang.Long inCatgroupIdChild
inCatgroupIdParent
protected java.lang.Long inCatgroupIdParent
istrURL
protected java.lang.String istrURL
CatGroupRelDeleteCmdImpl
public CatGroupRelDeleteCmdImpl()
getCatalogId
public java.lang.Long getCatalogId()
- Get the catalog Id for the catalog group to catalog group relationship
- Returns:
- java.lang.Long
getCatgroupIdChild
public java.lang.Long getCatgroupIdChild()
- Get the child catalog group Id for the catalog group to catalog group relationship
- Returns:
- java.lang.Long
getCatgroupIdParent
public java.lang.Long getCatgroupIdParent()
- Get the parent catalog group Id for the catalog group to catalog group relationship
- Returns:
- java.lang.Long
getURL
public java.lang.String getURL()
- Get the redirect URL
- Returns:
- java.lang.String
performExecute
public void performExecute()
throws ECException
- The main program for CatGroupRelDelete command
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException
-
reset
public void reset()
- This method reset all the variables used in CatGroupRelDelete command
- Overrides:
reset
in class AbstractECTargetableCommand
setCatalogId
public void setCatalogId(java.lang.Long anCatalogId)
- Set a catalog Id for the catalog group to catalog group relationship
- Specified by:
setCatalogId
in interface CatGroupRelDeleteCmd
- 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
- Specified by:
setCatgroupIdChild
in interface CatGroupRelDeleteCmd
- 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
- Specified by:
setCatgroupIdParent
in interface CatGroupRelDeleteCmd
- Parameters:
anCatgroupIdParent
- java.lang.Long
setRequestProperties
public void setRequestProperties(TypedProperty reqParms)
throws ECApplicationException
- This method obtain the input parameters for CatGroupRelDelete command
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class ControllerCommandImpl
- Throws:
ECApplicationException
-
setURL
public void setURL(java.lang.String astrURL)
- Set a redirect URL
- Specified by:
setURL
in interface CatGroupRelDeleteCmd
- Parameters:
astrURL
- java.lang.String
validateParameters
public void validateParameters()
throws ECException
- This method validates the parameters for CatGroupRelDelete command
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Throws:
ECException
-