Uses of Class
org.compiere.model.MRole
Package
Description
This is the package that contains the majority of iDempiere's generated model class and interface.
Provide majority of iDempiere's extended model class (M*).
Provide majority of iDempiere's extended model class (M*).
Provide iDempiere workflow engine implementation
-
Uses of MRole in org.compiere.model
Modifier and TypeMethodDescriptionstatic MRole
MRole.get
(Properties ctx, int AD_Role_ID) Get Role (cached).static MRole
MRole.get
(Properties ctx, int AD_Role_ID, int AD_User_ID, boolean reload) Get Role for User from cachestatic MRole
MRole.getDefault()
Get role for current session/contextstatic MRole
MRole.getDefault
(Properties ctx, boolean reload) Get role for current session/contextstatic MRole[]
MRole.getOf
(Properties ctx, String whereClause) Get Roles via where clausestatic MRole[]
MRole.getOfClient
(Properties ctx) Get Roles Of Clientstatic MRole[]
MRole.getOfClient
(Properties ctx, String trxName) Get Roles Of ClientMRole[]
MUser.getRoles
(int AD_Org_ID) Get User Roles for OrgMRole.markImmutable()
Modifier and TypeMethodDescriptionstatic String
MMeasureCalc.addRestrictions
(String sql, boolean queryOnly, MGoalRestriction[] restrictions, MRole role, String tableName, String orgColumn, String bpColumn, String pColumn) Add Restrictions to SQLstatic boolean
GridTabVO.checkAccessAndShowPreference
(GridTabVO vo, MRole role) Check is vo should be visible for current session context and rolestatic Boolean
MTreeFavorite.getAccessForMenuItem
(MRole role, I_AD_Menu menu) Get access for the menu from specified roleMMeasureCalc.getQuery
(MGoalRestriction[] restrictions, String MeasureDisplay, Timestamp date, MRole role) Get Zoom QueryMProjectType.getQuery
(MGoalRestriction[] restrictions, String MeasureDisplay, Timestamp date, int C_Phase_ID, MRole role) Get Zoom QueryMRequestType.getQuery
(MGoalRestriction[] restrictions, String MeasureDisplay, Timestamp date, int R_Status_ID, MRole role) Get Zoom QueryMMeasureCalc.getSqlBarChart
(MGoalRestriction[] restrictions, String MeasureDisplay, Timestamp startDate, MRole role) Get SQL to retrieve value for bar chartMProjectType.getSqlBarChart
(MGoalRestriction[] restrictions, String MeasureDisplay, String MeasureDataType, Timestamp startDate, MRole role) Get SQL for bar chartMRequestType.getSqlBarChart
(MGoalRestriction[] restrictions, String MeasureDisplay, String MeasureDataType, Timestamp startDate, MRole role) Get Sql to value for the bar chartMMeasureCalc.getSqlPI
(MGoalRestriction[] restrictions, String MeasureScope, String MeasureDataType, Timestamp reportDate, MRole role) Get SQL to return single value for the Performance IndicatorMProjectType.getSqlPI
(MGoalRestriction[] restrictions, String MeasureScope, String MeasureDataType, Timestamp reportDate, MRole role) Get SQL for Performance IndicatorMRequestType.getSqlPI
(MGoalRestriction[] restrictions, String MeasureScope, String MeasureDataType, Timestamp reportDate, MRole role) Get Sql to return single value for the Performance Indicatorstatic MUser[]
MUser.getWithRole
(MRole role) Get Users with RoleModifierConstructorDescriptionMRole
(Properties ctx, MRole copy) Copy constructorMRole
(Properties ctx, MRole copy, String trxName) Copy constructorCopy constructorMRoleOrgAccess
(MRole role, int AD_Org_ID) Role Constructor -
Uses of MRole in org.compiere.wf