Package org.apache.ofbiz.service
Class ModelPermission
- java.lang.Object
-
- org.apache.ofbiz.service.ModelPermission
-
- All Implemented Interfaces:
java.io.Serializable
public class ModelPermission extends java.lang.Object implements java.io.Serializable
Service Permission Model Class- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
action
java.lang.Boolean
auth
java.lang.String
clazz
static int
ENTITY_PERMISSION
static java.lang.String
module
java.lang.String
nameOrRole
static int
PERMISSION
static int
PERMISSION_SERVICE
java.lang.String
permissionResourceDesc
java.lang.String
permissionServiceName
int
permissionType
ModelService
serviceModel
-
Constructor Summary
Constructors Constructor Description ModelPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evalPermission(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
PERMISSION
public static final int PERMISSION
- See Also:
- Constant Field Values
-
ENTITY_PERMISSION
public static final int ENTITY_PERMISSION
- See Also:
- Constant Field Values
-
PERMISSION_SERVICE
public static final int PERMISSION_SERVICE
- See Also:
- Constant Field Values
-
serviceModel
public ModelService serviceModel
-
permissionType
public int permissionType
-
nameOrRole
public java.lang.String nameOrRole
-
action
public java.lang.String action
-
permissionServiceName
public java.lang.String permissionServiceName
-
permissionResourceDesc
public java.lang.String permissionResourceDesc
-
auth
public java.lang.Boolean auth
-
clazz
public java.lang.String clazz
-
-
Method Detail
-
evalPermission
public boolean evalPermission(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-