Package com._1c.g5.v8.dt.rights
Interface IRightInfosService
-
public interface IRightInfosService
Provides info about configuration rights.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Right>
getConfigurationRights()
Gets configuration rights.Set<Right>
getEClassRights(org.eclipse.emf.ecore.EClass eClass)
Gets e-class rights.void
init(Configuration configuration)
Configuration rights and e-class rights initialization from index.boolean
isEClassRight(org.eclipse.emf.ecore.EClass eClass, Right right)
Checks, if the right of the e-class one.
-
-
-
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 benull
- 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 benull
-
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 benull
right
- the right, can not benull
- Returns:
true
if is
-
-