|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CatalogAjaxService
This service provides access to functionality and data (beans) for manipulating catalog objects on the Javascript client Catalog page.
| Method Summary | |
|---|---|
void |
deleteProductAssociation(long productUidPk,
long productAssociationUidPk)
Removes a product association from a product. |
java.util.List |
findByCategoryUidMinimal(long categoryUid)
Returns a list of ProductInfoAjaxBean carries basics info of the products based on the given category Uid. |
java.util.List |
findByCategoryUidMinimalPaginated(long categoryUid,
int startIndex,
int numProducts)
Returns a list of ProductInfoAjaxBeans that carry basic info about the products based on the given category Uid. |
java.util.List |
findCategoryInfoByCriteria(CategorySearchCriteria categorySearchCriteria)
Retrieve the list of categories, whose specified property contain the given criteria value. |
java.util.List |
findProducSkuAjaxBeanByProductUid(long productUid)
Returns a list of ProductSkuAjaxBeans based on the given product Uid. |
java.util.List |
findProductInfoByCriteria(ProductSearchCriteria productSearchCriteria)
Retrieve the list of ProductInfoAjaxBean carries basics info of the products matching the given criteria value. |
CategoryAjaxBean |
getCategoryAjaxBean(long uidPk)
Get a bean containing a domain layer product object as well as other data needed for display on the Javascript UI. |
int |
getNumProductsInCategory(long categoryUid)
Returns the number of products in the given category. |
ProductAjaxBean |
getProductAjaxBean(long uidPk)
Get a bean containing a domain layer product object as well as other data needed for display on the Javascript UI. |
ProductSkuAjaxBean |
getProductSkuAjaxBean(long uidPk)
Get a bean containing data needed for displaying a product sku on the Javascript UI. |
void |
setProductService(ProductService productService)
Set the product service used to retrieve product information. |
void |
swapProductAssociationOrder(long productUidPk,
long association1UidPk,
long association2UidPk)
Re-orders two product associations of the given product. |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Method Detail |
|---|
void deleteProductAssociation(long productUidPk,
long productAssociationUidPk)
productUidPk - The UID of the product whose association is to be removedproductAssociationUidPk - the UID of the ProductAssociation to be removedjava.util.List findByCategoryUidMinimal(long categoryUid)
ProductInfoAjaxBean carries basics info of the products based on the given category Uid.
categoryUid - the category Uid
java.util.List findByCategoryUidMinimalPaginated(long categoryUid,
int startIndex,
int numProducts)
ProductInfoAjaxBeans that carry basic info about the products based on the given category Uid.
categoryUid - the category UidstartIndex - the starting index of the first product to be returnednumProducts - the number of products to be returned, starting from the start index
java.util.List findCategoryInfoByCriteria(CategorySearchCriteria categorySearchCriteria)
categorySearchCriteria - the categorySearchCriteria to search on.
java.util.List findProducSkuAjaxBeanByProductUid(long productUid)
ProductSkuAjaxBeans based on the given product Uid.
productUid - the product Uid
ProductSkuAjaxBeanjava.util.List findProductInfoByCriteria(ProductSearchCriteria productSearchCriteria)
ProductInfoAjaxBean carries basics info of the products matching the given criteria value.
productSearchCriteria - the productSearchCriteria to search on.
ProductInfoAjaxBean carries basics info of the products.CategoryAjaxBean getCategoryAjaxBean(long uidPk)
uidPk - the unique identifier for the product to be returned in the bean
ProductAjaxBeanint getNumProductsInCategory(long categoryUid)
categoryUid - The UID of the category whose number of products is to be returned.
ProductAjaxBean getProductAjaxBean(long uidPk)
uidPk - the unique identifier for the product to be returned in the bean
ProductAjaxBeanProductSkuAjaxBean getProductSkuAjaxBean(long uidPk)
uidPk - the unique identifier for the product to load data for
ProductSkuAjaxBeanvoid setProductService(ProductService productService)
productService - the ProductService
void swapProductAssociationOrder(long productUidPk,
long association1UidPk,
long association2UidPk)
productUidPk - the UID of the product whose associations are to be reorderedassociation1UidPk - the uid of one of the first product association that will take the position of the secondassociation2UidPk - the uid of the second product association that will take the position of the first
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||