Skip navigation links
A C D E F G H I L O P R S T U V 

A

AddCommand - Class in common.commandline.pdcommands
 
AddCommand() - Constructor for class common.commandline.pdcommands.AddCommand
 
AddCommand(String, String) - Constructor for class common.commandline.pdcommands.AddCommand
 
AddIfMaxCommand - Class in common.commandline.pdcommands
 
AddIfMaxCommand() - Constructor for class common.commandline.pdcommands.AddIfMaxCommand
 
AddIfMinCommand - Class in common.commandline.pdcommands
 
AddIfMinCommand() - Constructor for class common.commandline.pdcommands.AddIfMinCommand
 
addNewInput(Reader, String) - Method in class common.commandline.CommandLineHandler
 
alias - Variable in class common.commandline.Command
 
allLowerFirstCapital(String) - Static method in class common.util.UtilFunctions
 
appendObjects(Object[], Object...) - Static method in class common.util.UtilFunctions
 
awaitInput(String) - Method in class common.commandline.CommandLineHandler
 
awaitInput(String, String) - Method in class common.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если при вводе данных произошла ошибка
awaitInput(String, String, Predicate<String>) - Method in class common.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если введенные данные не соответствуют предикату predicate
awaitInput(String, String, Predicate<String>, Function<String, T>) - Method in class common.commandline.CommandLineHandler
Метод, ожидающий ввода из потока ввода reader и возвращающий результат, печатает запрос msg перед ожиданием данных (если их вводит пользователь), печатает ошибку err, если введенные данные не соответствуют предикату predicate, преобразует результат в тип T в соответствии с функцией transform
awaitPassword(String) - Method in class common.commandline.CommandLineHandler
 

C

ClearCommand - Class in common.commandline.pdcommands
 
ClearCommand() - Constructor for class common.commandline.pdcommands.ClearCommand
 
clearScreen() - Static method in class common.commandline.CommandLineHandler
 
clientOnly - Variable in class common.commandline.Command
 
Color - Enum in common.data
Перечисление цветов
Command - Class in common.commandline
 
Command(String, boolean, String) - Constructor for class common.commandline.Command
 
CommandLineHandler - Class in common.commandline
Класс обработчика командной строки, реализует шаблон проектирования Singleton, читает ввод с командной строки, обрабатывает его и вызывает соответствующую команду на выполнение из регистра команд, используйте метод CommandLineHandler.start() для его запуска
CommandLineHandler() - Constructor for class common.commandline.CommandLineHandler
 
CommandLineHandler.CommandLineNotInitialized - Exception in common.commandline
 
CommandLineHandler.ExecuteScriptCommand - Class in common.commandline
 
CommandLineHandler.ExitCommand - Class in common.commandline
 
CommandLineHandler.HistoryCommand - Class in common.commandline
 
CommandLineNotInitialized() - Constructor for exception common.commandline.CommandLineHandler.CommandLineNotInitialized
 
CommandLineNotInitialized(String) - Constructor for exception common.commandline.CommandLineHandler.CommandLineNotInitialized
 
CommandRegistry - Class in common.commandline
Класс регистра команд, используемый для добавления, переопределения или удаления команд
CommandRegistry.CommandAlreadyExistsException - Exception in common.commandline
 
CommandRegistry.CommandNotFoundException - Exception in common.commandline
 
CommandRegistry.HelpCommand - Class in common.commandline
 
CommandResult - Class in common.commandline.response
 
CommandResult(String, Response) - Constructor for class common.commandline.response.CommandResult
 
common.collection - package common.collection
 
common.commandline - package common.commandline
 
common.commandline.commands - package common.commandline.commands
 
common.commandline.pdcommands - package common.commandline.pdcommands
 
common.commandline.response - package common.commandline.response
 
common.data - package common.data
 
common.net - package common.net
 
common.util - package common.util
 
compareTo(Coordinates) - Method in class common.data.Coordinates
 
compareTo(Location) - Method in class common.data.Location
Переопределенный метод сравнения двух местоположений, сравнение производится по имени локации и расстоянию до точки (0; 0; 0)
compareTo(Person) - Method in class common.data.Person
Переопределенный метод сравнения двух людей, сравнение производится по имени, номеру паспорта, росту, национальности, местоположению и цвету глаз
ConnectionProperties - Class in common.net
 
ConnectionProperties() - Constructor for class common.net.ConnectionProperties
 
Coordinates - Class in common.data
Класс данных координат
Coordinates(float, float) - Constructor for class common.data.Coordinates
Конструктор с параметрами
Country - Enum in common.data
Перечисление стран
createCoordinates() - Static method in class common.commandline.pdcommands.PeopleDatabaseCommands
 
createLocation() - Static method in class common.commandline.pdcommands.PeopleDatabaseCommands
 
createPerson() - Static method in class common.commandline.pdcommands.PeopleDatabaseCommands
 

D

DEFAULT_DB_HOST - Static variable in class common.net.ConnectionProperties
 
