public class ProductDisplayCmdImpl extends ControllerCommandImpl implements ProductDisplayCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
ProductDisplayCmdImpl()
No value constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long | getMemberId()
Returns the MemberId (or owner) that along with the PartNumber uniquely identifies the CatalogEntry whose view is to be retrieved.
|
protected java.lang.String | getPartNumber()
Returns the external PartNumber that along with the MemberId uniquely identifies the CatalogEntry whose view is to be retrieved.
|
protected java.lang.Long | getProductId()
Returns the ProductId that represents the primary key of the CatalogEntry whose view is to be retrieved.
|
boolean | isGeneric()
This method determines whether this is a generic command.
|
boolean | isReadyToCallExecute()
This method is called by the targetable command framework.
|
void | performExecute()
This method performs the business logic for this command.
|
boolean | performSecurityCheck()
Indicates that a user has authority to access this command.
|
void | reset()
This method is called after a command has been executed.
|
protected java.lang.String | resolvePageLayout(CatalogEntryAccessBean abCatalogEntry)
This method resolves the page layout to use for the product.
|
protected java.lang.String[] | resolveParentCategory(CatalogEntryAccessBean abCatalogEntry)
This method resolves the parent page type and parent category id of the catalog entry.
|
void | setMemberId(java.lang.Long anMemberId)
Sets the MemberId (or owner) that along with the PartNumber uniquely identifies the CatalogEntry whose view is to be retrieved.
|
void | setPartNumber(java.lang.String astrPartNumber)
Sets the external PartNumber that along with the MemberId uniquely identifies the CatalogEntry whose view is to be retrieved.
|
void | setProductId(java.lang.Long anProductId)
Sets the ProductId that represents the primary key of the CatalogEntry whose view is to be retrieved.
|
void | setRequestProperties(TypedProperty reqParms)
This method sets the requestProperties for the command.
|
void | validateParameters()
This method performs server side parameter checking.
|
public static final java.lang.String COPYRIGHT
protected java.lang.Long getMemberId()
protected java.lang.String getPartNumber()
protected java.lang.Long getProductId()
public boolean isGeneric()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
protected java.lang.String resolvePageLayout(CatalogEntryAccessBean abCatalogEntry) throws ECException
protected java.lang.String[] resolveParentCategory(CatalogEntryAccessBean abCatalogEntry) throws java.lang.Exception
public boolean performSecurityCheck()
public void reset()
public void setMemberId(java.lang.Long anMemberId)
public void setPartNumber(java.lang.String astrPartNumber)
public void setProductId(java.lang.Long anProductId)
public void setRequestProperties(TypedProperty reqParms) throws ECApplicationException
public void validateParameters() throws ECException