Project

General

Profile

« Previous | Next » 

Revision 59805

[User Management]: Update registered service table and methods

View differences:

RegisteredService.java
6 6

  
7 7
public class RegisteredService implements Serializable {
8 8
    private String id;
9
    private String aai_id;
9
    private String client_id;
10 10
    private String name;
11 11
    private String owner;
12 12
    private Timestamp date;
13
    private String registration_access_token;
13 14

  
14
    public RegisteredService(){}
15
    
16
    public RegisteredService(String aai_id, String owner, String name) {
17
        this.aai_id = aai_id;
15
    public RegisteredService() {
16
    }
17

  
18
    public RegisteredService(String client_id, String owner, String name, String registration_access_token) {
19
        this.client_id = client_id;
18 20
        this.owner = owner;
19 21
        this.name = name;
20 22
        this.date = new Timestamp(new Date().getTime());
23
        this.registration_access_token = registration_access_token;
21 24
    }
25

  
22 26
    public String getId() {
23 27
        return id;
24 28
    }
......
27 31
        this.id = id;
28 32
    }
29 33

  
30
    public String getAai_id() {
31
        return aai_id;
34
    public String getClientId() {
35
        return client_id;
32 36
    }
33 37

  
34
    public void setAai_id(String aai_id) {
35
        this.aai_id = aai_id;
38
    public void setClientId(String client_id) {
39
        this.client_id = client_id;
36 40
    }
37 41

  
38 42
    public String getName() {
......
58 62
    public void setDate(Timestamp date) {
59 63
        this.date = date;
60 64
    }
65

  
66
    public String getRegistrationAccessToken() {
67
        return registration_access_token;
68
    }
69

  
70
    public void setRegistrationAccessToken(String registration_access_token) {
71
        this.registration_access_token = registration_access_token;
72
    }
61 73
}

Also available in: Unified diff