|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.service.impl.AbstractEpServiceImpl com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl com.elasticpath.service.tax.impl.TaxCategoryServiceImpl
public class TaxCategoryServiceImpl
The default implementation of the TaxCategoryService
.
Constructor Summary | |
---|---|
TaxCategoryServiceImpl()
|
Method Summary | |
---|---|
TaxCategory |
add(TaxCategory taxCategory)
Adds the given taxCategory. |
TaxCategory |
get(long taxCategoryUid)
Get the taxCategory with the given UID. |
java.lang.Object |
getObject(long uid)
Generic load method for all persistable domain models. |
java.util.List |
getTaxCategoryInUseUidList()
Get the list of uids of TaxCategory used to configure the existing TaxJurisdiction . |
java.util.List |
list()
List all taxCategorys stored in the database. |
TaxCategory |
load(long taxCategoryUid)
Load the taxCategory with the given UID. |
void |
remove(TaxCategory taxCategory)
Delete the taxCategory. |
void |
update(TaxCategory taxCategory)
Updates the given taxCategory. |
Methods inherited from class com.elasticpath.service.impl.AbstractEpPersistenceServiceImpl |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from class com.elasticpath.service.impl.AbstractEpServiceImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.service.EpPersistenceService |
---|
getPersistenceEngine, setPersistenceEngine |
Methods inherited from interface com.elasticpath.service.EpService |
---|
getElasticPath, setElasticPath |
Constructor Detail |
---|
public TaxCategoryServiceImpl()
Method Detail |
---|
public TaxCategory add(TaxCategory taxCategory) throws EpServiceException
add
in interface TaxCategoryService
taxCategory
- the taxCategory to add
EpServiceException
- - in case of any errorspublic TaxCategory get(long taxCategoryUid) throws EpServiceException
get
in interface TaxCategoryService
taxCategoryUid
- the taxCategory UID
EpServiceException
- - in case of any errorspublic java.lang.Object getObject(long uid) throws EpServiceException
getObject
in interface EpPersistenceService
uid
- the persisted instance uid
EpServiceException
- - in case of any errorspublic java.util.List getTaxCategoryInUseUidList()
TaxCategory
used to configure the existing TaxJurisdiction
.
getTaxCategoryInUseUidList
in interface TaxCategoryService
TaxCategory
s in use.public java.util.List list() throws EpServiceException
list
in interface TaxCategoryService
EpServiceException
- - in case of any errorspublic TaxCategory load(long taxCategoryUid) throws EpServiceException
load
in interface TaxCategoryService
taxCategoryUid
- the taxCategory UID
EpServiceException
- - in case of any errorspublic void remove(TaxCategory taxCategory) throws EpServiceException
remove
in interface TaxCategoryService
taxCategory
- the taxCategory to remove
EpServiceException
- - in case of any errorspublic void update(TaxCategory taxCategory) throws EpServiceException
update
in interface TaxCategoryService
taxCategory
- the taxCategory to update
EpServiceException
- - in case of any errors
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |