Interface EntityResolver
public interface EntityResolver
Various helper operations allowing for converting and checking identity and entity related parameters.
- Author:
- K. Benedyczak
-
Method Summary
Modifier and TypeMethodDescriptionlong
getEntityId
(pl.edu.icm.unity.base.entity.EntityParam entity) ResolvesEntityParam
, if missing throws exceptionlong
getEntityId
(pl.edu.icm.unity.base.identity.IdentityTaV entity) ResolvesIdentityTaV
, if missing throws exceptionpl.edu.icm.unity.base.identity.Identity
getFullIdentity
(pl.edu.icm.unity.base.identity.IdentityTaV entity) ResolvesIdentityTaV
into a full Identity, if missing throws exception
-
Method Details
-
getFullIdentity
pl.edu.icm.unity.base.identity.Identity getFullIdentity(pl.edu.icm.unity.base.identity.IdentityTaV entity) ResolvesIdentityTaV
into a full Identity, if missing throws exception -
getEntityId
long getEntityId(pl.edu.icm.unity.base.identity.IdentityTaV entity) throws pl.edu.icm.unity.base.identity.IllegalIdentityValueException ResolvesIdentityTaV
, if missing throws exception- Throws:
pl.edu.icm.unity.base.identity.IllegalIdentityValueException
-
getEntityId
long getEntityId(pl.edu.icm.unity.base.entity.EntityParam entity) throws pl.edu.icm.unity.base.identity.IllegalIdentityValueException ResolvesEntityParam
, if missing throws exception- Throws:
pl.edu.icm.unity.base.identity.IllegalIdentityValueException
-