List of all members.
Static Public Member Functions |
static void | listInputTargets () throws Exception |
static void | listFkMatchers () throws Exception |
static void | helpInputAddOn (Hashtable< String, Object > in_args) throws Exception |
static void | helpOutputAddOn (Hashtable< String, Object > in_args) throws Exception |
static void | listOutputTargets () throws Exception |
static void | addProfile (Hashtable< String, Object > in_args) throws Exception |
static void | removeProfile (Hashtable< String, Object > in_args) throws Exception |
static void | updateProfile (Hashtable< String, Object > in_args) throws Exception |
static void | showProfile (Hashtable< String, Object > in_args) throws Exception |
static void | listProfiles () throws Exception |
static void | export (Hashtable< String, Object > in_args) throws Exception |
Detailed Description
This class implements all action defined by the command line interface.
- Author:
- Denis Beurive
Definition at line 50 of file Actions.java.
Member Function Documentation
static void org.dbview.runtime.actions.Actions.addProfile |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method adds a new profile to the repository.
- Parameters:
-
in_args | This hash table contains the parameters required for updating a profile. Keys are:
-
name: Name of the new profile to add.
-
input-target: Profile's target.
-
input-target-configuration: XML document, generated by the CLI parser, that represents the profile.
|
- Exceptions:
-
Definition at line 183 of file Actions.java.
static void org.dbview.runtime.actions.Actions.export |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method exports a given database to a given output format.
- Parameters:
-
in_args | his hash table contains the parameters for the export. Keys are:
-
path-between: If the user request the calculation of a path, this array contains the names of the tables at the extremities.
-
path-limit: If the user request the calculation of a path, this integer represents the maximum number of paths.
-
zoom-list: If the user request a zoom around tables, this array contains the list of tables to zoom in.
-
zoom-level: If the user request a zoom around tables, this integer represents the neighbourhood area.
-
input-target-name: Name of the add-on that is used to connect to a database.
-
output-target-name: Name of the add-on used to export the database.
-
input-configuration: Specific configuration for the input add-on.
-
output-configuration: Specific configuration for the output add-on.
|
- Exceptions:
-
Definition at line 354 of file Actions.java.
static void org.dbview.runtime.actions.Actions.helpInputAddOn |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method prints the help for a specific input add-on.
- Parameters:
-
in_args | This hash table contains the parameters required for printing the help for a specific input add-on. Keys are:
-
name; Name of the input add-on.
|
- Exceptions:
-
Definition at line 99 of file Actions.java.
static void org.dbview.runtime.actions.Actions.helpOutputAddOn |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method prints the help for a specific output target.
- Parameters:
-
in_args | This hash table contains the parameters required for printing the help for a specific output add-on. Keys are:
-
name: Name of the output add-on.
|
- Exceptions:
-
Definition at line 132 of file Actions.java.
static void org.dbview.runtime.actions.Actions.listFkMatchers |
( |
| ) |
throws Exception [static] |
This method lists all foreign key matchers.
- Exceptions:
-
Definition at line 72 of file Actions.java.
static void org.dbview.runtime.actions.Actions.listInputTargets |
( |
| ) |
throws Exception [static] |
This method lists all input targets.
- Exceptions:
-
Definition at line 58 of file Actions.java.
static void org.dbview.runtime.actions.Actions.listOutputTargets |
( |
| ) |
throws Exception [static] |
This method lists all output targets.
- Exceptions:
-
Definition at line 160 of file Actions.java.
static void org.dbview.runtime.actions.Actions.listProfiles |
( |
| ) |
throws Exception [static] |
This method prints the list of profile's names stored in the repository.
- Exceptions:
-
Definition at line 319 of file Actions.java.
static void org.dbview.runtime.actions.Actions.removeProfile |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method removes a profile from the repository.
- Parameters:
-
in_args | This hash table contains the parameters required for updating a profile. Keys are:
-
name: Name of the profile to remove.
|
- Exceptions:
-
Definition at line 207 of file Actions.java.
static void org.dbview.runtime.actions.Actions.showProfile |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
static void org.dbview.runtime.actions.Actions.updateProfile |
( |
Hashtable< String, Object > |
in_args | ) |
throws Exception [static] |
This method removes a profile from the repository.
- Parameters:
-
in_args | This hash table contains the parameters required for updating a profile. Keys are:
-
name: Name of the profile to upddate.
-
target: Name of the profile's target.
-
new_configuration: XML document, generated by the CLI parser, that represents the new profile.
-
old_configuration: XML document, generated by the CLI parser, that represents the old profile.
|
- Exceptions:
-
Definition at line 226 of file Actions.java.
The documentation for this class was generated from the following file: