Class ProjectsModule


  • @Component
    public class ProjectsModule
    extends AbstractModule
    The definition of the Projects module.
    Author:
    Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
    • Constructor Detail

      • ProjectsModule

        public ProjectsModule()
    • 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.