@Override
	public List<SocialCommunity<?>> getCommunities(String query, Integer page) {
		List<GroupDto> groupDtos = getGroups(new GroupRequestBuilder(
				Strings.nullToEmpty(query)).setOffset(PAGE_COUNT * page)
				.setCount(PAGE_COUNT).build());

		return Lists.transform(groupDtos,
				new Function<GroupDto, SocialCommunity<?>>() {

					@Override
					public SocialCommunity<?> apply(GroupDto object) {
						return CommunityType.VK
								.getSocialCommunityInstance(object);

					}
				});
	}