com.ibm.commerce.catalogmanagement.commands
Class CatalogDeleteCmdImpl

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

public class CatalogDeleteCmdImpl
extends ControllerCommandImpl
implements CatalogDeleteCmd

Command Name: CatalogDeleteCmd Command Type: URL and Controller Command Description:

Parameters: Access Beans: Task Commands: DeleteCatalogCmd Other Controller Commands: None Mandatory Parameters: catalogId, or identifier Additional Parameters: Optional Parameters:
See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
          The name of this interface.
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()
          Gets the catalog Id.
 java.lang.String getIdentifier()
          Gets the identifier of the catalog.
protected  java.lang.Long getMemberId()
          Gets the owner Id of the catalog.
 java.lang.String getURL()
          Gets the redirect URL.
 void performExecute()
          Deletes a catalog.
 void reset()
          Reset all the variables.
 void setCatalogId(java.lang.Long anCatalogId)
          Sets the catalog Id.
 void setIdentifier(java.lang.String astrIdentifier)
          Sets the identifier of the catalog.
 void setMemberId(java.lang.Long anMemberId)
          Sets the owner Id of the catalog.
 void setRequestProperties( TypedProperty reqParms)
          Sets the request properties.
 void setURL(java.lang.String astrURL)
          Sets the redirect URL.
 void validateParameters()
          Validates the input parameters.
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The name of this interface.
See Also:
Constant Field Values

istrURL

protected java.lang.String istrURL

inCatalogId

protected java.lang.Long inCatalogId

istrIdentifier

protected java.lang.String istrIdentifier

inMemberId

protected java.lang.Long inMemberId
Constructor Detail

CatalogDeleteCmdImpl

public CatalogDeleteCmdImpl()
Method Detail

getCatalogId

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

getIdentifier

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

getMemberId

protected java.lang.Long getMemberId()
Gets the owner Id of the catalog.
Returns:
owner of catalog

getURL

public java.lang.String getURL()
Gets the redirect URL.
Returns:
redirect URL

performExecute

public void performExecute()
                    throws ECException
Deletes a catalog.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

reset

public void reset()
Reset all the variables.
Overrides:
reset in class AbstractECTargetableCommand

setCatalogId

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

setIdentifier

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

setMemberId

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

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
Sets the request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Parameters:
reqParms - request properties
Throws:
ECApplicationException

setURL

public void setURL(java.lang.String astrURL)
Sets the redirect URL.
Specified by:
setURL in interface CatalogDeleteCmd
Parameters:
astrURL - redirect URL

validateParameters

public void validateParameters()
                        throws ECException
Validates the input parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException