001/*
002 * (C) Copyright 2011 Nuxeo SAS (http://nuxeo.com/) and contributors.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 * Contributors:
014 * Nuxeo - initial API and implementation
015 */
016
017package org.nuxeo.ecm.user.invite;
018
019import java.util.List;
020
021public class UserRegistrationInfo {
022
023    protected String login;
024
025    /**
026     * @deprecated since 7.3. The password should not be stored.
027     */
028    @Deprecated
029    protected String password;
030
031    protected String firstName;
032
033    protected String lastName;
034
035    protected String email;
036
037    protected String company;
038
039    protected String country;
040
041    protected String documentId;
042
043    protected String documentRight;
044
045    /**
046     * @since 7.4
047     */
048    protected List<String> groups;
049
050    public List<String> getGroups() {
051        return groups;
052    }
053
054    public void setGroups(List<String> groups) {
055        this.groups = groups;
056    }
057
058    public String getLogin() {
059        return login;
060    }
061
062    public void setLogin(String login) {
063        this.login = login;
064    }
065
066    /**
067     * @deprecated since 7.3.
068     */
069    @Deprecated
070    public String getPassword() {
071        return password;
072    }
073
074    /**
075     * @deprecated since 7.3.
076     */
077    @Deprecated
078    public void setPassword(String password) {
079        this.password = password;
080    }
081
082    public String getFirstName() {
083        return firstName;
084    }
085
086    public void setFirstName(String firstName) {
087        this.firstName = firstName;
088    }
089
090    public String getLastName() {
091        return lastName;
092    }
093
094    public void setLastName(String lastName) {
095        this.lastName = lastName;
096    }
097
098    public String getEmail() {
099        return email;
100    }
101
102    public void setEmail(String email) {
103        this.email = email;
104    }
105
106    public String getCompany() {
107        return company;
108    }
109
110    public void setCompany(String company) {
111        this.company = company;
112    }
113
114    public String getCountry() {
115        return country;
116    }
117
118    public void setCountry(String country) {
119        this.country = country;
120    }
121
122}