A B C D E F G L M N P Q R U V 
All Classes All Packages

A

ANSWER_COMMON_BYE - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_COMMON_ELSE - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_COMMON_EXCEPTION - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_COMMON_HI - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_COMMON_INCORRECT_QUESTION - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_DEPARTMENT_HEAD_OF - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_DEPARTMENT_NO_SUCH - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_DEPARTMENT_SALARY - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_DEPARTMENT_STATISTICS - com.martynenko.anton.university.i18n.MessageCode
 
ANSWER_EMPLOYEE_NOTHING_FOUND - com.martynenko.anton.university.i18n.MessageCode
 
AnswerService - Class in com.martynenko.anton.university.ui
Service to convert data to String responses for user interface.
AnswerService() - Constructor for class com.martynenko.anton.university.ui.AnswerService
 
ASSISTANT - com.martynenko.anton.university.employee.Employee.Degree
Assistant.
ASSOCIATE_PROFESSOR - com.martynenko.anton.university.employee.Employee.Degree
Associate professor.

B

BeansConfiguration - Class in com.martynenko.anton.university.config
Beans configuration class.
BeansConfiguration() - Constructor for class com.martynenko.anton.university.config.BeansConfiguration
 

C

com.martynenko.anton.university - package com.martynenko.anton.university
Demo project using java/spring stack.
com.martynenko.anton.university.config - package com.martynenko.anton.university.config
This package contains bean configuration files.
com.martynenko.anton.university.department - package com.martynenko.anton.university.department
This package contains files related to Department features.
com.martynenko.anton.university.employee - package com.martynenko.anton.university.employee
This package contains files related to Employee features.
com.martynenko.anton.university.exception - package com.martynenko.anton.university.exception
This package contains custom exceptions.
com.martynenko.anton.university.i18n - package com.martynenko.anton.university.i18n
This package contains files used in internationalization and working with string resource .
com.martynenko.anton.university.ui - package com.martynenko.anton.university.ui
This package contains files used in user interaction .

D

DatabaseDepartmentService - Class in com.martynenko.anton.university.department
Database realisation of DepartmentService.
DatabaseDepartmentService() - Constructor for class com.martynenko.anton.university.department.DatabaseDepartmentService
 
DatabaseEmployeeService - Class in com.martynenko.anton.university.employee
Database realisation of EmployeeService.
DatabaseEmployeeService() - Constructor for class com.martynenko.anton.university.employee.DatabaseEmployeeService
 
Department - Class in com.martynenko.anton.university.department
Entity representing university department .
Department() - Constructor for class com.martynenko.anton.university.department.Department
 
DepartmentRepository - Interface in com.martynenko.anton.university.department
Department repository CRUD contract.
DepartmentService - Interface in com.martynenko.anton.university.department
Department service contract.

E

Employee - Class in com.martynenko.anton.university.employee
Entity representing university employee .
Employee() - Constructor for class com.martynenko.anton.university.employee.Employee
 
Employee.Degree - Enum in com.martynenko.anton.university.employee
Employee degree enumeration .
EmployeeRepository - Interface in com.martynenko.anton.university.employee
Employee repository CRUD contract.
EmployeeService - Interface in com.martynenko.anton.university.employee
Employee service contract.
extract(String, MessageCode) - Method in class com.martynenko.anton.university.i18n.LocalizationHelper
Get regex pattern string as resource by provided code, then extract value from provided text fragment .

F

findAllByNameContainingIgnoreCase(String) - Method in interface com.martynenko.anton.university.employee.EmployeeRepository
Find all employees with subname .
findByNameIgnoreCase(String) - Method in interface com.martynenko.anton.university.department.DepartmentRepository
Find single entity by it's name.

G

