Class PlatformEntityLinkService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.work.PlatformEntityLinkService
- All Implemented Interfaces:
PermissionServiceRegistryAware
,Aware
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CmmnHistoryService
protected final CmmnRepositoryService
protected final CmmnRuntimeService
protected final HistoryService
protected final com.fasterxml.jackson.databind.ObjectMapper
protected PlatformTranslationService
protected final RepositoryService
protected final RuntimeService
protected final TaskService
Fields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, EXTERNAL_WORKER_PREFIX, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, SECURITY_POLICY_MODEL, TASK_PREFIX
-
Constructor Summary
ConstructorDescriptionPlatformEntityLinkService
(RuntimeService runtimeService, CmmnRuntimeService cmmnRuntimeService, HistoryService historyService, CmmnHistoryService cmmnHistoryService, TaskService taskService, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fillCaseInstanceNameAndTranslations
(String caseInstanceName, String caseDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillHistoricCaseInstanceName
(HistoricCaseInstance historicCaseInstance, EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillHistoricProcessInstanceName
(HistoricProcessInstance historicProcessInstance, EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillHistoricTaskName
(EntityLinkWithName entityLink) protected void
fillNameAndTranslations
(EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillProcessInstanceNameAndTranslations
(String processInstanceName, String processDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillRuntimeCaseInstanceNameAndTranslations
(EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillRuntimeProcessInstanceNameAndTranslations
(EntityLinkWithName entityLink, boolean includeTranslations) protected void
fillRuntimeTaskName
(EntityLinkWithName entityLink) protected EntityLinkWithDetails
getHistoricChildEntityLinkWithDetails
(HistoricEntityLink historicEntityLink, boolean includeTranslations) getHistoricChildrenEntityLinks
(String scopeType, String scopeId) getHistoricChildrenEntityLinksWithDetails
(String scopeType, String scopeId, boolean includeTranslations) getHistoricParentEntityLinks
(String scopeType, String scopeId) getHistoricParentEntityLinkWithName
(String scopeType, String scopeId, String hierarchyType, boolean includeTranslations) getParentEntityLinkWithName
(String scopeType, String scopeId, String hierarchyType, boolean includeTranslations) protected String
getPermissionForScopeType
(String scopeType) protected EntityLinkWithDetails
getRuntimeChildEntityLinkWithDetails
(EntityLink entityLink, boolean includeTranslations) getRuntimeChildrenEntityLinks
(String scopeType, String scopeId) getRuntimeChildrenEntityLinksWithDetails
(String scopeType, String scopeId, boolean includeTranslations) getRuntimeParentEntityLinks
(String scopeType, String scopeId) com.fasterxml.jackson.databind.node.ObjectNode
queryNameTranslations
(String scopeId, String scopeType) void
setPlatformTranslationService
(PlatformTranslationService platformTranslationService) Methods inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
currentUserHasAdminRights, currentUserIsSuperAdmin, fetchCasePermissionMappings, fetchCasePermissionMappings, fetchCaseSecurityPolicyModel, fetchPermissions, fetchPermissionsForTask, fetchProcessPermissionMappings, fetchProcessPermissionMappings, fetchProcessSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModelForCaseInstance, fetchSecurityPolicyModelForProcessInstance, fetchSecurityPolicyModelForTask, fetchSecurityPolicyModelForTask, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappingsForCase, fetchTaskPermissionMappingsForProcess, fetchTaskSecurityPolicyModelForCase, fetchTaskSecurityPolicyModelForProcess, filterPermissionsForRole, getCmmnExtensionElementValue, getCurrentGroupKeys, getCurrentSecurityScope, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
runtimeService
-
cmmnRuntimeService
-
historyService
-
cmmnHistoryService
-
taskService
-
repositoryService
-
cmmnRepositoryService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper -
platformTranslationService
-
-
Constructor Details
-
PlatformEntityLinkService
public PlatformEntityLinkService(RuntimeService runtimeService, CmmnRuntimeService cmmnRuntimeService, HistoryService historyService, CmmnHistoryService cmmnHistoryService, TaskService taskService, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getParentEntityLinkWithName
public EntityLinkWithName getParentEntityLinkWithName(String scopeType, String scopeId, String hierarchyType, boolean includeTranslations) -
getHistoricParentEntityLinkWithName
public EntityLinkWithName getHistoricParentEntityLinkWithName(String scopeType, String scopeId, String hierarchyType, boolean includeTranslations) -
getRuntimeChildrenEntityLinksWithDetails
public List<EntityLinkWithDetails> getRuntimeChildrenEntityLinksWithDetails(String scopeType, String scopeId, boolean includeTranslations) -
queryNameTranslations
-
getRuntimeChildEntityLinkWithDetails
protected EntityLinkWithDetails getRuntimeChildEntityLinkWithDetails(EntityLink entityLink, boolean includeTranslations) -
getHistoricChildrenEntityLinksWithDetails
public List<EntityLinkWithDetails> getHistoricChildrenEntityLinksWithDetails(String scopeType, String scopeId, boolean includeTranslations) -
getHistoricChildEntityLinkWithDetails
protected EntityLinkWithDetails getHistoricChildEntityLinkWithDetails(HistoricEntityLink historicEntityLink, boolean includeTranslations) -
fillNameAndTranslations
-
fillRuntimeCaseInstanceNameAndTranslations
protected void fillRuntimeCaseInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations) -
fillRuntimeProcessInstanceNameAndTranslations
protected void fillRuntimeProcessInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations) -
fillRuntimeTaskName
-
fillHistoricCaseInstanceName
protected void fillHistoricCaseInstanceName(HistoricCaseInstance historicCaseInstance, EntityLinkWithName entityLink, boolean includeTranslations) -
fillHistoricProcessInstanceName
protected void fillHistoricProcessInstanceName(HistoricProcessInstance historicProcessInstance, EntityLinkWithName entityLink, boolean includeTranslations) -
fillHistoricTaskName
-
fillCaseInstanceNameAndTranslations
protected void fillCaseInstanceNameAndTranslations(String caseInstanceName, String caseDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) -
fillProcessInstanceNameAndTranslations
protected void fillProcessInstanceNameAndTranslations(String processInstanceName, String processDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) -
getRuntimeParentEntityLinks
-
getRuntimeChildrenEntityLinks
-
getHistoricChildrenEntityLinks
-
getHistoricParentEntityLinks
-
setPlatformTranslationService
@Autowired(required=false) public void setPlatformTranslationService(PlatformTranslationService platformTranslationService) -
getPermissionForScopeType
-