SYMBOL INDEX (223 symbols across 75 files) FILE: src/main/java/com/github/javarushcommunity/jrtb/JavarushTelegramBotApplication.java class JavarushTelegramBotApplication (line 7) | @EnableScheduling method main (line 11) | public static void main(String[] args) { FILE: src/main/java/com/github/javarushcommunity/jrtb/bot/JavarushTelegramBot.java class JavarushTelegramBot (line 22) | @Component method JavarushTelegramBot (line 36) | @Autowired method onUpdateReceived (line 44) | @Override method getBotUsername (line 58) | @Override method getBotToken (line 63) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/AddGroupSubCommand.java class AddGroupSubCommand (line 24) | public class AddGroupSubCommand implements Command { method AddGroupSubCommand (line 30) | public AddGroupSubCommand(SendBotMessageService sendBotMessageService,... method execute (line 37) | @Override method sendGroupNotFound (line 57) | private void sendGroupNotFound(Long chatId, String groupId) { method sendNotValidGroupID (line 62) | private void sendNotValidGroupID(Long chatId, String groupId) { method sendGroupIdList (line 67) | private void sendGroupIdList(Long chatId) { FILE: src/main/java/com/github/javarushcommunity/jrtb/command/AdminHelpCommand.java class AdminHelpCommand (line 13) | public class AdminHelpCommand implements Command { method AdminHelpCommand (line 22) | public AdminHelpCommand(SendBotMessageService sendBotMessageService) { method execute (line 26) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/Command.java type Command (line 8) | public interface Command { method execute (line 15) | void execute(Update update); FILE: src/main/java/com/github/javarushcommunity/jrtb/command/CommandContainer.java class CommandContainer (line 19) | public class CommandContainer { method CommandContainer (line 25) | public CommandContainer(SendBotMessageService sendBotMessageService, T... method findCommand (line 48) | public Command findCommand(String commandIdentifier, String username) { method isAdminCommand (line 60) | private boolean isAdminCommand(Command command) { FILE: src/main/java/com/github/javarushcommunity/jrtb/command/CommandName.java type CommandName (line 6) | public enum CommandName { method CommandName (line 20) | CommandName(String commandName) { method getCommandName (line 24) | public String getCommandName() { FILE: src/main/java/com/github/javarushcommunity/jrtb/command/CommandUtils.java class CommandUtils (line 8) | public class CommandUtils { method getChatId (line 16) | public static Long getChatId(Update update) { method getMessage (line 26) | public static String getMessage(Update update) { FILE: src/main/java/com/github/javarushcommunity/jrtb/command/DeleteGroupSubCommand.java class DeleteGroupSubCommand (line 26) | public class DeleteGroupSubCommand implements Command { method DeleteGroupSubCommand (line 32) | public DeleteGroupSubCommand(SendBotMessageService sendBotMessageServi... method execute (line 39) | @Override method sendGroupIdList (line 64) | private void sendGroupIdList(Long chatId) { FILE: src/main/java/com/github/javarushcommunity/jrtb/command/HelpCommand.java class HelpCommand (line 12) | public class HelpCommand implements Command { method HelpCommand (line 31) | public HelpCommand(SendBotMessageService sendBotMessageService) { method execute (line 35) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/ListGroupSubCommand.java class ListGroupSubCommand (line 18) | public class ListGroupSubCommand implements Command { method ListGroupSubCommand (line 23) | public ListGroupSubCommand(SendBotMessageService sendBotMessageService... method execute (line 28) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/NoCommand.java class NoCommand (line 11) | public class NoCommand implements Command { method NoCommand (line 18) | public NoCommand(SendBotMessageService sendBotMessageService) { method execute (line 22) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/StartCommand.java class StartCommand (line 13) | public class StartCommand implements Command { method StartCommand (line 23) | public StartCommand(SendBotMessageService sendBotMessageService, Teleg... method execute (line 28) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/StatCommand.java class StatCommand (line 17) | @AdminCommand method StatCommand (line 30) | @Autowired method execute (line 36) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/StopCommand.java class StopCommand (line 15) | public class StopCommand implements Command { method StopCommand (line 23) | public StopCommand(SendBotMessageService sendBotMessageService, Telegr... method execute (line 28) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/command/UnknownCommand.java class UnknownCommand (line 11) | public class UnknownCommand implements Command { method UnknownCommand (line 17) | public UnknownCommand(SendBotMessageService sendBotMessageService) { method execute (line 21) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/dto/GroupStatDTO.java class GroupStatDTO (line 9) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/dto/StatisticDTO.java class StatisticDTO (line 11) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushGroupClient.java type JavaRushGroupClient (line 13) | public interface JavaRushGroupClient { method getGroupList (line 21) | List getGroupList(GroupRequestArgs requestArgs); method getGroupDiscussionList (line 29) | List getGroupDiscussionList(GroupRequestArgs requ... method getGroupCount (line 37) | Integer getGroupCount(GroupsCountRequestArgs countRequestArgs); method getGroupById (line 45) | GroupDiscussionInfo getGroupById(Integer id); method findLastPostId (line 47) | Integer findLastPostId(Integer groupSub); FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushGroupClientImpl.java class JavaRushGroupClientImpl (line 17) | @Component method JavaRushGroupClientImpl (line 23) | public JavaRushGroupClientImpl(@Value("${javarush.api.path}") String j... method getGroupList (line 29) | @Override method getGroupDiscussionList (line 38) | @Override method getGroupCount (line 47) | @Override method getGroupById (line 57) | @Override method findLastPostId (line 64) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushPostClient.java type JavaRushPostClient (line 10) | public interface JavaRushPostClient { method findNewPosts (line 19) | List findNewPosts(Integer groupId, Integer lastPostId); FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushPostClientImpl.java class JavaRushPostClientImpl (line 12) | @Component method JavaRushPostClientImpl (line 17) | public JavaRushPostClientImpl(@Value("${javarush.api.path}") String ja... method findNewPosts (line 21) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/BaseUserInfo.java class BaseUserInfo (line 8) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupDiscussionInfo.java class GroupDiscussionInfo (line 10) | @EqualsAndHashCode(callSuper = true) FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupFilter.java type GroupFilter (line 6) | public enum GroupFilter { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupInfo.java class GroupInfo (line 9) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupInfoType.java type GroupInfoType (line 6) | public enum GroupInfoType { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupRequestArgs.java class GroupRequestArgs (line 13) | @Builder method populateQueries (line 30) | public Map populateQueries() { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupVisibilityStatus.java type GroupVisibilityStatus (line 6) | public enum GroupVisibilityStatus { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/GroupsCountRequestArgs.java class GroupsCountRequestArgs (line 14) | @Builder method populateQueries (line 21) | public Map populateQueries() { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/Language.java type Language (line 6) | public enum Language { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/LikeStatus.java type LikeStatus (line 6) | public enum LikeStatus { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/LikesInfo.java class LikesInfo (line 6) | public class LikesInfo { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/MeGroupInfo.java class MeGroupInfo (line 8) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/MeGroupInfoStatus.java type MeGroupInfoStatus (line 6) | public enum MeGroupInfoStatus { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/PostInfo.java class PostInfo (line 8) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/PostType.java type PostType (line 6) | public enum PostType { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/UserDiscussionInfo.java class UserDiscussionInfo (line 8) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/UserPublicStatus.java type UserPublicStatus (line 6) | public enum UserPublicStatus { FILE: src/main/java/com/github/javarushcommunity/jrtb/javarushclient/dto/VisibilityStatus.java type VisibilityStatus (line 6) | public enum VisibilityStatus { FILE: src/main/java/com/github/javarushcommunity/jrtb/job/FindNewPostsJob.java class FindNewPostsJob (line 15) | @Slf4j method FindNewPostsJob (line 21) | @Autowired method findNewPosts (line 26) | @Scheduled(fixedRateString = "${bot.recountNewPostFixedRate}") FILE: src/main/java/com/github/javarushcommunity/jrtb/repository/GroupSubRepository.java type GroupSubRepository (line 10) | @Repository FILE: src/main/java/com/github/javarushcommunity/jrtb/repository/TelegramUserRepository.java type TelegramUserRepository (line 12) | @Repository method findAllByActiveTrue (line 14) | List findAllByActiveTrue(); method findAllByActiveFalse (line 15) | List findAllByActiveFalse(); FILE: src/main/java/com/github/javarushcommunity/jrtb/repository/entity/GroupSub.java class GroupSub (line 12) | @Data method addUser (line 35) | public void addUser(TelegramUser telegramUser) { FILE: src/main/java/com/github/javarushcommunity/jrtb/repository/entity/TelegramUser.java class TelegramUser (line 12) | @Data FILE: src/main/java/com/github/javarushcommunity/jrtb/service/FindNewPostsService.java type FindNewPostsService (line 6) | public interface FindNewPostsService { method findNewPosts (line 11) | void findNewPosts(); FILE: src/main/java/com/github/javarushcommunity/jrtb/service/FindNewPostsServiceImpl.java class FindNewPostsServiceImpl (line 14) | @Service method FindNewPostsServiceImpl (line 23) | @Autowired method findNewPosts (line 33) | @Override method notifySubscribersAboutNewPosts (line 44) | private void notifySubscribersAboutNewPosts(GroupSub gSub, List newPosts) { method getPostUrl (line 66) | private String getPostUrl(String key) { FILE: src/main/java/com/github/javarushcommunity/jrtb/service/GroupSubService.java type GroupSubService (line 12) | public interface GroupSubService { method save (line 14) | GroupSub save(Long chatId, GroupDiscussionInfo groupDiscussionInfo); method save (line 16) | GroupSub save(GroupSub groupSub); method findById (line 18) | Optional findById(Integer id); method findAll (line 20) | List findAll(); FILE: src/main/java/com/github/javarushcommunity/jrtb/service/GroupSubServiceImpl.java class GroupSubServiceImpl (line 15) | @Service method GroupSubServiceImpl (line 22) | @Autowired method save (line 29) | @Override method save (line 53) | @Override method findById (line 58) | @Override method findAll (line 63) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/service/SendBotMessageService.java type SendBotMessageService (line 8) | public interface SendBotMessageService { method sendMessage (line 16) | void sendMessage(Long chatId, String message); method sendMessage (line 24) | void sendMessage(Long chatId, List message); FILE: src/main/java/com/github/javarushcommunity/jrtb/service/SendBotMessageServiceImpl.java class SendBotMessageServiceImpl (line 17) | @Service method SendBotMessageServiceImpl (line 22) | @Autowired method sendMessage (line 27) | @Override method sendMessage (line 44) | @Override FILE: src/main/java/com/github/javarushcommunity/jrtb/service/StatisticsService.java type StatisticsService (line 8) | public interface StatisticsService { method countBotStatistic (line 9) | StatisticDTO countBotStatistic(); FILE: src/main/java/com/github/javarushcommunity/jrtb/service/StatisticsServiceImpl.java class StatisticsServiceImpl (line 13) | @Service method StatisticsServiceImpl (line 19) | public StatisticsServiceImpl(GroupSubService groupSubService, Telegram... method countBotStatistic (line 24) | @Override method getGroupsPerUser (line 37) | private double getGroupsPerUser(List allActiveUsers) { FILE: src/main/java/com/github/javarushcommunity/jrtb/service/TelegramUserService.java type TelegramUserService (line 12) | public interface TelegramUserService { method save (line 19) | void save(TelegramUser telegramUser); method findAllActiveUsers (line 26) | List findAllActiveUsers(); method findAllInActiveUsers (line 33) | List findAllInActiveUsers(); method findByChatId (line 41) | Optional findByChatId(Long chatId); FILE: src/main/java/com/github/javarushcommunity/jrtb/service/TelegramUserServiceImpl.java class TelegramUserServiceImpl (line 14) | @Service method TelegramUserServiceImpl (line 19) | @Autowired method save (line 24) | @Override method findAllActiveUsers (line 29) | @Override method findAllInActiveUsers (line 34) | @Override method findByChatId (line 39) | @Override FILE: src/main/resources/db/migration/V00001__created_tg_user_table.sql type tg_user (line 5) | CREATE TABLE tg_user ( FILE: src/main/resources/db/migration/V00002__created_groupsub_many_to_many.sql type group_sub (line 8) | CREATE TABLE group_sub ( type group_x_user (line 15) | CREATE TABLE group_x_user ( FILE: src/test/java/com/github/javarushcommunity/jrtb/command/AbstractCommandTest.java class AbstractCommandTest (line 17) | abstract class AbstractCommandTest { method getCommandName (line 23) | abstract String getCommandName(); method getCommandMessage (line 25) | abstract String getCommandMessage(); method getCommand (line 27) | abstract Command getCommand(); method shouldProperlyExecuteCommand (line 29) | @Test method prepareUpdate (line 48) | public static Update prepareUpdate(Long chatId, String commandName) { FILE: src/test/java/com/github/javarushcommunity/jrtb/command/AdminHelpCommandTest.java class AdminHelpCommandTest (line 8) | @DisplayName("Unit-level testing for AdminHelpCommand") method getCommandName (line 11) | @Override method getCommandMessage (line 16) | @Override method getCommand (line 21) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/command/CommandContainerTest.java class CommandContainerTest (line 18) | @DisplayName("Unit-level testing for CommandContainer") method init (line 23) | @BeforeEach method shouldGetAllTheExistingCommands (line 38) | @Test method shouldReturnUnknownCommand (line 48) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/command/DeleteGroupSubCommandTest.java class DeleteGroupSubCommandTest (line 21) | @DisplayName("Unit-level testing for DeleteGroupSubCommand") method init (line 30) | @BeforeEach method shouldProperlyReturnEmptySubscriptionList (line 39) | @Test method shouldProperlyReturnSubscriptionLit (line 57) | @Test method shouldRejectByInvalidGroupId (line 83) | @Test method shouldProperlyDeleteByGroupId (line 106) | @Test method shouldDoesNotExistByGroupId (line 140) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/command/HelpCommandTest.java class HelpCommandTest (line 8) | @DisplayName("Unit-level testing for HelpCommand") method getCommandName (line 11) | @Override method getCommandMessage (line 16) | @Override method getCommand (line 21) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/command/ListGroupSubCommandTest.java class ListGroupSubCommandTest (line 21) | @DisplayName("Unit-level testing for ListGroupSubCommand") method shouldProperlyShowsListGroupSub (line 24) | @Test method populateGroupSub (line 60) | private GroupSub populateGroupSub(Integer id, String title) { FILE: src/test/java/com/github/javarushcommunity/jrtb/command/NoCommandTest.java class NoCommandTest (line 8) | @DisplayName("Unit-level testing for NoCommand") method getCommandName (line 11) | @Override method getCommandMessage (line 16) | @Override method getCommand (line 21) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/command/StartCommandTest.java class StartCommandTest (line 8) | @DisplayName("Unit-level testing for StartCommand") method getCommandName (line 11) | @Override method getCommandMessage (line 16) | @Override method getCommand (line 21) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/command/StatCommandTest.java class StatCommandTest (line 18) | @DisplayName("Unit-level testing for StatCommand") method init (line 25) | @BeforeEach method shouldProperlySendMessage (line 32) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/command/StopCommandTest.java class StopCommandTest (line 8) | @DisplayName("Unit-level testing for StopCommand") method getCommandName (line 11) | @Override method getCommandMessage (line 16) | @Override method getCommand (line 21) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/command/UnknownCommandTest.java class UnknownCommandTest (line 7) | @DisplayName("Unit-level testing for UnknownCommand") method getCommandName (line 10) | @Override method getCommandMessage (line 15) | @Override method getCommand (line 20) | @Override FILE: src/test/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushGroupClientTest.java class JavaRushGroupClientTest (line 15) | @DisplayName("Integration-level testing for JavaRushGroupClientImplTest") method shouldProperlyGetGroupsWithEmptyArgs (line 22) | @Test method shouldProperlyGetWithOffSetAndLimit (line 35) | @Test method shouldProperlyGetGroupsDiscWithEmptyArgs (line 51) | @Test method shouldProperlyGetGroupDiscWithOffSetAndLimit (line 64) | @Test method shouldProperlyGetGroupCount (line 80) | @Test method shouldProperlyGetGroupTECHCount (line 92) | @Test method shouldProperlyGetGroupById (line 106) | @Test method shouldNotProperlyGetGroupById (line 121) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/javarushclient/JavaRushPostClientTest.java class JavaRushPostClientTest (line 12) | @DisplayName("Integration-level testing for JavaRushPostClient") method shouldProperlyGetNew15Posts (line 17) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/repository/GroupSubRepositoryIT.java class GroupSubRepositoryIT (line 21) | @ActiveProfiles("test") method shouldProperlyGetAllUsersForGroupSub (line 29) | @Sql(scripts = {"/sql/clearDbs.sql", "/sql/fiveUsersForGroupSub.sql"}) FILE: src/test/java/com/github/javarushcommunity/jrtb/repository/TelegramUserRepositoryIT.java class TelegramUserRepositoryIT (line 21) | @ActiveProfiles("test") method shouldProperlyFindAllActiveUsers (line 29) | @Sql(scripts = {"/sql/clearDbs.sql", "/sql/telegram_users.sql"}) method shouldProperlySaveTelegramUser (line 39) | @Sql(scripts = {"/sql/clearDbs.sql"}) method shouldProperlyGetAllGroupSubsForUser (line 56) | @Sql(scripts = {"/sql/clearDbs.sql", "/sql/fiveGroupSubsForUser.sql"}) FILE: src/test/java/com/github/javarushcommunity/jrtb/service/GroupSubServiceTest.java class GroupSubServiceTest (line 15) | @DisplayName("Unit-level testing for GroupSubService") method init (line 27) | @BeforeEach method shouldProperlySaveGroup (line 43) | @Test method shouldProperlyAddUserToExistingGroup (line 64) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/service/SendBotMessageServiceTest.java class SendBotMessageServiceTest (line 11) | @DisplayName("Unit-level testing for SendBotMessageService") method init (line 17) | @BeforeEach method shouldProperlySendMessage (line 23) | @Test FILE: src/test/java/com/github/javarushcommunity/jrtb/service/StatisticsServiceImplTest.java class StatisticsServiceTest (line 15) | @DisplayName("Unit-level testing for StatisticsService") method init (line 23) | @BeforeEach method shouldProperlySendStatDTO (line 30) | @Test