|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImportGuidHelper
This helper service provides the ability to load various entity by th given guid.
| Method Summary | |
|---|---|
Brand |
findBrandByGuid(java.lang.String guid)
Retrieve the brand with the given guid. |
Category |
findCategoryByGuid(java.lang.String guid,
boolean flagLoadProducts,
boolean flagLoadAttributes,
boolean flagLoadChildren)
Retrieve the category with the given guid. |
Customer |
findCustomerByGuid(java.lang.String guid)
Retrieve the customer with the given guid. |
Product |
findProductByGuid(java.lang.String guid,
boolean flagLoadCategories,
boolean flagLoadAttributes)
Retrieve the product with the given guid. |
ProductSku |
findProductSkuByGuid(java.lang.String guid)
Retrieve the product sku with the given guid. |
boolean |
isBrandGuidExist(java.lang.String guid)
Return true if the given brand guid exist. |
boolean |
isCategoryGuidExist(java.lang.String guid)
Return true if the given category guid exist. |
boolean |
isCustomerGuidExist(java.lang.String guid)
Return true if the given Customer guid exists. |
boolean |
isProductGuidExist(java.lang.String guid)
Return true if the given product guid exists. |
boolean |
isProductSkuGuidExist(java.lang.String guid)
Return true if the given productsku guid exist. |
void |
setSession(PersistenceSession session)
Set the session. |
| Methods inherited from interface com.elasticpath.service.EpPersistenceService |
|---|
getObject, getPersistenceEngine, setPersistenceEngine |
| Methods inherited from interface com.elasticpath.service.EpService |
|---|
getElasticPath, setElasticPath |
| Method Detail |
|---|
Brand findBrandByGuid(java.lang.String guid)
throws EpServiceException
guid - the guid of the brand
EpServiceException - in case of any error
Category findCategoryByGuid(java.lang.String guid,
boolean flagLoadProducts,
boolean flagLoadAttributes,
boolean flagLoadChildren)
throws EpServiceException
guid - the guid of the categoryflagLoadProducts - set it to true to load productsflagLoadAttributes - set it to true to load attributes valuesflagLoadChildren - set it to true to load children of the category
EpServiceException - in case of any error
Customer findCustomerByGuid(java.lang.String guid)
throws EpServiceException
guid - the guid of the Customer
Customer with the given guid
EpServiceException - in case of any error
Product findProductByGuid(java.lang.String guid,
boolean flagLoadCategories,
boolean flagLoadAttributes)
throws EpServiceException
guid - the guid of the productflagLoadCategories - set it to true to load categoriesflagLoadAttributes - set it to true to load attributes values
EpServiceException - in case of any error
ProductSku findProductSkuByGuid(java.lang.String guid)
throws EpServiceException
guid - the guid of the product sku
EpServiceException - in case of any errorboolean isBrandGuidExist(java.lang.String guid)
true if the given brand guid exist.
guid - the guid of the brand
true if the given brand guid exist
EpServiceException - in case of any error
boolean isCategoryGuidExist(java.lang.String guid)
throws EpServiceException
true if the given category guid exist.
guid - the guid of the category
true if the given category guid exist
EpServiceException - in case of any error
boolean isCustomerGuidExist(java.lang.String guid)
throws EpServiceException
true if the given Customer guid exists.
guid - the guid of the Customer
true if the given Customer guid exists
EpServiceException - in case of any error
boolean isProductGuidExist(java.lang.String guid)
throws EpServiceException
true if the given product guid exists.
guid - the guid of the product
true if the given product guid exists
EpServiceException - in case of any error
boolean isProductSkuGuidExist(java.lang.String guid)
throws EpServiceException
true if the given productsku guid exist.
guid - the guid of the productsku
true if the given productsku guid exist
EpServiceException - in case of any errorvoid setSession(PersistenceSession session)
session - the session to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||