Interface EntityResolver
-
public interface EntityResolver
Various helper operations allowing for converting and checking identity and entity related parameters.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getEntityId(EntityParam entity)
ResolvesEntityParam
, if missing throws exceptionlong
getEntityId(IdentityTaV entity)
ResolvesIdentityTaV
, if missing throws exceptionIdentity
getFullIdentity(IdentityTaV entity)
ResolvesIdentityTaV
into a full Identity, if missing throws exception
-
-
-
Method Detail
-
getFullIdentity
Identity getFullIdentity(IdentityTaV entity)
ResolvesIdentityTaV
into a full Identity, if missing throws exception
-
getEntityId
long getEntityId(IdentityTaV entity) throws IllegalIdentityValueException
ResolvesIdentityTaV
, if missing throws exception- Throws:
IllegalIdentityValueException
-
getEntityId
long getEntityId(EntityParam entity) throws IllegalIdentityValueException
ResolvesEntityParam
, if missing throws exception- Throws:
IllegalIdentityValueException
-
-