com.ibm.commerce.catalogmanagement.commands
Class CatGroupCatEntryRelAddCmdImpl

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

public class CatGroupCatEntryRelAddCmdImpl
extends ControllerCommandImpl
implements CatGroupCatEntryRelAddCmd

Implementation for CatGroupCatEntrtRelAdd command which is the URL command for creating a relationship with a catalog, catgroup, and catentry


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  java.lang.Double idSequence
           
protected  java.lang.Long inCatalogId
           
protected  java.lang.Long inCatentryId
           
protected  java.lang.Long inCatgroupId
           
protected  java.lang.String istrRule
           
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
CatGroupCatEntryRelAddCmdImpl()
           
 
Method Summary
 java.lang.Long getCatalogId()
          Get the catalog Id for the catalog group catalog entry relationship
 java.lang.Long getCatentryId()
          Get the catalog entry Id for the catalog group catalog entry relationship
 java.lang.Long getCatgroupId()
          Get the catalog group Id for the catalog group catalog entry relationship
 java.lang.String getRule()
          Get the rule
 java.lang.Double getSequence()
          Get the sequence number
 java.lang.String getURL()
          Get the redirect URL
 void performExecute()
          The main program for CatGroupCatEntryRelAdd command
 void productSetSynchronization()
          Product Set Synchronization
 void reset()
          This method reset all the variables used in CatGroupCatEntryRelAdd command
 void setCatalogId(java.lang.Long anCatalogId)
          Set a catalog Id for the catalog group catalog entry relationship
 void setCatentryId(java.lang.Long anCatentryId)
          Set a catalog entry Id for the catalog group catalog entry relationship
 void setCatgroupId(java.lang.Long anCatgroupId)
          Set a catalog group Id for the catalog group catalog entry relationship
 void setRequestProperties(TypedProperty reqParms)
          This method obtain the input parameters for CatGroupCatEntryRelAdd command
 void setRule(java.lang.String astrRule)
          Set rule
 void setSequence(java.lang.Double adSequence)
          Set sequence number
 void setURL(java.lang.String astrURL)
          Set a redirect URL
 void validateParameters()
          This method validates the parameters for CatGroupCatEntryRelAdd 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

idSequence

protected java.lang.Double idSequence

inCatalogId

protected java.lang.Long inCatalogId

inCatentryId

protected java.lang.Long inCatentryId

inCatgroupId

protected java.lang.Long inCatgroupId

istrRule

protected java.lang.String istrRule

istrURL

protected java.lang.String istrURL
Constructor Detail

CatGroupCatEntryRelAddCmdImpl

public CatGroupCatEntryRelAddCmdImpl()
Method Detail

getCatalogId

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

getCatentryId

public java.lang.Long getCatentryId()
Get the catalog entry Id for the catalog group catalog entry relationship
Returns:
java.lang.Long

getCatgroupId

public java.lang.Long getCatgroupId()
Get the catalog group Id for the catalog group catalog entry relationship
Returns:
java.lang.Long

getRule

public java.lang.String getRule()
Get the rule
Returns:
java.lang.String

getSequence

public java.lang.Double getSequence()
Get the sequence number
Returns:
java.lang.Double

getURL

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

performExecute

public void performExecute()
                    throws ECException
The main program for CatGroupCatEntryRelAdd command
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException -  

productSetSynchronization

public void productSetSynchronization()
                               throws ECException
Product Set Synchronization
Throws:
ECException -  

reset

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

setCatalogId

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

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Set a catalog entry Id for the catalog group catalog entry relationship
Specified by:
setCatentryId in interface CatGroupCatEntryRelAddCmd
Parameters:
anCatentryId - java.lang.Long

setCatgroupId

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

setRequestProperties

public void setRequestProperties(TypedProperty reqParms)
                          throws ECApplicationException
This method obtain the input parameters for CatGroupCatEntryRelAdd command
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Throws:
ECApplicationException -  

setRule

public void setRule(java.lang.String astrRule)
Set rule
Specified by:
setRule in interface CatGroupCatEntryRelAddCmd
Parameters:
astrRule - java.lang.String

setSequence

public void setSequence(java.lang.Double adSequence)
Set sequence number
Specified by:
setSequence in interface CatGroupCatEntryRelAddCmd
Parameters:
adSequence - java.lang.Double

setURL

public void setURL(java.lang.String astrURL)
Set a redirect URL
Specified by:
setURL in interface CatGroupCatEntryRelAddCmd
Parameters:
astrURL - java.lang.String

validateParameters

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