public class TranDbGroupPermissionsLookupTest {
public static void main(String[] args) throws Exception {
Connection conn = ServerDbInfo.getTranDbConnectionInfo().getConnection();
try {
Group group = new Group(1, "Users");
EntityDescriptor entity = new EntityDescriptor(EntityType.Operation, 2);
Permissions p = new TranDbGroupPermissionsLookup(conn).getPermissions(group, entity);
System.out.println(p);
} finally {
KongaDbUtils.close(conn);