Class PlatformEntityLinkService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.work.PlatformEntityLinkService
- All Implemented Interfaces:
PermissionServiceRegistryAware,Aware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CmmnHistoryServiceprotected final CmmnRepositoryServiceprotected final CmmnRuntimeServiceprotected final HistoryServiceprotected final com.fasterxml.jackson.databind.ObjectMapperprotected PlatformTranslationServiceprotected final RepositoryServiceprotected final RuntimeServiceprotected final TaskServiceFields 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
ConstructorsConstructorDescriptionPlatformEntityLinkService(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 voidfillCaseInstanceNameAndTranslations(String caseInstanceName, String caseDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillHistoricCaseInstanceName(HistoricCaseInstance historicCaseInstance, EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillHistoricProcessInstanceName(HistoricProcessInstance historicProcessInstance, EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillHistoricTaskName(EntityLinkWithName entityLink) protected voidfillNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillProcessInstanceNameAndTranslations(String processInstanceName, String processDefinitionId, EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillRuntimeCaseInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillRuntimeProcessInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations) protected voidfillRuntimeTaskName(EntityLinkWithName entityLink) protected EntityLinkWithDetailsgetHistoricChildEntityLinkWithDetails(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 StringgetPermissionForScopeType(String scopeType) protected EntityLinkWithDetailsgetRuntimeChildEntityLinkWithDetails(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.ObjectNodequeryNameTranslations(String scopeId, String scopeType) voidsetPlatformTranslationService(PlatformTranslationService platformTranslationService) Methods inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
addAdditionalPermissions, 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
-