Interface IRightInfosService


  • public interface IRightInfosService
    Provides info about configuration rights.
    • Method Detail

      • getConfigurationRights

        Set<Right> getConfigurationRights()
        Gets configuration rights.
        Returns:
        the rights, can not be null
      • getEClassRights

        Set<Right> getEClassRights​(org.eclipse.emf.ecore.EClass eClass)
        Gets e-class rights.
        Parameters:
        eClass - the e-class, can not be null
        Returns:
        the e-class rights, can not be null
      • init

        void init​(Configuration configuration)
        Configuration rights and e-class rights initialization from index.
        Parameters:
        configuration - the configuration, can not be null
      • isEClassRight

        boolean isEClassRight​(org.eclipse.emf.ecore.EClass eClass,
                              Right right)
        Checks, if the right of the e-class one.
        Parameters:
        eClass - the e-class, can not be null
        right - the right, can not be null
        Returns:
        true if is