@Component(value="cuba_NumberIdSource") public class NumberIdSourceClientImpl extends java.lang.Object implements NumberIdSource
Modifier and Type | Field and Description |
---|---|
protected NumberIdCache |
cache |
protected NumberIdService |
service |
NAME
Constructor and Description |
---|
NumberIdSourceClientImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
createIntegerId(java.lang.String entityName) |
java.lang.Long |
createLongId(java.lang.String entityName) |
@Inject protected NumberIdService service
@Inject protected NumberIdCache cache
public java.lang.Long createLongId(java.lang.String entityName)
createLongId
in interface NumberIdSource
public java.lang.Integer createIntegerId(java.lang.String entityName)
createIntegerId
in interface NumberIdSource