com.ibm.commerce.catalogmanagement.commands
Class CatalogGroupDeleteCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.catalogmanagement.commands.CatalogGroupDeleteCmdImpl
All Implemented Interfaces:
AccCommand, CatalogGroupDeleteCmd, ControllerCommand, ECCommand, ECTargetableCommand, Protectable

public class CatalogGroupDeleteCmdImpl
extends ControllerCommandImpl
implements CatalogGroupDeleteCmd

Implementation for CatalogGroupDelete command which deletes a catalog group.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
static java.lang.String COPYRIGHT
protected java.lang.Long inCatgroupId
protected java.lang.Integer inForce
protected java.lang.Integer inMarkfordelete
protected java.lang.Long inMemberId
protected java.lang.String istrIdentifier
protected java.lang.String istrURL
protected java.sql.Timestamp itmLastupdate
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
CatalogGroupDeleteCmdImpl()
Method Summary
java.lang.Long getCatgroupId()
Get the catalog group Id
java.lang.Integer getForce()
Get the force delete option for the catalog group
java.lang.String getIdentifier()
Get the identifier for the catalog group
java.sql.Timestamp getLastupdate()
Get last update time of the catalog group
java.lang.Integer getMarkfordelete()
Get the mark for delete value for the catalog group
protected java.lang.Long getMemberId()
Get the owner Id of the catalog group
java.lang.String getURL()
Get the redirect URL
void performExecute()
The main program for CatalogGroupDelete command
void productSetSynchronization()
This method synchronize the product set
void reset()
This method reset all the variables used in CatalogGroupDelete command
void setCatgroupId(java.lang.Long anCatgroupId)
Set catalog group Id
void setForce(java.lang.Integer anForce)
Set the force delete option for the catalog group
void setIdentifier(java.lang.String astrIdentifier)
Set the identifier of the catalog group
void setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag for the catalog group 0 = catalog group not mark for delete 1 = catalog group marked for delete
void setMemberId(java.lang.Long anMemberId)
Set the owner Id of the catalog group
void setRequestProperties(TypedProperty reqParms)
This method obtain the input parameters for CatalogGroupDelete command
void setURL(java.lang.String astrURL)
Set a redirect URL
void validateParameters()
This method validates the parameters for CatalogGroupDelete command
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
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
See Also:
Constant Field Values

istrURL

protected java.lang.String istrURL

inCatgroupId

protected java.lang.Long inCatgroupId

istrIdentifier

protected java.lang.String istrIdentifier

itmLastupdate

protected java.sql.Timestamp itmLastupdate

inMarkfordelete

protected java.lang.Integer inMarkfordelete

inMemberId

protected java.lang.Long inMemberId

inForce

protected java.lang.Integer inForce
Constructor Detail

CatalogGroupDeleteCmdImpl

public CatalogGroupDeleteCmdImpl()
Method Detail

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id
Specified by:
getCatgroupId in interface CatalogGroupDeleteCmd
Returns:
java.lang.Long

getForce

public java.lang.Integer getForce()
Get the force delete option for the catalog group
Returns:
java.lang.Integer

getIdentifier

public java.lang.String getIdentifier()
Get the identifier for the catalog group
Specified by:
getIdentifier in interface CatalogGroupDeleteCmd
Returns:
java.lang.String

getLastupdate

public java.sql.Timestamp getLastupdate()
Get last update time of the catalog group
Returns:
java.sql.Timestamp

getMarkfordelete

public java.lang.Integer getMarkfordelete()
Get the mark for delete value for the catalog group
Returns:
java.lang.Integer

getMemberId

protected java.lang.Long getMemberId()
Get the owner Id of the catalog group
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 CatalogGroupDelete command
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

productSetSynchronization

public void productSetSynchronization()
                               throws ECException
This method synchronize the product set
Throws:
ECException

reset

public void reset()
This method reset all the variables used in CatalogGroupDelete command
Overrides:
reset in class AbstractECTargetableCommand

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Set catalog group Id
Specified by:
setCatgroupId in interface CatalogGroupDeleteCmd
Parameters:
anCatgroupId - java.lang.Long

setForce

public void setForce(java.lang.Integer anForce)
Set the force delete option for the catalog group
Specified by:
setForce in interface CatalogGroupDeleteCmd
Parameters:
anForce - java.lang.Integer

setIdentifier

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

setLastupdate

public void setLastupdate(java.sql.Timestamp atmLastupdate)
Sets the date and time when the catalog group was updated
Specified by:
setLastupdate in interface CatalogGroupDeleteCmd
Parameters:
atmLastupdate - java.sql.Timestamp

setMarkfordelete

public void setMarkfordelete(java.lang.Integer anMarkfordelete)
Set the mark for delete flag for the catalog group 0 = catalog group not mark for delete 1 = catalog group marked for delete
Specified by:
setMarkfordelete in interface CatalogGroupDeleteCmd
Parameters:
anMarkfordelete - java.lang.Integer

setMemberId

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

setRequestProperties

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

validateParameters

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

Feedback