String actors = actorText.getText();
PeopleAssignments assignments = new PeopleAssignments();
String[] actorIds = actors.trim().split(",");
List<OrganizationalEntity> potentialOwners = new ArrayList<OrganizationalEntity>();
for (String id: actorIds) {
User user = new User();
user.setId(id.trim());
potentialOwners.add(user);
}
assignments.setPotentialOwners(potentialOwners);
List<OrganizationalEntity> businessAdministrators = new ArrayList<OrganizationalEntity>();
businessAdministrators.add(new User("Administrator"));
assignments.setBusinessAdministrators(businessAdministrators);
task.setPeopleAssignments(assignments);
ContentData content = null;
String contentString = contentText.getText();