public class GetCatalogEntryAttributesCmdImpl extends com.ibm.websphere.command.CacheableCommandImpl implements GetCatalogEntryAttributesCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright information.
|
NAME
Constructor and Description |
---|
GetCatalogEntryAttributesCmdImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String aLanguage,
java.lang.String aName,
java.lang.String aValue)
Adds the attribute for a specific language.
|
java.util.Map |
getAttributes()
Returns a Map object that has attribute maps by language IDs.
|
boolean |
isReadyToCallExecute()
Return True if it is ready to call performExecute().
|
void |
performExecute()
This method calls CatalogComponentHelper to get the attributes
information based on the names supplied.
|
void |
setAssociatedLanguage(java.lang.String aLanguage)
Sets the associated language ID for the request.
|
void |
setAttributeNames(java.util.List<java.lang.String> aAttributeNames)
Sets the list of attribute names in the service command
|
void |
setCatalogEntryKey(CatalogEntryKey aCatalogEntryKey)
Sets the key of the CatalogEntry
|
execute, executeFromCache, getCaller, getEntryInfo, getId, getObjectSize, getSharingPolicy, postExecute, preExecute, reset, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
public static final java.lang.String COPYRIGHT
public GetCatalogEntryAttributesCmdImpl()
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class com.ibm.websphere.command.TargetableCommandImpl
public void performExecute() throws java.lang.Exception
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class com.ibm.websphere.command.TargetableCommandImpl
java.lang.Exception
- Throws when error happens.public java.util.Map getAttributes()
GetCatalogEntryAttributesCmd
getAttributes
in interface GetCatalogEntryAttributesCmd
com.ibm.commerce.marketing.promotion.commands.GetCatalogEntryAttributesCmd#getAttributes()
public void setCatalogEntryKey(CatalogEntryKey aCatalogEntryKey)
GetCatalogEntryAttributesCmd
setCatalogEntryKey
in interface GetCatalogEntryAttributesCmd
aCatalogEntryKey
- The key of the CatalogEntrycom.ibm.commerce.marketing.promotion.commands.GetCatalogEntryAttributesCmd#setCatalogEntryKey(com.ibm.commerce.marketing.promotion.dependency.CatalogEntryKey)
public void setAssociatedLanguage(java.lang.String aLanguage)
GetCatalogEntryAttributesCmd
setAssociatedLanguage
in interface GetCatalogEntryAttributesCmd
aLanguage
- The language IDcom.ibm.commerce.marketing.promotion.commands.GetCatalogEntryAttributesCmd#setAssociatedLanguage(java.lang.String)
public void setAttributeNames(java.util.List<java.lang.String> aAttributeNames)
aAttributeNames
- public void addAttribute(java.lang.String aLanguage, java.lang.String aName, java.lang.String aValue)
GetCatalogEntryAttributesCmd
addAttribute
in interface GetCatalogEntryAttributesCmd
aLanguage
- The language IDaName
- The language specific attribute name.aValue
- The language specific attribute value.GetCatalogEntryAttributesCmd.addAttribute(java.lang.String,
java.lang.String, java.lang.String)