public class DefaultCmmnHistoryConfigurationSettings extends Object implements CmmnHistoryConfigurationSettings
| Modifier and Type | Field and Description |
|---|---|
protected CmmnEngineConfiguration |
cmmnEngineConfiguration |
| Constructor and Description |
|---|
DefaultCmmnHistoryConfigurationSettings(CmmnEngineConfiguration cmmnEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected HistoryLevel |
getCaseDefinitionHistoryLevel(String caseDefinitionId) |
protected String |
getCaseDefinitionId(EntityLinkEntity entityLink) |
protected String |
getCaseDefinitionId(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink) |
protected boolean |
hasTaskHistoryLevel(HistoryLevel historyLevel) |
protected boolean |
includePlanItemDefinitionInHistory(String caseDefinitionId,
String activityId) |
protected boolean |
isEnableCaseDefinitionHistoryLevel() |
boolean |
isHistoryEnabled()
Returns whether history is enabled on the case engine configuration.
|
boolean |
isHistoryEnabled(String caseDefinitionId)
Returns whether any history should be stored for the given case definition
(i.e.
|
protected boolean |
isHistoryEnabledForActivity(String caseDefinitionId,
String activityId) |
boolean |
isHistoryEnabledForCaseInstance(CaseInstanceEntity caseInstanceEntity)
Returns whether history is enabled for the provided case instance.
|
boolean |
isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
Returns whether history is enabled for the provided entity link.
|
boolean |
isHistoryEnabledForIdentityLink(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLinkEntity)
Returns whether history is enabled for the provided identity link.
|
boolean |
isHistoryEnabledForMilestone(MilestoneInstanceEntity milestoneInstanceEntity)
Returns whether history is enabled for the provided activity.
|
boolean |
isHistoryEnabledForPlanItemInstance(PlanItemInstanceEntity planItemInstanceEntity)
Returns whether history is enabled for the provided plan item instance.
|
boolean |
isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
Returns whether history is enabled for the provided user task.
|
boolean |
isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance.
|
boolean |
isHistoryLevelAtLeast(HistoryLevel level,
String caseDefinitionId)
Returns whether the history level is at least the given level.
|
protected CmmnEngineConfiguration cmmnEngineConfiguration
public DefaultCmmnHistoryConfigurationSettings(CmmnEngineConfiguration cmmnEngineConfiguration)
public boolean isHistoryEnabled()
CmmnHistoryConfigurationSettingsisHistoryEnabled in interface CmmnHistoryConfigurationSettingsprotected boolean isEnableCaseDefinitionHistoryLevel()
public boolean isHistoryEnabled(String caseDefinitionId)
CmmnHistoryConfigurationSettingsHistoryLevel.NONE.isHistoryEnabled in interface CmmnHistoryConfigurationSettingspublic boolean isHistoryLevelAtLeast(HistoryLevel level, String caseDefinitionId)
CmmnHistoryConfigurationSettingsisHistoryLevelAtLeast in interface CmmnHistoryConfigurationSettingspublic boolean isHistoryEnabledForCaseInstance(CaseInstanceEntity caseInstanceEntity)
CmmnHistoryConfigurationSettingsisHistoryEnabledForCaseInstance in interface CmmnHistoryConfigurationSettingsprotected boolean isHistoryEnabledForActivity(String caseDefinitionId, String activityId)
public boolean isHistoryEnabledForMilestone(MilestoneInstanceEntity milestoneInstanceEntity)
CmmnHistoryConfigurationSettingsisHistoryEnabledForMilestone in interface CmmnHistoryConfigurationSettingspublic boolean isHistoryEnabledForPlanItemInstance(PlanItemInstanceEntity planItemInstanceEntity)
CmmnHistoryConfigurationSettingsisHistoryEnabledForPlanItemInstance in interface CmmnHistoryConfigurationSettingspublic boolean isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
CmmnHistoryConfigurationSettingsisHistoryEnabledForUserTask in interface CmmnHistoryConfigurationSettingsprotected boolean hasTaskHistoryLevel(HistoryLevel historyLevel)
public boolean isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
CmmnHistoryConfigurationSettingsisHistoryEnabledForVariableInstance in interface CmmnHistoryConfigurationSettingspublic boolean isHistoryEnabledForIdentityLink(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLinkEntity)
CmmnHistoryConfigurationSettingsisHistoryEnabledForIdentityLink in interface CmmnHistoryConfigurationSettingsprotected String getCaseDefinitionId(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLink)
public boolean isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
CmmnHistoryConfigurationSettingsisHistoryEnabledForEntityLink in interface CmmnHistoryConfigurationSettingsprotected String getCaseDefinitionId(EntityLinkEntity entityLink)
protected HistoryLevel getCaseDefinitionHistoryLevel(String caseDefinitionId)
Copyright © 2022 Flowable. All rights reserved.