Class PlatformEntityLinkService

java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.work.PlatformEntityLinkService
All Implemented Interfaces:
PermissionServiceRegistryAware, Aware

public class PlatformEntityLinkService extends AbstractPlatformSecurityService
  • Field Details

    • runtimeService

      protected final org.flowable.engine.RuntimeService runtimeService
    • cmmnRuntimeService

      protected final org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService
    • historyService

      protected final org.flowable.engine.HistoryService historyService
    • cmmnHistoryService

      protected final org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService
    • taskService

      protected final org.flowable.engine.TaskService taskService
    • repositoryService

      protected final org.flowable.engine.RepositoryService repositoryService
    • cmmnRepositoryService

      protected final org.flowable.cmmn.api.CmmnRepositoryService cmmnRepositoryService
    • objectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • platformTranslationService

      protected PlatformTranslationService platformTranslationService
  • Constructor Details

    • PlatformEntityLinkService

      public PlatformEntityLinkService(org.flowable.engine.RuntimeService runtimeService, org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService, org.flowable.engine.HistoryService historyService, org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService, org.flowable.engine.TaskService taskService, org.flowable.engine.RepositoryService repositoryService, org.flowable.cmmn.api.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

      public com.fasterxml.jackson.databind.node.ObjectNode queryNameTranslations(String scopeId, String scopeType)
    • getRuntimeChildEntityLinkWithDetails

      protected EntityLinkWithDetails getRuntimeChildEntityLinkWithDetails(org.flowable.entitylink.api.EntityLink entityLink, boolean includeTranslations)
    • getHistoricChildrenEntityLinksWithDetails

      public List<EntityLinkWithDetails> getHistoricChildrenEntityLinksWithDetails(String scopeType, String scopeId, boolean includeTranslations)
    • getHistoricChildEntityLinkWithDetails

      protected EntityLinkWithDetails getHistoricChildEntityLinkWithDetails(org.flowable.entitylink.api.history.HistoricEntityLink historicEntityLink, boolean includeTranslations)
    • fillNameAndTranslations

      protected void fillNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations)
    • fillRuntimeCaseInstanceNameAndTranslations

      protected void fillRuntimeCaseInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations)
    • fillRuntimeProcessInstanceNameAndTranslations

      protected void fillRuntimeProcessInstanceNameAndTranslations(EntityLinkWithName entityLink, boolean includeTranslations)
    • fillRuntimeTaskName

      protected void fillRuntimeTaskName(EntityLinkWithName entityLink)
    • fillHistoricCaseInstanceName

      protected void fillHistoricCaseInstanceName(org.flowable.cmmn.api.history.HistoricCaseInstance historicCaseInstance, EntityLinkWithName entityLink, boolean includeTranslations)
    • fillHistoricProcessInstanceName

      protected void fillHistoricProcessInstanceName(org.flowable.engine.history.HistoricProcessInstance historicProcessInstance, EntityLinkWithName entityLink, boolean includeTranslations)
    • fillHistoricTaskName

      protected void fillHistoricTaskName(EntityLinkWithName entityLink)
    • 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

      public List<org.flowable.entitylink.api.EntityLink> getRuntimeParentEntityLinks(String scopeType, String scopeId)
    • getRuntimeChildrenEntityLinks

      public List<org.flowable.entitylink.api.EntityLink> getRuntimeChildrenEntityLinks(String scopeType, String scopeId)
    • getHistoricChildrenEntityLinks

      public List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricChildrenEntityLinks(String scopeType, String scopeId)
    • getHistoricParentEntityLinks

      public List<org.flowable.entitylink.api.history.HistoricEntityLink> getHistoricParentEntityLinks(String scopeType, String scopeId)
    • setPlatformTranslationService

      @Autowired(required=false) public void setPlatformTranslationService(PlatformTranslationService platformTranslationService)
    • getPermissionForScopeType

      protected String getPermissionForScopeType(String scopeType)