com.ibm.commerce.catalogmanagement.commands
Class TopCatalogGroupDeleteCmdImpl

com.ibm.commerce.command.AbstractECTargetableCommand
  |
  +--com.ibm.commerce.command.ControllerCommandImpl
        |
        +--com.ibm.commerce.catalogmanagement.commands.TopCatalogGroupDeleteCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, TopCatalogGroupDeleteCmd

public class TopCatalogGroupDeleteCmdImpl
extends ControllerCommandImpl
implements TopCatalogGroupDeleteCmd

Implementation for TopCatalogGroupDelete command which is the URL command for deleting relationship between a Catalog and a Catalog Group


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 java.lang.Boolean GENERIC_CATALOG_ID
           
 java.lang.Boolean GENERIC_CATGROUP_ID
           
static java.lang.String GENERIC_SYMBOL
           
protected  java.lang.Long inCatalogId
           
protected  java.lang.Long inCatgroupId
           
protected  java.lang.String istrURL
           
 
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
TopCatalogGroupDeleteCmdImpl()
           
 
Method Summary
 java.lang.Long getCatalogId()
          Get the catalog Id for the catalog to top catalog group relationship
 java.lang.Long getCatgroupId()
          Get the catalog group Id for the catalog to top catalog group relationship
 java.lang.String getURL()
          Get the redirect URL
 void performExecute()
          The main program for TopCatalogGroupDelete command
 void reset()
          This method reset all the variables used in TopCatalogGroupDelete command
 void setCatalogId(java.lang.Long anCatalogId)
          Set the catalog Id for the catalog to top catalog group relationship
 void setCatgroupId(java.lang.Long anCatgroupId)
          Set the catalog group Id for the catalog to top catalog group relationship
 void setRequestProperties(TypedProperty reqParms)
          This method obtain the input parameters for TopCatalogGroupDelete command
 void setURL(java.lang.String astrURL)
          Set a redirect URL
 void validateParameters()
          This method validates the parameters for TopCatalogGroupDelete 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.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, setCommandContext, setCommandIfName, setDefaultProperties
 
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

GENERIC_CATALOG_ID

public java.lang.Boolean GENERIC_CATALOG_ID

GENERIC_CATGROUP_ID

public java.lang.Boolean GENERIC_CATGROUP_ID

GENERIC_SYMBOL

public static final java.lang.String GENERIC_SYMBOL

inCatalogId

protected java.lang.Long inCatalogId

inCatgroupId

protected java.lang.Long inCatgroupId

istrURL

protected java.lang.String istrURL
Constructor Detail

TopCatalogGroupDeleteCmdImpl

public TopCatalogGroupDeleteCmdImpl()
Method Detail

getCatalogId

public java.lang.Long getCatalogId()
Get the catalog Id for the catalog to top catalog group relationship
Returns:
java.lang.Long

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id for the catalog to top 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 TopCatalogGroupDelete 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 TopCatalogGroupDelete command
Overrides:
reset in class AbstractECTargetableCommand

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)
Set the catalog Id for the catalog to top catalog group relationship
Specified by:
setCatalogId in interface TopCatalogGroupDeleteCmd
Parameters:
anCatalogId - java.lang.Long

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Set the catalog group Id for the catalog to top catalog group relationship
Specified by:
setCatgroupId in interface TopCatalogGroupDeleteCmd
Parameters:
anCatgroupId - java.lang.Long

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
This method obtain the input parameters for TopCatalogGroupDelete 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 TopCatalogGroupDeleteCmd
Parameters:
astrURL - java.lang.String

validateParameters

public void validateParameters()
                        throws ECException
This method validates the parameters for TopCatalogGroupDelete command
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException -