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 Type
    Method
    Description
    long
    getEntityId(pl.edu.icm.unity.base.entity.EntityParam entity)
    Resolves EntityParam, if missing throws exception
    long
    getEntityId(pl.edu.icm.unity.base.identity.IdentityTaV entity)
    Resolves IdentityTaV, if missing throws exception
    pl.edu.icm.unity.base.identity.Identity
    getFullIdentity(pl.edu.icm.unity.base.identity.IdentityTaV entity)
    Resolves IdentityTaV 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)
      Resolves IdentityTaV 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
      Resolves IdentityTaV, 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
      Resolves EntityParam, if missing throws exception
      Throws:
      pl.edu.icm.unity.base.identity.IllegalIdentityValueException