Package org.openwms.wms.location
Interface LocationService
- All Known Implementing Classes:
 LocationServiceImpl
public interface LocationService
A LocationService.
- Author:
 - Heiko Scherrer
 
- 
Method Summary
Modifier and TypeMethodDescription@NotNull LocationfindByBK(@NotNull LocationPK locationId) Find and return the Location identified by the business key.@NotNull LocationfindByErpCode(@NotBlank String erpCode) Find and return the Location identified by the unique erpCode.@NotNull LocationfindByForeignPKey(@NotBlank String foreignPKey) Find and return a Location identified by the persistent key.findOptionalByErpCode(@NotBlank String erpCode) Find and return the Location identified by the unique erpCode.findOptionalByID(@NotNull LocationPK locationId) Find and return the Location identified by the business key.@NotNull LocationSave aLocation. 
- 
Method Details
- 
findByForeignPKey
Find and return a Location identified by the persistent key.- Parameters:
 foreignPKey- The foreign persistent key of the Location instance- Returns:
 - The instance
 
 - 
findOptionalByID
Find and return the Location identified by the business key.- Parameters:
 locationId- The coordinate of the Location- Returns:
 - The instance
 
 - 
findByBK
Find and return the Location identified by the business key.- Parameters:
 locationId- The coordinate of the Location- Returns:
 - The instance
 - Throws:
 org.ameba.exception.NotFoundException- in case the Location does not exist
 - 
findByErpCode
Find and return the Location identified by the unique erpCode.- Parameters:
 erpCode- The unique ERP code- Returns:
 - The instance
 - Throws:
 org.ameba.exception.NotFoundException- in case the Location does not exist
 - 
findOptionalByErpCode
Find and return the Location identified by the unique erpCode.- Parameters:
 erpCode- The unique ERP code- Returns:
 - The instance
 
 - 
save
Save aLocation.- Parameters:
 location- The instance to save- Returns:
 - The saved instance
 
 
 -