DEFAULT_DB_NAME - Static variable in class common.net.ConnectionProperties
 
DEFAULT_DB_PORT - Static variable in class common.net.ConnectionProperties
 
DEFAULT_HOST - Static variable in class common.net.ConnectionProperties
 
DEFAULT_PORT - Static variable in class common.net.ConnectionProperties
 
DefaultResponse - Enum in common.commandline.response
 
description - Variable in class common.commandline.Command
 
doubleOrNull(String) - Static method in class common.util.UtilFunctions
 

E

enumOrNull(String, Class<T>) - Static method in class common.util.UtilFunctions
 
execute(Object[]) - Method in class common.commandline.Command
 
execute(Object[]) - Method in class common.commandline.CommandLineHandler.ExecuteScriptCommand
 
execute(Object[]) - Method in class common.commandline.CommandLineHandler.ExitCommand
 
execute(Object[]) - Method in class common.commandline.CommandLineHandler.HistoryCommand
 
execute(Object[]) - Method in class common.commandline.CommandRegistry.HelpCommand
 
execute(Object[]) - Method in class common.commandline.commands.LogInCommand
 
execute(Object[]) - Method in class common.commandline.commands.SignUpCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.AddCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.AddIfMaxCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.AddIfMinCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.ClearCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.FilterContainsNameCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.InfoCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.PrintFieldDescendingLocationCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.RemoveByIdCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.ShowCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.SumOfHeightCommand
 
execute(Object[]) - Method in class common.commandline.pdcommands.UpdateCommand
 
executeCommand(String, String[]) - Method in class common.commandline.CommandLineHandler
 
ExecuteScriptCommand() - Constructor for class common.commandline.CommandLineHandler.ExecuteScriptCommand
 
ExitCommand() - Constructor for class common.commandline.CommandLineHandler.ExitCommand
 

F

FILE_NAME - Static variable in class common.net.ConnectionProperties
 
fileNames - Variable in class common.commandline.CommandLineHandler
 
FilterContainsNameCommand - Class in common.commandline.pdcommands
 
FilterContainsNameCommand() - Constructor for class common.commandline.pdcommands.FilterContainsNameCommand
 
floatOrNull(String) - Static method in class common.util.UtilFunctions
 
formatted() - Method in class common.data.Person
 

G

getCommand(String) - Static method in class common.commandline.CommandRegistry
 
getDbURL() - Static method in class common.net.ConnectionProperties
 
getExpectedClass() - Method in class common.commandline.PlaceHolder
 
getHostname() - Static method in class common.net.ConnectionProperties
 
getInstance() - Static method in class common.commandline.CommandLineHandler
 
getLogger(Class<?>, String) - Static method in class common.util.UtilFunctions
 
getMsg() - Method in enum common.commandline.response.DefaultResponse
 
getMsg() - Method in enum common.commandline.response.PeopleDatabaseResponse
 
getMsg() - Method in interface common.commandline.response.Response
 
getMsg() - Method in enum common.commandline.response.SqlResponse
 
getPort() - Static method in class common.net.ConnectionProperties
 
getResponse() - Method in class common.commandline.response.CommandResult
 
getValue() - Method in enum common.commandline.LongStrings
 
getValue() - Method in class common.commandline.response.CommandResult
 

H

HelpCommand() - Constructor for class common.commandline.CommandRegistry.HelpCommand
 
history - Variable in class common.commandline.CommandLineHandler
 
HistoryCommand() - Constructor for class common.commandline.CommandLineHandler.HistoryCommand
 

I

info() - Method in class common.collection.PeopleCollection
 
InfoCommand - Class in common.commandline.pdcommands
 
InfoCommand() - Constructor for class common.commandline.pdcommands.InfoCommand
 
initFromDatabase(String, String, String) - Method in class common.collection.PeopleCollection
 
input() - Method in class common.commandline.CommandLineHandler
 
inputs - Variable in class common.commandline.CommandLineHandler
 
instance - Static variable in class common.commandline.CommandLineHandler
 
intOrNull(String) - Static method in class common.util.UtilFunctions
 
isActive - Variable in class common.commandline.CommandLineHandler
 
isActive() - Method in class common.commandline.CommandLineHandler
 

L

Location - Class in common.data
Класс данных местоположения, реализует сортировку по умолчанию по имени и расстоянию до точки (0; 0; 0)
Location(double, float, long, String) - Constructor for class common.data.Location
Конструктор с параметрами
logger - Static variable in class common.net.ConnectionProperties
 
LogInCommand - Class in common.commandline.commands
 
LogInCommand() - Constructor for class common.commandline.commands.LogInCommand
 
longOrNull(String) - Static method in class common.util.UtilFunctions
 
LongStrings - Enum in common.commandline
 

O

of(Class<T>) - Static method in class common.commandline.PlaceHolder
 

P

PeopleCollection - Class in common.collection
 
PeopleCollection() - Constructor for class common.collection.PeopleCollection
 
