blob: d4e84c6041de4ebab6b430b0a4a7d4e9bbe9d5d3 [file] [log] [blame]
Michael Hanl51a1a012016-02-01 19:54:56 +01001package de.ids_mannheim.korap.user;
2
Michael Hanl00b64e02016-05-24 20:24:27 +02003import de.ids_mannheim.korap.config.Attributes;
4
Michael Hanl51a1a012016-02-01 19:54:56 +01005/**
6 * @author hanl
7 * @date 22/01/2016
Michael Hanl8abaf9e2016-05-23 16:46:35 +02008 * persistence issue with query request
Michael Hanl51a1a012016-02-01 19:54:56 +01009 */
10public class UserDetails extends Userdata {
11
Michael Hanl8abaf9e2016-05-23 16:46:35 +020012 public UserDetails (Integer userid) {
Michael Hanl51a1a012016-02-01 19:54:56 +010013 super(userid);
14 }
15
Michael Hanl8abaf9e2016-05-23 16:46:35 +020016
Michael Hanl51a1a012016-02-01 19:54:56 +010017 @Override
Michael Hanl8abaf9e2016-05-23 16:46:35 +020018 public String[] requiredFields () {
Michael Hanl51a1a012016-02-01 19:54:56 +010019 return new String[] { Attributes.EMAIL, Attributes.ADDRESS,
20 Attributes.LASTNAME, Attributes.FIRSTNAME };
21 }
22
Michael Hanl8abaf9e2016-05-23 16:46:35 +020023
Michael Hanl51a1a012016-02-01 19:54:56 +010024 @Override
Michael Hanl8abaf9e2016-05-23 16:46:35 +020025 public String[] defaultFields () {
Michael Hanl51a1a012016-02-01 19:54:56 +010026 return new String[] { Attributes.EMAIL, Attributes.ADDRESS,
27 Attributes.LASTNAME, Attributes.FIRSTNAME, Attributes.PHONE,
28 Attributes.COUNTRY, Attributes.INSTITUTION, Attributes.GENDER };
29 }
30
31}