Revision 53846
Added by Miriam Baglioni over 5 years ago
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