|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProductTypeService
Provide attribute related business service.
Method Summary | |
---|---|
ProductType |
add(ProductType productType)
Adds the given attribute. |
ProductType |
initialize(ProductType productType)
Initialize (fill in) category attributes for the given ProductType . |
java.util.List |
list()
Lists all productType stored in the database. |
java.util.List |
listUsedUids()
Lists all productType uids used by categories. |
void |
remove(ProductType productType)
Delete the productType. |
void |
update(ProductType productType)
Updates the given productType. |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getObject, getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
ProductType add(ProductType productType) throws DuplicateKeyException
productType
- the productType to add
DuplicateKeyException
- - if a productType with the speicifed key already exists.ProductType initialize(ProductType productType)
ProductType
.
productType
- productType that needs attributes filled in.
java.util.List list() throws EpServiceException
EpServiceException
- -
in case of any errorsjava.util.List listUsedUids()
void remove(ProductType productType) throws EpServiceException
productType
- the productType to remove
EpServiceException
- - in case of any errorsvoid update(ProductType productType) throws DuplicateKeyException
productType
- the productType to update
DuplicateKeyException
- - if a productType with the speicifed key already exists.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |