Package com._1c.g5.v8.dt.internal.rights
Class RightsInfoService
java.lang.Object
com._1c.g5.v8.dt.internal.rights.RightsInfoService
- All Implemented Interfaces:
IRightInfosService
Implementation
IRightInfosService
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEClassRights
(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass eClass) Gets e-class rights.getEClassRightsOrder
(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass eClass) Returns e-class right orders.getRights
(org.eclipse.emf.ecore.EObject context) Gets rights by context.
-
Constructor Details
-
RightsInfoService
public RightsInfoService()
-
-
Method Details
-
getRights
Description copied from interface:IRightInfosService
Gets rights by context.- Specified by:
getRights
in interfaceIRightInfosService
- Parameters:
context
- the e-object context, can not benull
- Returns:
- the rights, can not be
null
-
getEClassRights
public Set<Right> getEClassRights(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass eClass) Description copied from interface:IRightInfosService
Gets e-class rights.- Specified by:
getEClassRights
in interfaceIRightInfosService
- Parameters:
context
- the e-object context, can not benull
eClass
- the e-class, can not benull
- Returns:
- the e-class rights, can not be
null
-
getEClassRightsOrder
public Map<Integer,Right> getEClassRightsOrder(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass eClass) Description copied from interface:IRightInfosService
Returns e-class right orders.- Specified by:
getEClassRightsOrder
in interfaceIRightInfosService
- Parameters:
context
- the e-object context, can not benull
eClass
- the e-class, can not benull
- Returns:
- the e-class right order, can not be
null
-