|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.catalogmanagement.commands.CatGroupRelAddCmdImpl
Implementation for CatGroupRelAdd command which is the URL command for creating a relationship with a catalog, parent catgroup, and child catgroup
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 |
inCatgroupIdChild
|
protected java.lang.Long |
inCatgroupIdParent
|
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 | |
CatGroupRelAddCmdImpl()
|
Method Summary | |
java.lang.Long |
getCatalogId()
Get the catalog Id for the catalog group to catalog group relationship |
java.lang.Long |
getCatgroupIdChild()
Get the child catalog group Id for the catalog group to catalog group relationship |
java.lang.Long |
getCatgroupIdParent()
Get the parent catalog group Id for the catalog group to catalog group 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 CatGroupRelAdd command |
void |
productSetSynchronization()
Product Set Synchronization |
void |
reset()
This method reset all the variables used in CatGroupRelAdd command |
void |
setCatalogId(java.lang.Long anCatalogId)
Set a catalog Id for the catalog group to catalog group relationship |
void |
setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
Set a child catalog group Id for the catalog group to catalog group relationship |
void |
setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
Set a parent catalog group Id for the catalog group to catalog group relationship |
void |
setRequestProperties(TypedProperty reqParms)
This method obtain the input parameters for CatGroupRelAdd command |
void |
setRule(java.lang.String astrRule)
Set the rule |
void |
setSequence(java.lang.Double adSequence)
Set the sequence |
void |
setURL(java.lang.String astrURL)
Set a redirect URL |
void |
validateParameters()
This method validates the parameters for CatGroupRelAdd 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 |
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
protected java.lang.Double idSequence
protected java.lang.Long inCatalogId
protected java.lang.Long inCatgroupIdChild
protected java.lang.Long inCatgroupIdParent
protected java.lang.String istrRule
protected java.lang.String istrURL
Constructor Detail |
public CatGroupRelAddCmdImpl()
Method Detail |
public java.lang.Long getCatalogId()
public java.lang.Long getCatgroupIdChild()
public java.lang.Long getCatgroupIdParent()
public java.lang.String getRule()
public java.lang.Double getSequence()
public java.lang.String getURL()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
ECException
- public void productSetSynchronization() throws ECException
ECException
- public void reset()
reset
in class AbstractECTargetableCommand
public void setCatalogId(java.lang.Long anCatalogId)
setCatalogId
in interface CatGroupRelAddCmd
anCatalogId
- java.lang.Longpublic void setCatgroupIdChild(java.lang.Long anCatgroupIdChild)
setCatgroupIdChild
in interface CatGroupRelAddCmd
anCatgroupIdChild
- java.lang.Longpublic void setCatgroupIdParent(java.lang.Long anCatgroupIdParent)
setCatgroupIdParent
in interface CatGroupRelAddCmd
anCatgroupIdParent
- java.lang.Longpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
ECApplicationException
- public void setRule(java.lang.String astrRule)
setRule
in interface CatGroupRelAddCmd
astrRule
- java.lang.Stringpublic void setSequence(java.lang.Double adSequence)
setSequence
in interface CatGroupRelAddCmd
adSequence
- java.lang.Doublepublic void setURL(java.lang.String astrURL)
setURL
in interface CatGroupRelAddCmd
astrURL
- java.lang.Stringpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |