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:IRightInfosServiceGets rights by context.- Specified by:
getRightsin 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:IRightInfosServiceGets e-class rights.- Specified by:
getEClassRightsin interfaceIRightInfosService- Parameters:
context- the e-object context, can not benulleClass- 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:IRightInfosServiceReturns e-class right orders.- Specified by:
getEClassRightsOrderin interfaceIRightInfosService- Parameters:
context- the e-object context, can not benulleClass- the e-class, can not benull- Returns:
- the e-class right order, can not be
null
-