| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 1 | package de.ids_mannheim.korap.user; |
| 2 | |
| Michael Hanl | 00b64e0 | 2016-05-24 20:24:27 +0200 | [diff] [blame] | 3 | import de.ids_mannheim.korap.config.Attributes; |
| 4 | |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 5 | /** |
| 6 | * @author hanl |
| 7 | * @date 22/01/2016 |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 8 | * persistence issue with query request |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 9 | */ |
| 10 | public class UserDetails extends Userdata { |
| 11 | |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 12 | public UserDetails (Integer userid) { |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 13 | super(userid); |
| 14 | } |
| 15 | |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 16 | |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 17 | @Override |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 18 | public String[] requiredFields () { |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 19 | return new String[] { Attributes.EMAIL, Attributes.ADDRESS, |
| 20 | Attributes.LASTNAME, Attributes.FIRSTNAME }; |
| 21 | } |
| 22 | |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 23 | |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 24 | @Override |
| Michael Hanl | 8abaf9e | 2016-05-23 16:46:35 +0200 | [diff] [blame] | 25 | public String[] defaultFields () { |
| Michael Hanl | 51a1a01 | 2016-02-01 19:54:56 +0100 | [diff] [blame] | 26 | return new String[] { Attributes.EMAIL, Attributes.ADDRESS, |
| 27 | Attributes.LASTNAME, Attributes.FIRSTNAME, Attributes.PHONE, |
| 28 | Attributes.COUNTRY, Attributes.INSTITUTION, Attributes.GENDER }; |
| 29 | } |
| 30 | |
| 31 | } |