Revision 49868
Added by Panagiotis Kanakakis over 6 years ago
PiwikInfo.java | ||
---|---|---|
10 | 10 |
public class PiwikInfo implements IsSerializable { |
11 | 11 |
|
12 | 12 |
private String repositoryId; |
13 |
private String openaireId; |
|
14 |
private String repositoryName; |
|
15 |
private String country; |
|
13 | 16 |
private String siteId; |
17 |
private String authenticationToken; |
|
14 | 18 |
private Date creationDate; |
19 |
private String requestorName; |
|
20 |
private String requestorEmail; |
|
21 |
private boolean approved; |
|
22 |
private Date approvalDate; |
|
23 |
private String comment; |
|
15 | 24 |
|
16 | 25 |
public PiwikInfo() { |
17 | 26 |
|
18 | 27 |
} |
19 | 28 |
|
20 |
public PiwikInfo(String repositoryId, String siteId, Date creationDate) { |
|
29 |
public PiwikInfo(String repositoryId, String openaireId, String repositoryName, String country, String siteId, |
|
30 |
String authenticationToken, Date creationDate, String requestorName, String requestorEmail, |
|
31 |
boolean approved, Date approvalDate, String comment) { |
|
21 | 32 |
this.repositoryId = repositoryId; |
33 |
this.openaireId = openaireId; |
|
34 |
this.repositoryName = repositoryName; |
|
35 |
this.country = country; |
|
22 | 36 |
this.siteId = siteId; |
37 |
this.authenticationToken = authenticationToken; |
|
23 | 38 |
this.creationDate = creationDate; |
39 |
this.requestorName = requestorName; |
|
40 |
this.requestorEmail = requestorEmail; |
|
41 |
this.approved = approved; |
|
42 |
this.approvalDate = approvalDate; |
|
43 |
this.comment = comment; |
|
24 | 44 |
} |
25 | 45 |
|
26 | 46 |
public String getRepositoryId() { |
... | ... | |
31 | 51 |
this.repositoryId = repositoryId; |
32 | 52 |
} |
33 | 53 |
|
54 |
public String getOpenaireId() { |
|
55 |
return openaireId; |
|
56 |
} |
|
57 |
|
|
58 |
public void setOpenaireId(String openaireId) { |
|
59 |
this.openaireId = openaireId; |
|
60 |
} |
|
61 |
|
|
62 |
public String getRepositoryName() { |
|
63 |
return repositoryName; |
|
64 |
} |
|
65 |
|
|
66 |
public void setRepositoryName(String repositoryName) { |
|
67 |
this.repositoryName = repositoryName; |
|
68 |
} |
|
69 |
|
|
70 |
public String getCountry() { |
|
71 |
return country; |
|
72 |
} |
|
73 |
|
|
74 |
public void setCountry(String country) { |
|
75 |
this.country = country; |
|
76 |
} |
|
77 |
|
|
34 | 78 |
public String getSiteId() { |
35 | 79 |
return siteId; |
36 | 80 |
} |
... | ... | |
39 | 83 |
this.siteId = siteId; |
40 | 84 |
} |
41 | 85 |
|
86 |
public String getAuthenticationToken() { |
|
87 |
return authenticationToken; |
|
88 |
} |
|
89 |
|
|
90 |
public void setAuthenticationToken(String authenticationToken) { |
|
91 |
this.authenticationToken = authenticationToken; |
|
92 |
} |
|
93 |
|
|
42 | 94 |
public Date getCreationDate() { |
43 | 95 |
return creationDate; |
44 | 96 |
} |
... | ... | |
46 | 98 |
public void setCreationDate(Date creationDate) { |
47 | 99 |
this.creationDate = creationDate; |
48 | 100 |
} |
101 |
|
|
102 |
public String getRequestorName() { |
|
103 |
return requestorName; |
|
104 |
} |
|
105 |
|
|
106 |
public void setRequestorName(String requestorName) { |
|
107 |
this.requestorName = requestorName; |
|
108 |
} |
|
109 |
|
|
110 |
public String getRequestorEmail() { |
|
111 |
return requestorEmail; |
|
112 |
} |
|
113 |
|
|
114 |
public void setRequestorEmail(String requestorEmail) { |
|
115 |
this.requestorEmail = requestorEmail; |
|
116 |
} |
|
117 |
|
|
118 |
public boolean isApproved() { |
|
119 |
return approved; |
|
120 |
} |
|
121 |
|
|
122 |
public void setApproved(boolean approved) { |
|
123 |
this.approved = approved; |
|
124 |
} |
|
125 |
|
|
126 |
public Date getApprovalDate() { |
|
127 |
return approvalDate; |
|
128 |
} |
|
129 |
|
|
130 |
public void setApprovalDate(Date approvalDate) { |
|
131 |
this.approvalDate = approvalDate; |
|
132 |
} |
|
133 |
|
|
134 |
public String getComment() { |
|
135 |
return comment; |
|
136 |
} |
|
137 |
|
|
138 |
public void setComment(String comment) { |
|
139 |
this.comment = comment; |
|
140 |
} |
|
49 | 141 |
} |
Also available in: Unified diff
1. Broker api ready.
2. Piwi api ready.
3. Create repomanager.datasource bean.