com.ibm.commerce.catalogmanagement.commands
Interface ProductAttributeUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
ProductAttributeUpdateCmdImpl

public interface ProductAttributeUpdateCmd
extends ControllerCommand

The ProductAttributeUpdateCmd is a URL and controller command that:

Parameters: Access Beans: Task Commands: UpdateAttributeCmd Other Controller Commands: None. Mandatory Parameters: attributeId, or catentryId and name. Additional Parameters: None. Optional Parameters: attrtypeId, desc, desc2, field1, descLangId, seq, URL. Default Value: descLangId = language ID from command context.

Field Summary
static java.lang.String CLASSNAME
          The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeUpdateCmd".
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Method Summary
 java.lang.Long getAttributeId()
          Gets the attribute ID.
 java.lang.Long getCatentryId()
          Gets the catalog entry ID.
 void setAttributeId(java.lang.Long anAttributeId)
          Sets the attribute ID.
 void setAttrLangId(java.lang.Integer anAttrLangId)
          Sets the language ID of the attribute.
 void setCatentryId(java.lang.Long anCatentryId)
          Sets the catalog entry ID.
 void setDescription(java.lang.String astrDescription)
          Sets the description of the attribute.
 void setDescription2(java.lang.String astrDescription2)
          Sets the second description of the attribute.
 void setField1(java.lang.String astrField1)
          Sets field 1 of the attribute.
 void setName(java.lang.String astrName)
          Sets the attribute name.
 void setOID(java.lang.String astrOID)
          Sets the object identifier of the attribute.
 void setSequence(java.lang.Double anSequence)
          Sets the sequence number of the attribute.
 void setURL(java.lang.String astrURL)
          Sets the redirect URL.
 void setUsage(java.lang.String astrUsage)
          Sets the usage of the attribute: NULL or "1" indicates SKU-resolution.
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, 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, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

CLASSNAME

public static final java.lang.String CLASSNAME
The name of this interface is "com.ibm.commerce.catalogmanagement.commands.ProductAttributeUpdateCmd".
See Also:
Constant Field Values
Method Detail

getAttributeId

public java.lang.Long getAttributeId()
Gets the attribute ID.
Returns:
the attribute ID

getCatentryId

public java.lang.Long getCatentryId()
Gets the catalog entry ID.
Returns:
the catalog entry ID

setAttributeId

public void setAttributeId(java.lang.Long anAttributeId)
Sets the attribute ID.
Parameters:
anAttributeId - the attribute ID

setAttrLangId

public void setAttrLangId(java.lang.Integer anAttrLangId)
Sets the language ID of the attribute.
Parameters:
anAttrLangId - the language ID

setCatentryId

public void setCatentryId(java.lang.Long anCatentryId)
Sets the catalog entry ID.
Parameters:
anCatentryId - the catalog entry ID

setDescription

public void setDescription(java.lang.String astrDescription)
Sets the description of the attribute.
Parameters:
astrDescription - the description of the attribute

setDescription2

public void setDescription2(java.lang.String astrDescription2)
Sets the second description of the attribute.
Parameters:
astrDescription2 - the second description of the attribute

setField1

public void setField1(java.lang.String astrField1)
Sets field 1 of the attribute.
Parameters:
astrField1 - customizable field 1

setName

public void setName(java.lang.String astrName)
Sets the attribute name.
Parameters:
astrName - the attribute name

setOID

public void setOID(java.lang.String astrOID)
Sets the object identifier of the attribute.
Parameters:
astrOID - the attribute object identifier

setSequence

public void setSequence(java.lang.Double anSequence)
Sets the sequence number of the attribute.
Parameters:
anSequence - the sequence number

setURL

public void setURL(java.lang.String astrURL)
Sets the redirect URL.
Parameters:
astrURL - the redirect URL

setUsage

public void setUsage(java.lang.String astrUsage)
Sets the usage of the attribute:
Parameters:
astrUsage - the attribute usage