|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Add a product set policy.
Input parameters:
Name | Type | Requirement | Description |
---|---|---|---|
productSetXml | String | optional | The XML string of the product set definition. |
productSetDescription | String | optional | The description of the product set. |
name | String | optional | The name of the product set policy. |
policyDescription | String | optional | The description of the product set policy. |
languageId | Integer | optional | The language of the description. |
catalogId | Long | optional | The catalog ID. |
categoryId | Long | optional | The category ID. |
Output parameters:
Name | Type | Description |
---|---|---|
productSetId | Integer | The newly created product set's ID. |
productSetName | String | The newly created product set's name. |
policyId | Long | The newly created product set policy's ID. |
policyName | String | The newly created product set policy's name. |
Behavior:
Exception:
Field Summary | |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The fully qualified name of the default implementation class. |
static java.lang.String |
NAME
The fully qualified name of this class. |
Method Summary | |
java.lang.Long |
getPolicyId()
Returns the PolicyId that represents the primary key of the policy. |
java.lang.String |
getPolicyName()
Returns the name of the policy. |
java.lang.Integer |
getProductSetId()
Returns the ProductSetId that represents the primary key of the product set. |
java.lang.String |
getProductSetName()
Returns the name of the product set. |
void |
setCatalogId(java.lang.Long newCatalogId)
Sets the CatalogId that represents the primary key of the catalog. |
void |
setCatGroupId(java.lang.Long newCatGroupId)
Sets the CatalogGroupId (CategoryId) that represents the primary key of the category. |
void |
setLanguageId(java.lang.Integer newLanguageId)
Sets the LanguageId that represents the primary key of language of the description. |
void |
setPolicyName(java.lang.String newPolicyName)
Sets the name of the policy. |
void |
setProductSetDescription(java.lang.String newProductSetDescription)
Sets the description of the product set. |
void |
setProductSetXml(java.lang.String newProductSetXml)
Sets the XML definition of the product set. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, 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, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public java.lang.Long getPolicyId()
public java.lang.String getPolicyName()
public java.lang.Integer getProductSetId()
public java.lang.String getProductSetName()
public void setCatalogId(java.lang.Long newCatalogId)
newCatalogId
- java.lang.Longpublic void setCatGroupId(java.lang.Long newCatGroupId)
newCatGroupId
- java.lang.Longpublic void setLanguageId(java.lang.Integer newLanguageId)
newLanguageId
- java.lang.Integerpublic void setPolicyName(java.lang.String newPolicyName)
newPolicyName
- java.lang.Stringpublic void setProductSetDescription(java.lang.String newProductSetDescription)
newProductSetDescription
- java.lang.Stringpublic void setProductSetXml(java.lang.String newProductSetXml)
newProductSetXml
- java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |