public class CategoryExecutor implements FullExecutor
Executor for the Category Root action Manages categories in the database
FullExecutor.DefaultImpls
Constructor and Description |
---|
CategoryExecutor()
Executor for the Category Root action
Manages categories in the database
|
Modifier and Type | Method and Description |
---|---|
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, executeCreate, executeDelete, executeDisplay, executeList
execute, getUserConfirmation, handleParserError
public CategoryExecutor()
Executor for the Category Root action Manages categories in the database
public void 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 usepublic void 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 usepublic void 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 usepublic void 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