|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.inventory.service.FulfillmentLocationServiceImpl
@Service(value="blFulfillmentLocationService") @Transactional(value="blTransactionManager") public class FulfillmentLocationServiceImpl
| Field Summary | |
|---|---|
protected FulfillmentLocationDao |
fulfillmentLocationDao
|
| Constructor Summary | |
|---|---|
FulfillmentLocationServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
delete(FulfillmentLocation fulfillmentLocation)
Deletes the passed FulfillmentLocation |
List<FulfillmentLocation> |
findAllFulfillmentLocationsForSku(Long skuId)
Returns all fulfillment locations associated with a sku |
FulfillmentLocation |
findDefaultFulfillmentLocation()
Returns the first default fulfillment location found. |
List<FulfillmentLocation> |
readAll()
Retrieves all of the fulfillment locations |
FulfillmentLocation |
readById(Long fulfillmentLocationId)
Retrieves a FulfillmentLocation from the given id |
FulfillmentLocation |
save(FulfillmentLocation fulfillmentLocation)
Persists the FulfillmentLocation |
void |
updateOtherDefaultLocationToFalse(FulfillmentLocation fulfillmentLocation)
Sets the defaultLocation flag to false for all fulfillmentLocations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected FulfillmentLocationDao fulfillmentLocationDao
| Constructor Detail |
|---|
public FulfillmentLocationServiceImpl()
| Method Detail |
|---|
@Transactional(value="blTransactionManager") public List<FulfillmentLocation> readAll()
FulfillmentLocationService
readAll in interface FulfillmentLocationServiceList of FulfillmentLocation@Transactional(value="blTransactionManager") public FulfillmentLocation readById(Long fulfillmentLocationId)
FulfillmentLocationServiceFulfillmentLocation from the given id
readById in interface FulfillmentLocationServiceFulfillmentLocation@Transactional(value="blTransactionManager") public FulfillmentLocation save(FulfillmentLocation fulfillmentLocation)
FulfillmentLocationServiceFulfillmentLocation
save in interface FulfillmentLocationServiceFulfillmentLocation@Transactional(value="blTransactionManager") public void delete(FulfillmentLocation fulfillmentLocation)
FulfillmentLocationServiceFulfillmentLocation
delete in interface FulfillmentLocationService@Transactional(value="blTransactionManager") public void updateOtherDefaultLocationToFalse(FulfillmentLocation fulfillmentLocation)
FulfillmentLocationService
updateOtherDefaultLocationToFalse in interface FulfillmentLocationService@Transactional(value="blTransactionManager") public FulfillmentLocation findDefaultFulfillmentLocation()
FulfillmentLocationService
findDefaultFulfillmentLocation in interface FulfillmentLocationService@Transactional(value="blTransactionManager") public List<FulfillmentLocation> findAllFulfillmentLocationsForSku(Long skuId)
FulfillmentLocationService
findAllFulfillmentLocationsForSku in interface FulfillmentLocationService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||