|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.catalog.domain.RelatedProductDTO
public class RelatedProductDTO
| Constructor Summary | |
|---|---|
RelatedProductDTO()
|
|
| Method Summary | |
|---|---|
Long |
getCategoryId()
Returns the categoryId for which the system should find related products. |
Long |
getProductId()
Returns the productId for which the system should find related products. |
Integer |
getQuantity()
The number of results to return. |
RelatedProductTypeEnum |
getType()
Returns the type of relationship that is desired. |
boolean |
isCumulativeResults()
Returns whether cumulative results are desired. |
void |
setCategoryId(Long categoryId)
Sets the categoryId for which the system should find related products. |
void |
setCumulativeResults(boolean cumulativeResults)
Sets whether cumulative results are desired. |
void |
setProductId(Long productId)
Sets the productId for which the system should find related products. |
void |
setQuantity(Integer quantity)
The number of results to return. |
void |
setType(RelatedProductTypeEnum type)
Sets the type of relationship that is desired. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelatedProductDTO()
| Method Detail |
|---|
public Long getCategoryId()
public void setCategoryId(Long categoryId)
categoryId - public Long getProductId()
public void setProductId(Long productId)
productId - public RelatedProductTypeEnum getType()
RelatedProductTypeEnumpublic void setType(RelatedProductTypeEnum type)
type - RelatedProductTypeEnumpublic boolean isCumulativeResults()
public void setCumulativeResults(boolean cumulativeResults)
cumulativeResults - public Integer getQuantity()
public void setQuantity(Integer quantity)
maxQuantity -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||