package com.kaviju.accesscontrol.model;

import org.apache.log4j.Logger;

@SuppressWarnings("serial")
public class KAAccessListItem extends com.kaviju.accesscontrol.model.base._KAAccessListItem {
	@SuppressWarnings("unused")
	private static Logger log = Logger.getLogger(KAAccessListItem.class);
}

@@ -67,16 +67,59 @@
 ogger;%0A%0A
+import com.webobjects.foundation.NSArray;%0A%0A
 @Suppres
@@ -332,10 +332,502 @@
 class);%0A
+%09%0A%09public NSArray%3C? extends KAUserProfile%3EfetchUserProfileWithItemForRole(String roleCode) %7B%0A%09%09KARole role = KARole.roleWithCode(editingContext(), roleCode);%0A%09%09%0A%09%09NSArray%3CKAUserProfileRole%3E userProfileRoles = KAUserProfileRole.fetchKAUserProfileRoles(editingContext(), KAUserProfileRole.ROLE.eq(role), null);%0A%09%09userProfileRoles = KAUserProfileRole.LIST_ITEMS.containsObject(this).filtered(userProfileRoles);%0A%09%09%0A%09%09return KAUserProfileRole.USER_PROFILE.arrayValueInObject(userProfileRoles);%0A%09%7D%0A
 %7D%0A

Add a way to get all the users with a specific role.