public class CmmnFormProvider extends PermissionAwareFormProvider
Modifier and Type | Field and Description |
---|---|
protected CmmnEngine |
cmmnEngine |
protected FormRepositoryService |
formRepositoryService |
protected FormService |
formService |
permissionServiceRegistry
Constructor and Description |
---|
CmmnFormProvider(CmmnEngine cmmnEngine,
FormRepositoryService formRepositoryService,
FormService formService) |
Modifier and Type | Method and Description |
---|---|
protected CaseInstanceInfo |
fetchCaseInstanceWithHistory(String caseInstanceId) |
protected CmmnHistoryService |
getCmmnHistoryService() |
protected CmmnRepositoryService |
getCmmnRepositoryService() |
protected CmmnRuntimeService |
getCmmnRuntimeService() |
protected String |
getExtensionElementValue(String name,
CmmnElement cmmnElement) |
FormInfo |
getFormInfoForScopeDefinitionId(String scopeDefinitionId,
FormProviderContext context) |
FormInfo |
getFormInfoForScopeId(String scopeId,
FormProviderContext context) |
String |
getScopeType() |
protected FormInfo |
getStartFormInfo(String caseInstanceId) |
protected FormInfo |
getStartFormInfoByDefinitionId(String scopeDefinitionId) |
protected FormInfo |
getWorkFormInfo(String caseInstanceId,
String caseDefinitionId,
String tenantId) |
getCurrentTenantId, getPermissionScopeType, setPermissionServiceRegistry, validatePermissionOnHistoricScope, validatePermissionOnRuntimeScope, validatePermissionOnScope, validateReadPermissionOnScopeDefinition
protected final CmmnEngine cmmnEngine
protected final FormRepositoryService formRepositoryService
protected final FormService formService
public CmmnFormProvider(CmmnEngine cmmnEngine, FormRepositoryService formRepositoryService, FormService formService)
public String getScopeType()
public FormInfo getFormInfoForScopeId(String scopeId, FormProviderContext context)
protected FormInfo getWorkFormInfo(String caseInstanceId, String caseDefinitionId, String tenantId)
protected CaseInstanceInfo fetchCaseInstanceWithHistory(String caseInstanceId)
protected String getExtensionElementValue(String name, CmmnElement cmmnElement)
public FormInfo getFormInfoForScopeDefinitionId(String scopeDefinitionId, FormProviderContext context)
protected FormInfo getStartFormInfoByDefinitionId(String scopeDefinitionId)
protected CmmnHistoryService getCmmnHistoryService()
protected CmmnRuntimeService getCmmnRuntimeService()
protected CmmnRepositoryService getCmmnRepositoryService()