com.netgrif.application.engine.auth.web.responsebodies.IUserFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
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