@Service(value="cuba_UniqueNumbersService") public class UniqueNumbersServiceBean extends java.lang.Object implements UniqueNumbersService
NAME
Constructor and Description |
---|
UniqueNumbersServiceBean() |
Modifier and Type | Method and Description |
---|---|
long |
getNextNumber(java.lang.String domain)
Returns the next sequence value.
|
@Transactional public long getNextNumber(java.lang.String domain)
UniqueNumbersService
getNextNumber
in interface UniqueNumbersService
domain
- sequence identifier