Interface EntityResolver
-
public interface EntityResolverVarious 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 longgetEntityId(EntityParam entity)ResolvesEntityParam, if missing throws exceptionlonggetEntityId(IdentityTaV entity)ResolvesIdentityTaV, if missing throws exceptionIdentitygetFullIdentity(IdentityTaV entity)ResolvesIdentityTaVinto a full Identity, if missing throws exception
-
-
-
Method Detail
-
getFullIdentity
Identity getFullIdentity(IdentityTaV entity)
ResolvesIdentityTaVinto 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
-
-