Project

General

Profile

« Previous | Next » 

Revision 57907

New mapping for RepositorySnippet + Using SecurityContext to get the email of user

View differences:

RepositorySnippet.java
3 3

  
4 4
import eu.dnetlib.domain.data.PiwikInfo;
5 5

  
6
import java.util.Date;
7

  
6 8
public class RepositorySnippet {
7 9

  
8 10
    private String id;
......
15 17
    private String registrationdate;
16 18
    private String logoUrl;
17 19
    private String description;
20
    private String fullTextDownload;
21
    private String consentTermsOfUse;
22
    private Date consentTermsOfUseDate;
18 23

  
19 24

  
20 25
    private PiwikInfo piwikInfo;
......
108 113
    public void setDescription(String description) {
109 114
        this.description = description;
110 115
    }
116

  
117
    public String getFullTextDownload() {
118
        return fullTextDownload;
119
    }
120

  
121
    public void setFullTextDownload(String fullTextDownload) {
122
        this.fullTextDownload = fullTextDownload;
123
    }
124

  
125
    public String getConsentTermsOfUse() {
126
        return consentTermsOfUse;
127
    }
128

  
129
    public void setConsentTermsOfUse(String consentTermsOfUse) {
130
        this.consentTermsOfUse = consentTermsOfUse;
131
    }
132

  
133
    public Date getConsentTermsOfUseDate() {
134
        return consentTermsOfUseDate;
135
    }
136

  
137
    public void setConsentTermsOfUseDate(Date consentTermsOfUseDate) {
138
        this.consentTermsOfUseDate = consentTermsOfUseDate;
139
    }
111 140
}

Also available in: Unified diff