Skip navigation links
A B C E F G H I M N P R S T W 

A

AbortException - Exception in net.namibsun.papio.cli
Exception that gets thrown whenever the program should abort
AbortException(message) - Constructor for exception net.namibsun.papio.cli.AbortException
Exception that gets thrown whenever the program should abort
ActionMode - Enum in net.namibsun.papio.cli
Enum that models the actions that are applicable on a root category
ActionMode() - Constructor for enum net.namibsun.papio.cli.ActionMode
Enum that models the actions that are applicable on a root category

B

BackupExecutor - Class in net.namibsun.papio.cli.executors
Class that implements Backup functionality
BackupExecutor() - Constructor for class net.namibsun.papio.cli.executors.BackupExecutor
Class that implements Backup functionality
BaseExecutor - Interface in net.namibsun.papio.cli
Base executor interface that specifies the execute() method and various helper methods
BaseExecutor.DefaultImpls - Class in net.namibsun.papio.cli
Base executor interface that specifies the execute() method and various helper methods

C

CategoryExecutor - Class in net.namibsun.papio.cli.executors
Executor for the Category Root action Manages categories in the database
CategoryExecutor() - Constructor for class net.namibsun.papio.cli.executors.CategoryExecutor
Executor for the Category Root action Manages categories in the database
Config - Class in net.namibsun.papio.cli
Config Singleton that stores paths to the database and the papio directory
createTransaction(args, dbHandler, expense) - Method in class net.namibsun.papio.cli.executors.TransactionExecutor
Executes the 'create' option

E

