Class WarehousesManagerModule


  • @Component
    public class WarehousesManagerModule
    extends AbstractModule
    Manages warehouses, spare parts and the workflows associated to them.
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>, Mauricio Ruiz <mauricio.ruiz@kuwaiba.org>
    • Constructor Detail

      • WarehousesManagerModule

        public WarehousesManagerModule()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getId

        public String getId()
        Description copied from class: AbstractModule
        A simple unique string that identifies the module so it is easier to refer to it in automated processes such as defining if a user can user certain functionality based on his/her privileges.
        Specified by:
        getId in class AbstractModule
        Returns:
      • getName

        public String getName()
        Description copied from class: AbstractModule
        Gets the module's name. Must be unique, otherwise, the system will only take last one loaded at application's startup
        Specified by:
        getName in class AbstractModule
        Returns:
        The module's name
      • getCategory

        public int getCategory()
        Description copied from class: AbstractModule
        Assigns the module a category, so it can be placed in menus and context actions. See CATEGORY_XXX for valid values.
        Specified by:
        getCategory in class AbstractModule
        Returns:
        The category.