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(pl.edu.icm.unity.types.basic.EntityParam entity)
ResolvesEntityParam
, if missing throws exceptionlong
getEntityId(pl.edu.icm.unity.types.basic.IdentityTaV entity)
ResolvesIdentityTaV
, if missing throws exceptionpl.edu.icm.unity.types.basic.Identity
getFullIdentity(pl.edu.icm.unity.types.basic.IdentityTaV entity)
ResolvesIdentityTaV
into a full Identity, if missing throws exception
-
-
-
Method Detail
-
getFullIdentity
pl.edu.icm.unity.types.basic.Identity getFullIdentity(pl.edu.icm.unity.types.basic.IdentityTaV entity) throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
ResolvesIdentityTaV
into a full Identity, if missing throws exception- Parameters:
entity
-- Returns:
- Throws:
pl.edu.icm.unity.exceptions.IllegalIdentityValueException
-
getEntityId
long getEntityId(pl.edu.icm.unity.types.basic.IdentityTaV entity) throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
ResolvesIdentityTaV
, if missing throws exception- Parameters:
entity
-- Returns:
- Throws:
pl.edu.icm.unity.exceptions.IllegalIdentityValueException
-
getEntityId
long getEntityId(pl.edu.icm.unity.types.basic.EntityParam entity) throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
ResolvesEntityParam
, if missing throws exception- Parameters:
entity
-- Returns:
- Throws:
pl.edu.icm.unity.exceptions.IllegalIdentityValueException
-
-