com.ibm.commerce.catalogmanagement.commands
Class CatalogDeleteCmdImpl

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

public class CatalogDeleteCmdImpl
extends ControllerCommandImpl
implements CatalogDeleteCmd

Implementation for CatalogDelete command


Field Summary
static java.lang.String CLASSNAME
          The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogDeleteCmdImpl".
static java.lang.String COPYRIGHT
          The internal copyright field.
protected  java.lang.Long inCatalogId
           
protected  java.lang.Long inMemberId
           
protected  java.lang.String istrIdentifier
           
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
CatalogDeleteCmdImpl()
           
 
Method Summary
 java.lang.Long getCatalogId()
          Get the catalog id
 java.lang.String getIdentifier()
          Get the identifier of the catalog
protected  java.lang.Long getMemberId()
          Get the owner id of the catalog
 java.lang.String getURL()
          Get the redirect URL
 void performExecute()
          The main program for CatalogDelete command
 void reset()
          This method reset all the variables used in CatalogDelete command
 void setCatalogId(java.lang.Long anCatalogId)
          Set the catalog id
 void setIdentifier(java.lang.String astrIdentifier)
          Set identifier of the catalog
 void setMemberId(java.lang.Long anMemberId)
          Set the owner id of the catalog
 void setRequestProperties(TypedProperty reqParms)
          This method obtain the input parameters for CatalogDelete command
 void setURL(java.lang.String astrURL)
          Set a redirect URL
 void validateParameters()
          This method validates the parameters for CatalogDelete 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
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatalogDeleteCmdImpl".

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.

inCatalogId

protected java.lang.Long inCatalogId

inMemberId

protected java.lang.Long inMemberId

istrIdentifier

protected java.lang.String istrIdentifier

istrURL

protected java.lang.String istrURL
Constructor Detail

CatalogDeleteCmdImpl

public CatalogDeleteCmdImpl()
Method Detail

getCatalogId

public java.lang.Long getCatalogId()
Get the catalog id
Specified by:
getCatalogId in interface CatalogDeleteCmd
Returns:
java.lang.Long

getIdentifier

public java.lang.String getIdentifier()
Get the identifier of the catalog
Specified by:
getIdentifier in interface CatalogDeleteCmd
Returns:
java.lang.String

getMemberId

protected java.lang.Long getMemberId()
Get the owner id of the catalog
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 CatalogDelete 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 CatalogDelete command
Overrides:
reset in class AbstractECTargetableCommand

setCatalogId

public void setCatalogId(java.lang.Long anCatalogId)
Set the catalog id
Specified by:
setCatalogId in interface CatalogDeleteCmd
Parameters:
anCatalogId - java.lang.Long

setIdentifier

public void setIdentifier(java.lang.String astrIdentifier)
Set identifier of the catalog
Specified by:
setIdentifier in interface CatalogDeleteCmd
Parameters:
astrIdentifier - java.lang.String

setMemberId

public void setMemberId(java.lang.Long anMemberId)
Set the owner id of the catalog
Specified by:
setMemberId in interface CatalogDeleteCmd
Parameters:
anMemberId - java.lang.Long

setRequestProperties

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

validateParameters

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