getEventUpdate(), getEventSummary(), getContent());
}
case PLAYER:
Long livingStoryId = getLivingStoryId();
if (livingStoryId == null) {
AssetContentItem photoContentItem = null;
if (getPhotoContentEntityId() != null) {
try {
photoContentItem = (AssetContentItem) new ContentRpcImpl().getContentItem(
getPhotoContentEntityId(), false);
} catch (JDOException ex) {
// leave photoContentItem as null;
}
}
return new PlayerContentItem(getId(), getTimestamp(), getContributorIds(), getContent(),
getImportance(), getName(), getAliases(), getPlayerType(), photoContentItem);
} else {
return new StoryPlayerContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), livingStoryId,
(PlayerContentItem) new ContentRpcImpl().getContentItem(
getParentPlayerContentEntityId(), false));
}
case QUOTE:
return new QuoteContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), getLivingStoryId());
case BACKGROUND:
return new BackgroundContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), getLivingStoryId(), getName());
case DATA:
return new DataContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), getLivingStoryId());
case ASSET:
return new AssetContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), getLivingStoryId(),
getAssetType(), getCaption(), getPreviewUrl());
case NARRATIVE:
return new NarrativeContentItem(getId(), getTimestamp(), getContributorIds(),
getContent(), getImportance(), getLivingStoryId(),