getAnythingElseAnswer() - Method in class com.martynenko.anton.university.ui.AnswerService
Get the 'Anything else' message .
getAvgSalaryStatisticsAnswer(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Get an answer to the 'department's average salary' question .
getDepartmentByName(String) - Method in class com.martynenko.anton.university.department.DatabaseDepartmentService
Get single department by it's name.
getDepartmentByName(String) - Method in interface com.martynenko.anton.university.department.DepartmentService
Get single department by it's name.
getDepartmentEmployeeStatisticsAnswer(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Get an answer to the 'department's statistic' question .
getDepartmentsHeadNameAnswer(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Get an answer to the 'who is the department's head' question .
getEmployeeCountAnswer(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Get an answer to the 'department's employee count' question .
getEmployees(String) - Method in class com.martynenko.anton.university.employee.DatabaseEmployeeService
Find all employees with subname .
getEmployees(String) - Method in interface com.martynenko.anton.university.employee.EmployeeService
Find all employees with subname .
getExceptionAnswer(Exception) - Method in class com.martynenko.anton.university.ui.AnswerService
Get the error message according to the passed exception object .
getGlobalEmployeeSearchAnswer(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Get an answer to the 'global employee search' question .
getGoodbyeAnswerIfExit(String) - Method in class com.martynenko.anton.university.ui.AnswerService
Check the question for the string 'exit' and return the 'goodbye' message if it presents and null if doesn't .
getGreetingAnswer() - Method in class com.martynenko.anton.university.ui.AnswerService
Get the greetings message.
getIncorrectInputAnswer() - Method in class com.martynenko.anton.university.ui.AnswerService
Get an invalid input message .
getMessage(MessageCode) - Method in class com.martynenko.anton.university.i18n.LocalizationHelper
Get string resource by provided code.

L

LocalizationHelper - Class in com.martynenko.anton.university.i18n
Component to work with string resources .
LocalizationHelper() - Constructor for class com.martynenko.anton.university.i18n.LocalizationHelper
 

M

main(String[]) - Static method in class com.martynenko.anton.university.UniversityApplication
Start application.
MessageCode - Enum in com.martynenko.anton.university.i18n
Enumeration collecting codes of String resources in message.properties file .
messageSource() - Method in class com.martynenko.anton.university.config.BeansConfiguration
Configure MessageSource bean.

N

NoSuchDepartmentException - Exception in com.martynenko.anton.university.exception
Simple extended exception for throwing in cases when no department can be found .
NoSuchDepartmentException() - Constructor for exception com.martynenko.anton.university.exception.NoSuchDepartmentException
 

P

PROFESSOR - com.martynenko.anton.university.employee.Employee.Degree
Professor.

Q

QUESTION_COMMON_EXIT - com.martynenko.anton.university.i18n.MessageCode
 
QUESTION_DEPARTMENT_COUNT - com.martynenko.anton.university.i18n.MessageCode
 
QUESTION_DEPARTMENT_HEAD_OF - com.martynenko.anton.university.i18n.MessageCode
 
QUESTION_DEPARTMENT_SALARY - com.martynenko.anton.university.i18n.MessageCode
 
QUESTION_DEPARTMENT_STATISTICS - com.martynenko.anton.university.i18n.MessageCode
 
QUESTION_EMPLOYEE_SEARCH - com.martynenko.anton.university.i18n.MessageCode
 
QuestionDistributor - Class in com.martynenko.anton.university.ui
A class for communicating with the user in the console and distribution of questions and answers.
QuestionDistributor() - Constructor for class com.martynenko.anton.university.ui.QuestionDistributor
 

R

run() - Method in class com.martynenko.anton.university.ui.QuestionDistributor
Opens and closes console user interaction .
run(String...) - Method in class com.martynenko.anton.university.UniversityApplication
Run beans when application is contained .

U

UniversityApplication - Class in com.martynenko.anton.university
Main class used to start spring boot application.
UniversityApplication() - Constructor for class com.martynenko.anton.university.UniversityApplication
 

V

valueOf(String) - Static method in enum com.martynenko.anton.university.employee.Employee.Degree
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.martynenko.anton.university.i18n.MessageCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.martynenko.anton.university.employee.Employee.Degree
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.martynenko.anton.university.i18n.MessageCode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G L M N P Q R U V 
All Classes All Packages