Interface CmmnHistoryConfigurationSettings
-
- All Known Implementing Classes:
DefaultCmmnHistoryConfigurationSettings
public interface CmmnHistoryConfigurationSettings- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisHistoryEnabled()Returns whether history is enabled on the case engine configuration.booleanisHistoryEnabled(String caseDefinitionId)Returns whether any history should be stored for the given case definition (i.e.booleanisHistoryEnabledForCaseInstance(CaseInstanceEntity caseInstanceEntity)Returns whether history is enabled for the provided case instance.booleanisHistoryEnabledForEntityLink(EntityLinkEntity entityLink)Returns whether history is enabled for the provided entity link.booleanisHistoryEnabledForIdentityLink(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLinkEntity)Returns whether history is enabled for the provided identity link.booleanisHistoryEnabledForMilestone(MilestoneInstanceEntity milestoneInstanceEntity)Returns whether history is enabled for the provided activity.booleanisHistoryEnabledForPlanItemInstance(PlanItemInstanceEntity planItemInstanceEntity)Returns whether history is enabled for the provided plan item instance.booleanisHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)Returns whether history is enabled for the provided user task.booleanisHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)Returns whether history is enabled for the provided variable instance.booleanisHistoryLevelAtLeast(HistoryLevel level, String caseDefinitionId)Returns whether the history level is at least the given level.
-
-
-
Method Detail
-
isHistoryEnabled
boolean isHistoryEnabled()
Returns whether history is enabled on the case engine configuration.
-
isHistoryEnabled
boolean isHistoryEnabled(String caseDefinitionId)
Returns whether any history should be stored for the given case definition (i.e. the history level is different fromHistoryLevel.NONE.
-
isHistoryLevelAtLeast
boolean isHistoryLevelAtLeast(HistoryLevel level, String caseDefinitionId)
Returns whether the history level is at least the given level. If case definitions have more specific settings the level will be checked against that before checking the engine configuration.
-
isHistoryEnabledForCaseInstance
boolean isHistoryEnabledForCaseInstance(CaseInstanceEntity caseInstanceEntity)
Returns whether history is enabled for the provided case instance.
-
isHistoryEnabledForMilestone
boolean isHistoryEnabledForMilestone(MilestoneInstanceEntity milestoneInstanceEntity)
Returns whether history is enabled for the provided activity.
-
isHistoryEnabledForPlanItemInstance
boolean isHistoryEnabledForPlanItemInstance(PlanItemInstanceEntity planItemInstanceEntity)
Returns whether history is enabled for the provided plan item instance.
-
isHistoryEnabledForUserTask
boolean isHistoryEnabledForUserTask(org.flowable.task.api.TaskInfo taskInfo)
Returns whether history is enabled for the provided user task.
-
isHistoryEnabledForVariableInstance
boolean isHistoryEnabledForVariableInstance(VariableInstanceEntity variableInstanceEntity)
Returns whether history is enabled for the provided variable instance.
-
isHistoryEnabledForIdentityLink
boolean isHistoryEnabledForIdentityLink(org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity identityLinkEntity)
Returns whether history is enabled for the provided identity link.
-
isHistoryEnabledForEntityLink
boolean isHistoryEnabledForEntityLink(EntityLinkEntity entityLink)
Returns whether history is enabled for the provided entity link.
-
-