Package com.axelor.meta.loader
Class ModuleManager
- java.lang.Object
-
- com.axelor.meta.loader.ModuleManager
-
public class ModuleManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ModuleManager(AuthService authService, MetaModuleRepository modules, ViewLoader viewLoader, ModelLoader modelLoader, I18nLoader i18nLoader, com.axelor.meta.loader.DataLoader dataLoader, com.axelor.meta.loader.DemoLoader demoLoader)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String>
getResolution()
void
initialize(boolean update, boolean withDemo)
static boolean
isInstalled(String module)
boolean
isLoadData()
void
restoreMeta()
void
setLoadData(boolean loadData)
void
update(boolean withDemo, String... moduleNames)
void
update(Set<String> moduleNames, Set<Path> paths)
-
-
-
Constructor Detail
-
ModuleManager
@Inject public ModuleManager(AuthService authService, MetaModuleRepository modules, ViewLoader viewLoader, ModelLoader modelLoader, I18nLoader i18nLoader, com.axelor.meta.loader.DataLoader dataLoader, com.axelor.meta.loader.DemoLoader demoLoader)
-
-
Method Detail
-
initialize
public void initialize(boolean update, boolean withDemo)
-
update
public void update(boolean withDemo, String... moduleNames)
-
restoreMeta
public void restoreMeta()
-
isLoadData
public boolean isLoadData()
-
setLoadData
public void setLoadData(boolean loadData)
-
isInstalled
public static boolean isInstalled(String module)
-
-