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(pl.edu.icm.unity.types.basic.EntityParam entity)ResolvesEntityParam, if missing throws exceptionlonggetEntityId(pl.edu.icm.unity.types.basic.IdentityTaV entity)ResolvesIdentityTaV, if missing throws exceptionpl.edu.icm.unity.types.basic.IdentitygetFullIdentity(pl.edu.icm.unity.types.basic.IdentityTaV entity)ResolvesIdentityTaVinto 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.IllegalIdentityValueExceptionResolvesIdentityTaVinto 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.IllegalIdentityValueExceptionResolvesIdentityTaV, 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.IllegalIdentityValueExceptionResolvesEntityParam, if missing throws exception- Parameters:
entity-- Returns:
- Throws:
pl.edu.icm.unity.exceptions.IllegalIdentityValueException
-
-