peopleCollection - Static variable in class common.commandline.pdcommands.PeopleDatabaseCommands
 
PeopleDatabaseCommand - Class in common.commandline.pdcommands
 
PeopleDatabaseCommand(String, boolean, String) - Constructor for class common.commandline.pdcommands.PeopleDatabaseCommand
 
PeopleDatabaseCommands - Class in common.commandline.pdcommands
Класс объявления всех команд, связанных с манипуляциями над объектом класса PeopleDatabase
PeopleDatabaseResponse - Enum in common.commandline.response
 
Person - Class in common.data
Класс данных человека, реализует сортировку по умолчанию по имени, номеру паспорта, росту, национальности, местоположению и цвету глаз
Person(long, String, Coordinates, Integer, String, Color, Country, Location, String) - Constructor for class common.data.Person
Конструктор с параметрами
Person(String, Coordinates, Integer, String, Color, Country, Location, String) - Constructor for class common.data.Person
 
PlaceHolder<T> - Class in common.commandline
 
PlaceHolder(Class<T>) - Constructor for class common.commandline.PlaceHolder
 
PrintFieldDescendingLocationCommand - Class in common.commandline.pdcommands
 
PrintFieldDescendingLocationCommand() - Constructor for class common.commandline.pdcommands.PrintFieldDescendingLocationCommand
 
properties - Static variable in class common.net.ConnectionProperties
 

R

reader - Variable in class common.commandline.CommandLineHandler
 
reassignCommand(Command) - Static method in class common.commandline.CommandRegistry
 
registerCommand(Command) - Static method in class common.commandline.CommandRegistry
 
registerCommands(Command...) - Static method in class common.commandline.CommandRegistry
 
RemoveByIdCommand - Class in common.commandline.pdcommands
 
RemoveByIdCommand() - Constructor for class common.commandline.pdcommands.RemoveByIdCommand
 
removeInput() - Method in class common.commandline.CommandLineHandler
 
replacePlaceHoldersWith(Object[], Object...) - Static method in class common.commandline.PlaceHolder
 
Response - Interface in common.commandline.response
 

S

setHostname(String) - Static method in class common.net.ConnectionProperties
 
setPort(int) - Static method in class common.net.ConnectionProperties
 
ShowCommand - Class in common.commandline.pdcommands
 
ShowCommand() - Constructor for class common.commandline.pdcommands.ShowCommand
 
SignUpCommand - Class in common.commandline.commands
 
SignUpCommand() - Constructor for class common.commandline.commands.SignUpCommand
 
SqlResponse - Enum in common.commandline.response
 
start() - Method in class common.commandline.CommandLineHandler
Метод, запускающий обработчик командной строки, для остановки требуется ввести команду "exit"
SumOfHeightCommand - Class in common.commandline.pdcommands
 
SumOfHeightCommand() - Constructor for class common.commandline.pdcommands.SumOfHeightCommand
 

T

toString() - Method in class common.collection.PeopleCollection
 

U

unregisterCommand(String) - Static method in class common.commandline.CommandRegistry
 
update(Person) - Method in class common.data.Person
Метод, меняющий все значения полей человека (кроме Person.id и Person.creationDate) в соответствии со значениями полей другого
UpdateCommand - Class in common.commandline.pdcommands
 
UpdateCommand() - Constructor for class common.commandline.pdcommands.UpdateCommand
 
updateHistory(String) - Method in class common.commandline.CommandLineHandler
 
UtilFunctions - Class in common.util
Класс функций-утилит для избавления от повторяющихся участков кода и выноса их в методы для общего пользования

V

validate(String[]) - Method in class common.commandline.Command
 
validate(String[]) - Method in class common.commandline.CommandLineHandler.ExecuteScriptCommand
 
validate(String[]) - Method in class common.commandline.CommandLineHandler.HistoryCommand
 
validate(String[]) - Method in class common.commandline.commands.LogInCommand
 
validate(String[]) - Method in class common.commandline.commands.SignUpCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.AddCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.AddIfMaxCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.AddIfMinCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.ClearCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.FilterContainsNameCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.InfoCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.PrintFieldDescendingLocationCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.RemoveByIdCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.ShowCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.SumOfHeightCommand
 
validate(String[]) - Method in class common.commandline.pdcommands.UpdateCommand
 
validateId(String[]) - Static method in class common.commandline.pdcommands.PeopleDatabaseCommand
 
valueOf(String) - Static method in enum common.commandline.LongStrings
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum common.commandline.response.DefaultResponse
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum common.commandline.response.PeopleDatabaseResponse
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum common.commandline.response.SqlResponse
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum common.data.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum common.data.Country
Returns the enum constant of this type with the specified name.
values() - Static method in enum common.commandline.LongStrings
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum common.commandline.response.DefaultResponse
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum common.commandline.response.PeopleDatabaseResponse
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum common.commandline.response.SqlResponse
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum common.data.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum common.data.Country
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I L O P R S T U V 
Skip navigation links