Package org.openbravo.erpCommon.modules
Class ApplyModule
- java.lang.Object
-
- org.openbravo.erpCommon.modules.ApplyModule
-
public class ApplyModule extends Object
ApplyModule processes all modules that are in status (I)Installed or (P)Pending but not (A)Applied yet (or all of them, if the property forceRefData is set to true). This process is done by the execute method.
-
-
Constructor Summary
Constructors Constructor Description ApplyModule(ConnectionProvider cp, String dir)
ApplyModule(ConnectionProvider cp, String dir, boolean forceRefData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Process the Installed but not applied modules, the treatement for these modules is:
1.- Reference data modules for client system Loads the reference data in client system.static void
main(String[] args)
-
-
-
Constructor Detail
-
ApplyModule
public ApplyModule(ConnectionProvider cp, String dir)
-
ApplyModule
public ApplyModule(ConnectionProvider cp, String dir, boolean forceRefData)
-
-
Method Detail
-
execute
public void execute()
Process the Installed but not applied modules, the treatement for these modules is:
1.- Reference data modules for client system Loads the reference data in client system.
2.- Translation modules In case the module contains translations the process will:
2.1.- Sets the module language as system -Populates the trl tables calling the verify language process (this is done just once for all the modules with translations.
2.2.- Imports the xml files with translations into trl tables. All modules Sets them as installed Uninstalled modules Deletes them
-
main
public static void main(String[] args)
-
-