execute(args, dbHandler, mode) - Method in interface net.namibsun.papio.cli.BaseExecutor
Executes the Executor for a specified mode
execute(args, dbHandler, mode) - Method in class net.namibsun.papio.cli.executors.BackupExecutor
Starts the backup if no action mode was supplied and args is empty
execute(args, dbHandler, mode) - Method in class net.namibsun.papio.cli.executors.ExpenseExecutor
Makes sure that expenses can only be created
execute(args, dbHandler, mode) - Method in class net.namibsun.papio.cli.executors.TransferExecutor
Executes a transfer action
execute($this, args, dbHandler, mode) - Static method in class net.namibsun.papio.cli.FullExecutor.DefaultImpls
Automatically delegates the execution to the new methods specified in this interface
execute(args, dbHandler, mode) - Method in interface net.namibsun.papio.cli.FullExecutor
Automatically delegates the execution to the new methods specified in this interface
execute(args) - Static method in class net.namibsun.papio.cli.MainKt
Executes the CLI program
executeCreate(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.CategoryExecutor
Executes the 'create' option
executeCreate(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionExecutor
Executes the 'create' option for a normal transaction
executeCreate(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionPartnerExecutor
Executes the 'create' option
executeCreate(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.WalletExecutor
Executes the 'create' option
executeCreate(args, dbHandler) - Method in interface net.namibsun.papio.cli.FullExecutor
Executes the 'create' option
executeDelete(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.CategoryExecutor
Executes the 'delete' option
executeDelete(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionExecutor
Executes the 'delete' option
executeDelete(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionPartnerExecutor
Executes the 'delete' option
executeDelete(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.WalletExecutor
Executes the 'delete' option
executeDelete(args, dbHandler) - Method in interface net.namibsun.papio.cli.FullExecutor
Executes the 'delete' option
executeDisplay(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.CategoryExecutor
Executes the 'display' option
executeDisplay(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionExecutor
Executes the 'display' option
executeDisplay(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionPartnerExecutor
Executes the 'display' option
executeDisplay(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.WalletExecutor
Executes the 'display' option
executeDisplay(args, dbHandler) - Method in interface net.namibsun.papio.cli.FullExecutor
Executes the 'display' option
executeList(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.CategoryExecutor
Executes the 'list' option
executeList(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionExecutor
Executes the 'list' option
executeList(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.TransactionPartnerExecutor
Executes the 'list' option
executeList(args, dbHandler) - Method in class net.namibsun.papio.cli.executors.WalletExecutor
Executes the 'list' option
executeList(args, dbHandler) - Method in interface net.namibsun.papio.cli.FullExecutor
Executes the 'list' option
ExpenseExecutor - Class in net.namibsun.papio.cli.executors
Class that extends the Transaction Executor with the ability to automatically create expenses without having to manually set the amount to store as negative
ExpenseExecutor() - Constructor for class net.namibsun.papio.cli.executors.ExpenseExecutor
Class that extends the Transaction Executor with the ability to automatically create expenses without having to manually set the amount to store as negative

F

FullExecutor - Interface in net.namibsun.papio.cli
Interface that acts as a common base for Executors that implement all ActionModes.
FullExecutor.DefaultImpls - Class in net.namibsun.papio.cli
Interface that acts as a common base for Executors that implement all ActionModes.

G

getAutoResponse() - Method in class net.namibsun.papio.cli.Config
The default response to CLI (y/n) prompts in case the cliConfirm variable is set to false
getCliConfirm() - Method in class net.namibsun.papio.cli.Config
If set to true, certain CLI actions will require a manual (y/n) prompt to continue-
getDbPath() - Method in class net.namibsun.papio.cli.Config
The path to the SQLite database
getModeMap() - Static method in class net.namibsun.papio.cli.ModesKt
Hashmap that maps which action modes each root mode is able to use.
getPapioPath() - Method in class net.namibsun.papio.cli.Config
The path to the .papio directory
getUserConfirmation($this, message) - Static method in class net.namibsun.papio.cli.BaseExecutor.DefaultImpls
Prompts a yes/no question to the user Takes the cliConfirm flag in the Config into consideration.
getUserConfirmation(message) - Method in interface net.namibsun.papio.cli.BaseExecutor
Prompts a yes/no question to the user Takes the cliConfirm flag in the Config into consideration.
getUserConfirmation($this, message) - Static method in class net.namibsun.papio.cli.FullExecutor.DefaultImpls
 

H

handleParserError($this, parser, args) - Static method in class net.namibsun.papio.cli.BaseExecutor.DefaultImpls
Handles a parser error. On error, a helpful message will be output and the program will exit.
handleParserError(parser, args) - Method in interface net.namibsun.papio.cli.BaseExecutor
Handles a parser error. On error, a helpful message will be output and the program will exit.
handleParserError($this, parser, args) - Static method in class net.namibsun.papio.cli.FullExecutor.DefaultImpls
 
HelpException - Exception in net.namibsun.papio.cli
Exception that is thrown whenever the root help message should be printed and the program should terminate
HelpException() - Constructor for exception net.namibsun.papio.cli.HelpException
Exception that is thrown whenever the root help message should be printed and the program should terminate

I

INSTANCE - Static variable in class net.namibsun.papio.cli.Config
Config Singleton that stores paths to the database and the papio directory

M

main(args) - Static method in class net.namibsun.papio.cli.MainKt
The main entry point of the program. Calls the execute method and wraps it in a try/catch block
MainKt - Class in net.namibsun.papio.cli
 
ModesKt - Class in net.namibsun.papio.cli
 

N

net.namibsun.papio.cli - package net.namibsun.papio.cli
 
net.namibsun.papio.cli.executors - package net.namibsun.papio.cli.executors
 

P

parseModes(args) - Static method in class net.namibsun.papio.cli.MainKt
Parses the command line arguments for their modes. Should the parsing encounter an invalid argument combination, a help message is printed and the program exits.
prepareDatabase() - Static method in class net.namibsun.papio.cli.MainKt
Initializes the local .papio directory and database file.
printHelpAndExit() - Method in exception net.namibsun.papio.cli.HelpException
Prints a help message to the console and exits with exit code 1

R

RootMode - Enum in net.namibsun.papio.cli
Enum that models which part of the database are to be changed
RootMode() - Constructor for enum net.namibsun.papio.cli.RootMode
Enum that models which part of the database are to be changed

S

setAutoResponse(p) - Method in class net.namibsun.papio.cli.Config
The default response to CLI (y/n) prompts in case the cliConfirm variable is set to false
setCliConfirm(p) - Method in class net.namibsun.papio.cli.Config
If set to true, certain CLI actions will require a manual (y/n) prompt to continue-
setDbPath(p) - Method in class net.namibsun.papio.cli.Config
The path to the SQLite database
setPapioPath(p) - Method in class net.namibsun.papio.cli.Config
The path to the .papio directory

T

TransactionExecutor - Class in net.namibsun.papio.cli.executors
Executor for the Transaction root action Handles the management of transactions in the database
TransactionExecutor() - Constructor for class net.namibsun.papio.cli.executors.TransactionExecutor
Executor for the Transaction root action Handles the management of transactions in the database
TransactionPartnerExecutor - Class in net.namibsun.papio.cli.executors
Executor for the TransactionPartner root action Handles the management of transaction partners in the database
TransactionPartnerExecutor() - Constructor for class net.namibsun.papio.cli.executors.TransactionPartnerExecutor
Executor for the TransactionPartner root action Handles the management of transaction partners in the database
TransferExecutor - Class in net.namibsun.papio.cli.executors
Executor that handles a transfer of money from one wallet to another
TransferExecutor() - Constructor for class net.namibsun.papio.cli.executors.TransferExecutor
Executor that handles a transfer of money from one wallet to another

W

WalletExecutor - Class in net.namibsun.papio.cli.executors
Executor for the Wallet root action Handles the management of wallets in the database
WalletExecutor() - Constructor for class net.namibsun.papio.cli.executors.WalletExecutor
Executor for the Wallet root action Handles the management of wallets in the database
A B C E F G H I M N P R S T W 
Skip navigation links