<commit_before>package org.helianto.user.repository;

import java.io.Serializable;

import org.helianto.core.def.ActivityState;
import org.helianto.user.domain.User;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * User read adapter.
 * 
 * @author mauriciofernandesdecastro
 */
public class UserReadAdapter 
	implements Serializable
{
	
	private static final long serialVersionUID = 1L;

	protected int userId;
    
	protected int userGroupId;
    
	protected int contextId;
    
	protected int entityId;
    
	protected String entityAlias;
    
	protected int identityId;
    
	private String firstName;

	private String lastName;

	private String displayName;

	protected Character userGender;
	
	protected String userImageUrl;
	
	protected String userKey;
    
	protected String userName;
    
	protected Character userState;
    
	private Character userType;

	private Integer jobId;

	private String jobTitle;

	private Boolean accountNonExpired = true;
	
	private User adaptee;
	
	public UserReadAdapter() {
		super();
	}
	
    /**
     * Constructor.
     * 
     * @param userId
     * @param contextId
     * @param entityId
     * @param entityAlias
     * @param identityId
     * @param userKey
     * @param userName
     * @param userState
     * 
     * @deprecated
     */
	public UserReadAdapter(int userId
			, int contextId
			, int entityId
			, String entityAlias
			, int identityId
			, String userKey
			, String userName
			, char userState
			) {
		this();
		this.userId = userId;
		this.contextId = contextId;
		this.entityId = entityId;
		this.entityAlias = entityAlias;
		this.identityId = identityId;
		this.userKey = userKey;
		this.userName = userName;
		this.userState = userState;<commit_msg>Reintroduced constructor.<commit_after>package org.helianto.user.repository;

import java.io.Serializable;

import org.helianto.core.def.ActivityState;
import org.helianto.user.domain.User;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * User read adapter.
 * 
 * @author mauriciofernandesdecastro
 */
public class UserReadAdapter 
	implements Serializable
{
	
	private static final long serialVersionUID = 1L;

	protected int userId;
    
	protected int userGroupId;
    
	protected int contextId;
    
	protected int entityId;
    
	protected String entityAlias;
    
	protected int identityId;
    
	private String firstName;

	private String lastName;

	private String displayName;

	protected Character userGender;
	
	protected String userImageUrl;
	
	protected String userKey;
    
	protected String userName;
    
	protected Character userState;
    
	private Character userType;

	private Integer jobId;

	private String jobTitle;

	private Boolean accountNonExpired = true;
	
	private User adaptee;
	
	public UserReadAdapter() {
		super();
	}
	
    /**
     * Constructor.
     * 
     * @param userId
     * @param contextId
     * @param entityId
     * @param entityAlias
     * @param identityId
     * @param userKey
     * @param userName
     * @param userState
     */
	public UserReadAdapter(int userId
			, int contextId
			, int entityId
			, String entityAlias
			, int identityId
			, String userKey
			, String userName
			, char userState
			) {
		this();
		this.userId = userId;
		this.contextId = contextId;
		this.entityId = entityId;
		this.entityAlias = entityAlias;
		this.identityId = identityId;
		this.userKey = userKey;
		this.userName = userName;
		this.userState = userState;
{'fraction_non_alphanumeric': 0.0739243430551545, 'fraction_numerical': 0.0005775339301183945, 'mean_word_length': 3.148502994011976, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1466587', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1031, 'n_words': 277}