Class TemplateManagerModule


  • @Component
    public class TemplateManagerModule
    extends AbstractModule
    Manage pre-defined, reusable containment structures.
    Author:
    Hardy Ryan Chingal Martinez <ryan.chingal@kuwaiba.org>
    • Constructor Detail

      • TemplateManagerModule

        public TemplateManagerModule()
    • Method Detail

      • 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
      • init

        @PostConstruct
        public void init()
        Register this module to be displayed.
      • 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.