001/* 002 * (C) Copyright 2011 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * Contributors: 016 * Nuxeo - initial API and implementation 017 */ 018 019package org.nuxeo.ecm.user.invite; 020 021import java.util.List; 022 023public class UserRegistrationInfo { 024 025 protected String login; 026 027 /** 028 * @deprecated since 7.3. The password should not be stored. 029 */ 030 @Deprecated 031 protected String password; 032 033 protected String firstName; 034 035 protected String lastName; 036 037 protected String email; 038 039 protected String company; 040 041 protected String country; 042 043 protected String documentId; 044 045 protected String documentRight; 046 047 /** 048 * @since 7.4 049 */ 050 protected List<String> groups; 051 052 /** 053 * @since 8.1 054 */ 055 protected String tenantId; 056 057 public List<String> getGroups() { 058 return groups; 059 } 060 061 public void setGroups(List<String> groups) { 062 this.groups = groups; 063 } 064 065 public String getLogin() { 066 return login; 067 } 068 069 public void setLogin(String login) { 070 this.login = login; 071 } 072 073 /** 074 * @deprecated since 7.3. 075 */ 076 @Deprecated 077 public String getPassword() { 078 return password; 079 } 080 081 /** 082 * @deprecated since 7.3. 083 */ 084 @Deprecated 085 public void setPassword(String password) { 086 this.password = password; 087 } 088 089 public String getFirstName() { 090 return firstName; 091 } 092 093 public void setFirstName(String firstName) { 094 this.firstName = firstName; 095 } 096 097 public String getLastName() { 098 return lastName; 099 } 100 101 public void setLastName(String lastName) { 102 this.lastName = lastName; 103 } 104 105 public String getEmail() { 106 return email; 107 } 108 109 public void setEmail(String email) { 110 this.email = email; 111 } 112 113 public String getCompany() { 114 return company; 115 } 116 117 public void setCompany(String company) { 118 this.company = company; 119 } 120 121 public String getCountry() { 122 return country; 123 } 124 125 public void setCountry(String country) { 126 this.country = country; 127 } 128 129 public String getTenantId() { 130 return tenantId; 131 } 132 133 public void setTenantId(String tenantId) { 134 this.tenantId = tenantId; 135 } 136}