All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netgrif.application.engine.auth.web.responsebodies.IUserFactory Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
package com.netgrif.application.engine.auth.web.responsebodies;

import com.netgrif.application.engine.auth.domain.IUser;

import java.util.Locale;

public interface IUserFactory {
    /**
     * @param user   the domain User object we want to send to frontend
     * @param locale the locale for translations
     * @return a full version of the user response object, that has all of its attributes set
     */
    User getUser(IUser user, Locale locale);

    /**
     * @param user the domain User object we want to send to frontend
     * @return a small version of the user response object, that has its large attributes (roles, groups, authorities...) cleared
     */
    User getSmallUser(IUser user);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy