class PeopleAssignmentHelper {

	@SuppressWarnings("unchecked")
	protected void assignGroups(WorkItem workItem, PeopleAssignments peopleAssignments) {
	    List<OrganizationalEntity> potentialOwners = peopleAssignments.getPotentialOwners();
	    
	    Object groupIds = adjustParam(workItem.getParameter(GROUP_ID), groupFilter);
        
	    if (groupIds instanceof Collection) {
            processPeopleAssignments((Collection<OrganizationalEntity>)groupIds, potentialOwners);
        } else {
            processPeopleAssignments((String)groupIds, potentialOwners, false);
        }                  
	}

	public  PeopleAssignmentHelper();
	public  PeopleAssignmentHelper(String separator);
	public  PeopleAssignmentHelper(String adminUser, String adminGroup);
	public  PeopleAssignmentHelper(CaseData caseFile);

}