com.ibm.commerce.catalogmanagement.commands
Class CatGroupCatEntryRelAddCmdImpl

java.lang.Object
  CacheableCommandImpl
      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

The CatGroupCatEntryRelAddCmd is a URL and controller command that:

Parameters: Access Beans: Task Commands: AddCatgpenrelCmd Other Controller Commands: None. Mandatory Parameters: catalogId, catgroupId, catentryId, masterCatalog. Additional Parameters: None. Optional Parameters: rule, seq, URL.
See Also:
Serialized Form

Field Summary
static java.lang.String CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.CatGroupCatEntryRelAddCmdImpl".
static java.lang.String COPYRIGHT
The internal copyright field.
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()
Gets the catalog Id for the catalog group catalog entry relationship.
java.lang.Long getCatentryId()
Gets the catalog entry Id for the catalog group catalog entry relationship.
java.lang.Long getCatgroupId()
Gets the catalog group Id for the catalog group catalog entry relationship.
java.lang.String getRule()
Gets the rule.
java.lang.Double getSequence()
Gets the sequence number for the relationship.
java.lang.String getURL()
Gets the redirect URL.
void performExecute()
Adds the catalog, catalog group, catalog entry relationship.
void productSetSynchronization()
Product Set Synchronization.
void reset()
Resets all the variables.
void setCatalogId(java.lang.Long anCatalogId)
Sets a catalog Id for the catalog group catalog entry relationship.
void setCatentryId(java.lang.Long anCatentryId)
Sets a catalog entry Id for the catalog group catalog entry relationship.
void setCatgroupId(java.lang.Long anCatgroupId)
Sets a catalog group Id for the catalog group catalog entry relationship.
void setRequestProperties(TypedProperty reqParms)
Sets the request properties.
void setRule(java.lang.String astrRule)
Sets the rule.
void setSequence(java.lang.Double adSequence)
Sets the sequence number for the relationship.
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
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

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 is "com.ibm.commerce.catalogmanagement.commands.CatGroupCatEntryRelAddCmdImpl".
See Also:
Constant Field Values

istrURL

protected java.lang.String istrURL

inCatalogId

protected java.lang.Long inCatalogId

inCatentryId

protected java.lang.Long inCatentryId

inCatgroupId

protected java.lang.Long inCatgroupId

istrRule

protected java.lang.String istrRule

idSequence

protected java.lang.Double idSequence
Constructor Detail

CatGroupCatEntryRelAddCmdImpl

public CatGroupCatEntryRelAddCmdImpl()
Method Detail

getCatalogId

public java.lang.Long getCatalogId()
Gets the catalog Id for the catalog group catalog entry relationship.
Specified by:
getCatalogId in interface CatGroupCatEntryRelAddCmd
Returns:
catalog group Id

getCatentryId

public java.lang.Long getCatentryId()
Gets the catalog entry Id for the catalog group catalog entry relationship.
Specified by:
getCatentryId in interface CatGroupCatEntryRelAddCmd
Returns:
catalog entry Id

getCatgroupId

public java.lang.Long getCatgroupId()
Gets the catalog group Id for the catalog group catalog entry relationship.
Specified by:
getCatgroupId in interface CatGroupCatEntryRelAddCmd
Returns:
catalog group Id

getRule

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

getSequence

public java.lang.Double getSequence()
Gets the sequence number for the relationship.
Returns:
sequenced number

getURL

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

performExecute

public void performExecute()
                    throws ECException
Adds the catalog, catalog group, catalog entry relationship.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

reset

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

setCatalogId

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

setCatentryId

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

setCatgroupId

public void setCatgroupId(java.lang.Long anCatgroupId)
Sets 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
Sets the request properties.
Specified by:
setRequestProperties in interface ControllerCommand
Overrides:
setRequestProperties in class ControllerCommandImpl
Throws:
ECApplicationException

setRule

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

setSequence

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

setURL

public void setURL(java.lang.String astrURL)
Sets the redirect URL.
Specified by:
setURL in interface CatGroupCatEntryRelAddCmd
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

productSetSynchronization

public void productSetSynchronization()
                               throws ECException
Product Set Synchronization. When a new relationsip is established, the product set will need to be synchronized.
Throws:
ECException

Feedback