@Override
public void execute() {
if (isUpdateJob()) {
try {
RepositoryReader repoReader = pluginHelper
.getRepositoryReader();
List<Long> contentIds = (List<Long>) repoReader
.getContentsContainingAttribute(RATINGS);
Collection<String> visibleAttributes = repoReader
.getAttributeNames(contentIds);
List<Content> ratedContents = new ArrayList<Content>();
for (Long id : contentIds) {
ratedContents.add(getContent(id,
(Collection<String>) visibleAttributes, true));