public void exec(List<IActivityDataObject> activityDataObjects) {
// Convert me
List<IActivity> activities = convertAndQueueProjectActivities(activityDataObjects);
if (isHost()) {
TransformationResult transformed = concurrentDocumentServer
.transformIncoming(activities);
activities = transformed.getLocalActivities();
for (QueueItem item : transformed.getSendToPeers()) {
sendActivity(item.recipients, item.activity);
}
}
pendingActivityLists.add(activities);