public FullExecutor extends BaseExecutor
Interface that acts as a common base for Executors that implement all ActionModes.
Modifier and Type | Interface and Description |
---|---|
static class |
FullExecutor.DefaultImpls
Interface that acts as a common base for Executors that implement all ActionModes.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String[] args,
net.namibsun.papio.lib.db.DbHandler dbHandler,
ActionMode mode)
Automatically delegates the execution to the new methods specified in this interface
|
void |
executeCreate(java.lang.String[] args,
net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'create' option
|
void |
executeDelete(java.lang.String[] args,
net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'delete' option
|
void |
executeDisplay(java.lang.String[] args,
net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'display' option
|
void |
executeList(java.lang.String[] args,
net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'list' option
|
execute, getUserConfirmation, handleParserError
void execute(java.lang.String[] args, net.namibsun.papio.lib.db.DbHandler dbHandler, ActionMode mode)
Automatically delegates the execution to the new methods specified in this interface
args
- : The command line arguments to parsedbHandler
- : The database handler to usemode
- : The mode for which to executevoid executeCreate(java.lang.String[] args, net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'create' option
args
- : The command line arguments without root and action mode argumentsdbHandler
- : The database handler to usevoid executeDelete(java.lang.String[] args, net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'delete' option
args
- : The command line arguments without root and action mode argumentsdbHandler
- : The database handler to usevoid executeList(java.lang.String[] args, net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'list' option
args
- : The command line arguments without root and action mode argumentsdbHandler
- : The database handler to usevoid executeDisplay(java.lang.String[] args, net.namibsun.papio.lib.db.DbHandler dbHandler)
Executes the 'display' option
args
- : The command line arguments without root and action mode argumentsdbHandler
- : The database handler to use