events = []
name = event.name
category = event.category
- description = event.description
snapshots = Snapshot.find(:all, :include => 'events', :conditions => ["(root_snapshot_id = ? OR id = ?) AND scope = 'PRJ'", event.snapshot_id, event.snapshot_id])
snapshots.each do |snapshot|
snapshot.events.reject {|e| e.name!=name || e.category!=category}.each do |event|
private String description;
private String resourceKey;
private Date date;
- private String data;
@CheckForNull
public String getId() {
return this;
}
- @CheckForNull
- public String getData() {
- return data;
- }
-
- public Event setData(@Nullable String data) {
- this.data = data;
- return this;
- }
-
@Override
public boolean equals(Object o) {
if (this == o) {
appendUrlParameter(url, "category", event.getCategory());
appendUrlParameter(url, "name", event.getName());
appendUrlParameter(url, "description", event.getDescription());
- appendUrlParameter(url, "data", event.getData());
return url.toString();
}
.setName(utils.getString(json, "n"))
.setCategory(utils.getString(json, "c"))
.setDate(utils.getDateTime(json, "dt"))
- .setDescription(utils.getString(json, "ds"))
- .setData(utils.getString(json, "data"));
+ .setDescription(utils.getString(json, "ds"));
}
}