return null;
}
if (id != null) {
col.setId(RequestUrls.DOUBAN_COLLECTION_PREFIX + "/" + id);
}
DoubanRatingObj rat = new DoubanRatingObj();
if (rating > 5) {
rating = 5;
} else if (rating < 1) {
rating = 1;
}
rat.setValue(rating);
col.setRating(rat);
if (tags != null && !tags.isEmpty()) {
List<DoubanTagObj> tagsList = new ArrayList<DoubanTagObj>();
for (String t : tags) {
DoubanTagObj tag = new DoubanTagObj();