public class StorageTransferService extends Object implements MagalieService
| Modifier and Type | Field and Description |
|---|---|
protected MagalieServiceContext |
serviceContext |
| Constructor and Description |
|---|
StorageTransferService() |
| Modifier and Type | Method and Description |
|---|---|
void |
confirmStorageTransfer(MagalieUser magalieUser,
StoredArticle storedArticle,
double quantity,
Location destinationLocation) |
List<Building> |
getDestinationBuildings(Company company) |
Location |
getLocation(Building building,
MagalieUser magalieUser,
String barcode) |
Location |
getLocation(String buildingId,
MagalieUser magalieUser,
String barcode) |
Location |
getLocationById(String id) |
List<StoredArticle> |
getStoredArticlesInLocation(Location location) |
void |
setServiceContext(MagalieServiceContext serviceContext) |
protected MagalieServiceContext serviceContext
public void setServiceContext(MagalieServiceContext serviceContext)
setServiceContext in interface MagalieServicepublic Location getLocation(Building building, MagalieUser magalieUser, String barcode) throws InvalidMagalieBarcodeException, InaccessibleLocationException
public Location getLocation(String buildingId, MagalieUser magalieUser, String barcode) throws InvalidMagalieBarcodeException, InaccessibleLocationException
public List<StoredArticle> getStoredArticlesInLocation(Location location)
public void confirmStorageTransfer(MagalieUser magalieUser, StoredArticle storedArticle, double quantity, Location destinationLocation)
Copyright © 2013 CodeLutin. All rights reserved.