java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.TopCatalogGroupAddCmdImpl
The TopCatalogGroupAddCmd
is a URL and controller command that
adds a relationship between a catalog and a catalog group for the top category.
Parameters:
CatalogCatalogGroupRelationAccessBean
AddCattogrpCmd
Other Controller Commands: None.
Mandatory Parameters: catalogId, catgroupId.
Additional Parameters: None.
Optional Parameters: URL.
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this interface is "com.ibm.commerce.catalogmanagement.commands.TopCatalogGroupAddCmdImpl |
static java.lang.String |
COPYRIGHT The internal copyright field. |
protected
java.lang.Long |
inCatalogId |
protected
java.lang.Long |
inCatgroupId |
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 | |
---|---|
TopCatalogGroupAddCmdImpl() |
Method Summary | |
---|---|
java.lang.Long |
getCatalogId() Get the catalog Id for the catalog to catalog group relationship |
java.lang.Long |
getCatgroupId() Get the Catalog Group Id for the catalog to catalog group relationship |
java.lang.String |
getURL() Get the redirect URL |
void |
performExecute() The main program for TopCatalogGroupAdd command |
void |
reset() This method reset all the variables used in TopCatalogGroupAdd command |
void |
setCatalogId(java.lang.Long anCatalogId) Set a catalog Id for the catalog to top catalog group relationship |
void |
setCatgroupId(java.lang.Long anCatgroupId) Set a catalog group Id for the catalog to top catalog group relationship |
void |
setRequestProperties(
TypedProperty reqParms) This method obtain the input parameters for TopCatalogGroupAdd command |
void |
setURL(java.lang.String astrURL) Set a redirect URL |
void |
validateParameters() This method validates the parameters for TopCatalogGroupAdd 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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrURL
protected java.lang.Long inCatalogId
protected java.lang.Long inCatgroupId
Constructor Detail |
---|
public TopCatalogGroupAddCmdImpl()
Method Detail |
---|
public java.lang.Long getCatalogId()
getCatalogId
in interface
TopCatalogGroupAddCmd
public java.lang.Long getCatgroupId()
getCatgroupId
in interface
TopCatalogGroupAddCmd
public java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface
TopCatalogGroupAddCmd
anCatalogId
- jav.lang.Longpublic void setCatgroupId(java.lang.Long anCatgroupId)
setCatgroupId
in interface
TopCatalogGroupAddCmd
anCatgroupId
- java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
reqParms
- request properties
ECApplicationException
public void setURL(java.lang.String astrURL)
setURL
in interface
TopCatalogGroupAddCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException