1 29 30 package hero.mapper; 31 32 import hero.util.HeroException; 33 import hero.interfaces.BnRoleLocal; 34 35 import java.util.*; 36 37 38 public class Sample1CustomCustomerGroupMembers implements hero.mapper.RoleMapperI { 39 40 public Collection searchMembers(Object b,BnRoleLocal n, String userName) throws HeroException { 41 Collection users = new ArrayList(); 42 String roleName=n.getName(); 43 String projectName=n.getBnProject().getName(); 44 45 System.out.println("[CustomCustomerGroupMembers] BnRole name:"+roleName + " - Project name = " + projectName); 47 users.add("jack"); 48 return users; 49 50 } 51 52 } 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | Popular Tags |