if (scopeType.equals("UserById")) {
currentGrantee = new UserByIdGrantee();
} else if (scopeType.equals("UserByEmail")) {
currentGrantee = new UserByEmailAddressGrantee();
} else if (scopeType.equals("GroupById")) {
currentGrantee = new GroupByIdGrantee();
} else if (scopeType.equals("GroupByEmail")) {
currentGrantee = new GroupByEmailAddressGrantee();
} else if (scopeType.equals("GroupByDomain")) {
currentGrantee = new GroupByDomainGrantee();
} else if (scopeType.equals("AllUsers")) {