Class BaseSecurityPolicyModel
java.lang.Object
com.flowable.policy.api.repository.BaseSecurityPolicyModel
- All Implemented Interfaces:
PolicyModel
,SecurityPolicyModel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
getName()
getType()
boolean
boolean
boolean
boolean
protected void
parseJsonArrayForPermissionMap
(Map<String, PermissionMapping> permissionMap) protected void
parseJsonObjectForPermissionMap
(Map<String, PermissionMapping> permissionMap) void
setAdminWithAllPermissions
(boolean adminWithAllPermissions) void
setDescription
(String description) void
void
void
setPermissionMappings
(com.fasterxml.jackson.databind.JsonNode permissionMappings) void
void
setValidateDeletePermissionInParent
(boolean validateDeletePermissionInParent) void
setValidateReadPermissionInParent
(boolean validateReadPermissionInParent) void
setValidateWritePermissionInParent
(boolean validateWritePermissionInParent)
-
Field Details
-
key
-
type
-
name
-
description
-
validateReadPermissionInParent
protected boolean validateReadPermissionInParent -
validateWritePermissionInParent
protected boolean validateWritePermissionInParent -
validateDeletePermissionInParent
protected boolean validateDeletePermissionInParent -
adminWithAllPermissions
protected boolean adminWithAllPermissions -
permissionMappings
protected com.fasterxml.jackson.databind.JsonNode permissionMappings
-
-
Constructor Details
-
BaseSecurityPolicyModel
public BaseSecurityPolicyModel()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfacePolicyModel
-
setKey
-
getType
- Specified by:
getType
in interfacePolicyModel
-
setType
-
getName
- Specified by:
getName
in interfacePolicyModel
-
setName
-
getDescription
- Specified by:
getDescription
in interfacePolicyModel
-
setDescription
-
isValidateReadPermissionInParent
public boolean isValidateReadPermissionInParent()- Specified by:
isValidateReadPermissionInParent
in interfaceSecurityPolicyModel
-
setValidateReadPermissionInParent
public void setValidateReadPermissionInParent(boolean validateReadPermissionInParent) -
isValidateWritePermissionInParent
public boolean isValidateWritePermissionInParent()- Specified by:
isValidateWritePermissionInParent
in interfaceSecurityPolicyModel
-
setValidateWritePermissionInParent
public void setValidateWritePermissionInParent(boolean validateWritePermissionInParent) -
isValidateDeletePermissionInParent
public boolean isValidateDeletePermissionInParent()- Specified by:
isValidateDeletePermissionInParent
in interfaceSecurityPolicyModel
-
setValidateDeletePermissionInParent
public void setValidateDeletePermissionInParent(boolean validateDeletePermissionInParent) -
isAdminWithAllPermissions
public boolean isAdminWithAllPermissions()- Specified by:
isAdminWithAllPermissions
in interfaceSecurityPolicyModel
-
setAdminWithAllPermissions
public void setAdminWithAllPermissions(boolean adminWithAllPermissions) -
getPermissionMappings
- Specified by:
getPermissionMappings
in interfaceSecurityPolicyModel
-
setPermissionMappings
public void setPermissionMappings(com.fasterxml.jackson.databind.JsonNode permissionMappings) -
parseJsonObjectForPermissionMap
-
parseJsonArrayForPermissionMap
-