1 /*
2 * Copyright (2005-2009) Schibsted Søk AS
3 * This file is part of SESAT.
4 *
5 * SESAT is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * SESAT is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with SESAT. If not, see <http://www.gnu.org/licenses/>.
17 */
18 package no.sesat.search.user;
19
20 import java.util.Date;
21
22 /**
23 *
24 * @author haavard
25 */
26 public interface UserLogin {
27 /**
28 * @return the confirmed
29 */
30 Date getConfirmed();
31
32 /**
33 * @param confirmed the confirmed to set
34 */
35 void setConfirmed(final Date confirmed);
36
37 /**
38 * @return the login
39 */
40 String getLogin();
41
42 /**
43 * @param username the username to set
44 */
45 void setLogin(final String username);
46
47 User getUser();
48
49 int getType();
50
51 String getConfirmKey();
52 }