Package org.openwms.common.account
Interface AccountService
- All Known Implementing Classes:
AccountServiceImpl
public interface AccountService
A AccountService.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionfindAll()
Find and return a list of all existingAccount
s.findByIdentifier
(@NotBlank String identifier) Find and return theAccount
.findByName
(@NotBlank String name) Find and return theAccount
.@NotNull Account
findByPKey
(@NotBlank String pKey) Find and return a singleAccount
instance identified by its persistent key.
-
Method Details
-
findAll
Find and return a list of all existingAccount
s.- Returns:
- A list, never null
-
findByPKey
Find and return a singleAccount
instance identified by its persistent key.- Parameters:
pKey
- The persistent key- Returns:
- The Account instance
-
findByIdentifier
Find and return theAccount
.- Parameters:
identifier
- The Account's identifier- Returns:
- The Account instance
-
findByName
Find and return theAccount
.- Parameters:
name
- The Account's name- Returns:
- The Account instance
-
findDefault
- Returns:
-