|
||||||||
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.productset.commands.ProductSetPublishCmdImpl
Publish a product set based on the existing product set definition.
Input parameters:
Name | Type | Requirement | Description |
---|---|---|---|
productSetID | Integer | mandatory | The product set ID. |
Output parameters:
Name | Type | Description |
---|
Behavior:
Exception:
Field Summary | |
static java.lang.String |
CLASSNAME
The fully qualified name of this class. |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
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.productset.commands.ProductSetPublishCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
ProductSetPublishCmdImpl()
No value constructor. |
Method Summary | |
org.w3c.dom.Element |
getElementByTag(org.w3c.dom.Element aElement,
java.lang.String tag)
Returns the first DOM element specified by the given tag. |
protected java.lang.Integer |
getProductSetId()
Returns the ProductSetId that represents the primary key of the product set. |
protected boolean |
getPublishAll()
Returns the publish all flag. |
AccessVector |
getResources()
Gets the access vector accessed by this command. |
boolean |
isExclusion()
Returns true if the exclusion flag has been set. |
void |
performExecute()
Contains the actual business logic of the command It should be implemented by all the command writer. |
void |
reset()
This method should be called after a command has been executed to reset its states variables. |
void |
setExclusion(boolean abExclusion)
Sets the exclusion flag. |
void |
setProductSetId(java.lang.Integer anProductSetId)
Sets the ProductSetId that represents the primary key of the product set. |
void |
setPublishAll(boolean aPublishAll)
Sets the publish all flag. |
void |
setRequestProperties(TypedProperty reqParms)
The WebController calls this method before invoking the execute method in this command to set the request properties for this command. |
void |
validateParameters()
Performs server side parameter checking. |
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, 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, 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
Constructor Detail |
public ProductSetPublishCmdImpl()
Method Detail |
public org.w3c.dom.Element getElementByTag(org.w3c.dom.Element aElement, java.lang.String tag)
aElement
- org.w3c.dom.Elementtag
- java.lang.Stringprotected java.lang.Integer getProductSetId()
java.lang.Integer
- protected boolean getPublishAll()
public AccessVector getResources() throws ECException
getResources
in interface ECCommand
getResources
in class AbstractECTargetableCommand
public boolean isExclusion()
ProductSetPublishCmd
isExclusion
in interface ProductSetPublishCmd
com.ibm.commerce.productset.commands.ProductSetPublishCmd
public void performExecute() throws ECException
ECCommand
performExecute
in interface ECCommand
performExecute
in class AbstractECTargetableCommand
com.ibm.commerce.command.ECCommand
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.public void reset()
AbstractECTargetableCommand
reset
in class AbstractECTargetableCommand
public void setExclusion(boolean abExclusion)
ProductSetPublishCmd
setExclusion
in interface ProductSetPublishCmd
com.ibm.commerce.productset.commands.ProductSetPublishCmd
abExclusion
- booleanpublic void setProductSetId(java.lang.Integer anProductSetId)
ProductSetPublishCmd
setProductSetId
in interface ProductSetPublishCmd
com.ibm.commerce.productset.commands.ProductSetPublishCmd
new
- ProductsetId java.lang.Integerpublic void setPublishAll(boolean aPublishAll)
ProductSetPublishCmd
setPublishAll
in interface ProductSetPublishCmd
com.ibm.commerce.productset.commands.ProductSetPublishCmd
aPublishAll
- booleanpublic void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
ControllerCommand
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
com.ibm.commerce.command.ControllerCommand
requestProperties
- com.ibm.commerce.datatype.TypedPropertycom.ibm.commerce.exception.ECException.
- public void validateParameters() throws ECException
ECCommand
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
com.ibm.commerce.command.ECCommand
ECException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |