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 existingAccounts.findByIdentifier(@NotBlank String identifier) Find and return theAccount.findByName(@NotBlank String name) Find and return theAccount.@NotNull AccountfindByPKey(@NotBlank String pKey) Find and return a singleAccountinstance identified by its persistent key.
-
Method Details
-
findAll
Find and return a list of all existingAccounts.- Returns:
- A list, never null
-
findByPKey
Find and return a singleAccountinstance 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:
-