Class PlatformEntityLinkService
- java.lang.Object
-
- com.flowable.platform.service.work.PlatformEntityLinkService
-
public class PlatformEntityLinkService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CmmnHistoryService
cmmnHistoryService
protected CmmnRepositoryService
cmmnRepositoryService
protected CmmnRuntimeService
cmmnRuntimeService
protected HistoryService
historyService
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected PlatformTranslationService
platformTranslationService
protected RepositoryService
repositoryService
protected RuntimeService
runtimeService
protected TaskService
taskService
-
Constructor Summary
Constructors Constructor Description PlatformEntityLinkService(RuntimeService runtimeService, CmmnRuntimeService cmmnRuntimeService, HistoryService historyService, CmmnHistoryService cmmnHistoryService, TaskService taskService, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
-
-
-
Field Detail
-
runtimeService
protected final RuntimeService runtimeService
-
cmmnRuntimeService
protected final CmmnRuntimeService cmmnRuntimeService
-
historyService
protected final HistoryService historyService
-
cmmnHistoryService
protected final CmmnHistoryService cmmnHistoryService
-
taskService
protected final TaskService taskService
-
repositoryService
protected final RepositoryService repositoryService
-
cmmnRepositoryService
protected final CmmnRepositoryService cmmnRepositoryService
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
platformTranslationService
protected PlatformTranslationService platformTranslationService
-
-
Constructor Detail
-
PlatformEntityLinkService
public PlatformEntityLinkService(RuntimeService runtimeService, CmmnRuntimeService cmmnRuntimeService, HistoryService historyService, CmmnHistoryService cmmnHistoryService, TaskService taskService, RepositoryService repositoryService, CmmnRepositoryService cmmnRepositoryService, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
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(EntityLink entityLink, boolean includeTranslations)
-
getHistoricChildrenEntityLinksWithDetails
public List<EntityLinkWithDetails> getHistoricChildrenEntityLinksWithDetails(String scopeType, String scopeId, boolean includeTranslations)
-
getHistoricChildEntityLinkWithDetails
protected EntityLinkWithDetails getHistoricChildEntityLinkWithDetails(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(HistoricCaseInstance historicCaseInstance, EntityLinkWithName entityLink, boolean includeTranslations)
-
fillHistoricProcessInstanceName
protected void fillHistoricProcessInstanceName(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<EntityLink> getRuntimeParentEntityLinks(String scopeType, String scopeId)
-
getRuntimeChildrenEntityLinks
public List<EntityLink> getRuntimeChildrenEntityLinks(String scopeType, String scopeId)
-
getHistoricChildrenEntityLinks
public List<HistoricEntityLink> getHistoricChildrenEntityLinks(String scopeType, String scopeId)
-
getHistoricParentEntityLinks
public List<HistoricEntityLink> getHistoricParentEntityLinks(String scopeType, String scopeId)
-
setPlatformTranslationService
@Autowired(required=false) public void setPlatformTranslationService(PlatformTranslationService platformTranslationService)
-
-