Revision 53846
Added by Miriam Baglioni over 5 years ago
modules/dnet-openaire-exporter/trunk/src/main/java/eu/dnetlib/openaire/community/CommunityApiCore.java | ||
---|---|---|
56 | 56 |
isClient.updateContextParam(id, CSUMMARY_DESCRIPTION, details.getDescription()); |
57 | 57 |
isClient.updateContextParam(id, CSUMMARY_LOGOURL, details.getLogoUrl()); |
58 | 58 |
isClient.updateContextParam(id, CSUMMARY_STATUS, details.getStatus().name()); |
59 |
isClient.updateContextParam(id, CSUMMARY_ZENODOC, details.getZenodoCommunity()); |
|
59 |
//isClient.updateContextParam(id, CSUMMARY_ZENODOC, details.getZenodoCommunity());
|
|
60 | 60 |
|
61 | 61 |
if (details.getManagers() != null) { |
62 | 62 |
isClient.updateContextParam(id, CSUMMARY_MANAGER, Joiner.on(CSV_DELIMITER).join(details.getManagers())); |
modules/dnet-openaire-exporter/trunk/src/main/java/eu/dnetlib/openaire/community/CommunityWritableProperties.java | ||
---|---|---|
29 | 29 |
@ApiModelProperty("status of the community, drives its visibility") |
30 | 30 |
private CommunityStatus status; |
31 | 31 |
|
32 |
@ApiModelProperty("Zenodo community associated to this community") |
|
33 |
protected String zenodoCommunity; |
|
32 |
// @ApiModelProperty("Zenodo community associated to this community")
|
|
33 |
// protected String zenodoCommunity;
|
|
34 | 34 |
|
35 | 35 |
public static CommunityWritableProperties fromDetails(final CommunityDetails details) { |
36 | 36 |
CommunityWritableProperties p = new CommunityWritableProperties(); |
... | ... | |
41 | 41 |
p.setManagers(details.getManagers()); |
42 | 42 |
p.setSubjects(details.getSubjects()); |
43 | 43 |
p.setStatus(details.getStatus()); |
44 |
p.setZenodoCommunity(details.getZenodoCommunity()); |
|
44 |
// p.setZenodoCommunity(details.getZenodoCommunity());
|
|
45 | 45 |
return p; |
46 | 46 |
} |
47 | 47 |
|
... | ... | |
101 | 101 |
this.status = status; |
102 | 102 |
} |
103 | 103 |
|
104 |
public String getZenodoCommunity() {return zenodoCommunity; } |
|
105 |
|
|
106 |
public void setZenodoCommunity(String zenodoCommunity) {this.zenodoCommunity = zenodoCommunity; } |
|
104 |
// public String getZenodoCommunity() {return zenodoCommunity; }
|
|
105 |
// |
|
106 |
// public void setZenodoCommunity(String zenodoCommunity) {this.zenodoCommunity = zenodoCommunity; }
|
|
107 | 107 |
} |
Also available in: Unified diff
made it not possible to change oac community id