/*
* (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Contributors:
* Nuxeo - initial API and implementation
*/
package org.nuxeo.ecm.user.invite;
import java.util.List;
public class UserRegistrationInfo {
protected String login;
/**
* @deprecated since 7.3. The password should not be stored.
*/
@Deprecated
protected String password;
protected String firstName;
protected String lastName;
protected String email;
protected String company;
protected String country;
protected String documentId;
protected String documentRight;
/**
* @since 7.4
*/
protected List<String> groups;
/**
* @since 8.1
*/
protected String tenantId;
public List<String> getGroups() {
return groups;
}
public void setGroups(List<String> groups) {
this.groups = groups;
}
public String getLogin() {
return login;
}
public void setLogin(String login) {
this.login = login;
}
/**
* @deprecated since 7.3.
*/
@Deprecated
public String getPassword() {
return password;
}
/**
* @deprecated since 7.3.
*/
@Deprecated
public void setPassword(String password) {
this.password = password;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
}