public static void createCollectionWorkflowRole(Context context, int collectionId, String roleId, Group group) throws AuthorizeException, SQLException {
CollectionRole ass = CollectionRole.create(context);
ass.setCollectionId(collectionId);
ass.setRoleId(roleId);
ass.setGroupId(group);
ass.update();
}
/*
* Deletes a role group linked to a given role and a collection
*/
public static void deleteRoleGroup(Context context, Collection collection, String roleID) throws SQLException, IOException, WorkflowConfigurationException {