Class BasicUserVOConverter

  • All Implemented Interfaces:
    BeanConverter<BasicUserVO>

    @Component
    public class BasicUserVOConverter
    extends EntityVOConverter<BasicUserVO>
    Converter for BasicUserVO. Several checks are performed. For example:
    • When the user is not visible by the logged user, if the user is admin, returns a generic VO which represents the administration (no id). If an user, returns only the name and username.
    • When the user is not managed by the logged user, no hidden fields are returned (custom fields, e-mails, phones and addresses).
    • When managed, just return anything.