@Override public GetGroupsForUserResponseProto getGroupsForUser( RpcController controller, GetGroupsForUserRequestProto request) throws ServiceException { String[] groups; try { groups = impl.getGroupsForUser(request.getUser()); } catch (IOException e) { throw new ServiceException(e); } GetGroupsForUserResponseProto.Builder builder = GetGroupsForUserResponseProto .newBuilder(); for (String g : groups) { builder.addGroups(g); } return builder.build(); } }
@Override public GetGroupsForUserResponseProto getGroupsForUser( RpcController controller, GetGroupsForUserRequestProto request) throws ServiceException { String[] groups; try { groups = impl.getGroupsForUser(request.getUser()); } catch (IOException e) { throw new ServiceException(e); } GetGroupsForUserResponseProto.Builder builder = GetGroupsForUserResponseProto .newBuilder(); for (String g : groups) { builder.addGroups(g); } return builder.build(); } }
@Override public GetGroupsForUserResponseProto getGroupsForUser( RpcController controller, GetGroupsForUserRequestProto request) throws ServiceException { String[] groups; try { groups = impl.getGroupsForUser(request.getUser()); } catch (IOException e) { throw new ServiceException(e); } GetGroupsForUserResponseProto.Builder builder = GetGroupsForUserResponseProto .newBuilder(); for (String g : groups) { builder.addGroups(g); } return builder.build(); } }
@Override public GetGroupsForUserResponseProto getGroupsForUser( RpcController controller, GetGroupsForUserRequestProto request) throws ServiceException { String[] groups; try { groups = impl.getGroupsForUser(request.getUser()); } catch (IOException e) { throw new ServiceException(e); } GetGroupsForUserResponseProto.Builder builder = GetGroupsForUserResponseProto .newBuilder(); for (String g : groups) { builder.addGroups(g); } return builder.build(); } }
@Override public GetGroupsForUserResponseProto getGroupsForUser( RpcController controller, GetGroupsForUserRequestProto request) throws ServiceException { String[] groups; try { groups = impl.getGroupsForUser(request.getUser()); } catch (IOException e) { throw new ServiceException(e); } GetGroupsForUserResponseProto.Builder builder = GetGroupsForUserResponseProto .newBuilder(); for (String g : groups) { builder.addGroups(g); } return builder.build(); } }