Class PlatformCasePageService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.casepage.PlatformCasePageService
- All Implemented Interfaces:
com.flowable.platform.security.permission.PermissionServiceRegistryAware
,org.springframework.beans.factory.Aware
@Transactional
public class PlatformCasePageService
extends com.flowable.platform.security.service.AbstractPlatformSecurityService
- Author:
- Yvo Swillens
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.engine.CmmnEngine
cmmnEngine
protected org.flowable.cmmn.api.CmmnHistoryService
cmmnHistoryService
protected PlatformContentItemService
contentItemService
protected com.flowable.core.service.form.FlowableFormDecoratorInvoker
formDecoratorInvoker
protected org.flowable.form.api.FormRepositoryService
formRepositoryService
protected org.flowable.form.api.FormService
formService
protected org.flowable.engine.HistoryService
historyService
protected com.flowable.license.LicenseCheckService
licenseCheckService
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected com.flowable.platform.security.permission.CasePermissionService
permissionService
protected PlatformRestVariableTransformer
variableTransformer
Fields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
-
Constructor Summary
Constructors Constructor Description PlatformCasePageService()
-
Method Summary
Modifier and Type Method Description org.flowable.form.api.FormInfo
getCasePageForm(java.lang.String casePageInstanceId)
java.util.Map<java.lang.String,java.lang.Object>
getCasePageVariables(java.lang.String caseInstanceId)
java.util.Map<java.lang.String,java.lang.Object>
getCasePageVariablesWithPermissionCheck(java.lang.String casePageInstanceId)
org.flowable.content.api.ContentItem
getContentItem(java.lang.String casePageInstanceId, java.lang.String contentItemId)
protected org.flowable.form.api.FormInfo
resolveFormInfo(java.lang.String formKey, java.lang.String caseDefinitionId, java.lang.String tenantId, java.lang.String planItemDefinitionId)
protected org.flowable.form.api.FormInfo
resolveFormInfo(org.flowable.cmmn.api.runtime.PlanItemInstance planItemInstance)
void
saveCasePageForm(java.lang.String casePageInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)
protected void
transformVariables(java.util.Map<java.lang.String,java.lang.Object> variables)
Methods inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
currentUserHasAdminRights, currentUserIsSuperAdmin, fetchCasePermissionMappings, fetchCasePermissionMappings, fetchCaseSecurityPolicyModel, fetchPermissions, fetchPermissionsForTask, fetchProcessPermissionMappings, fetchProcessPermissionMappings, fetchProcessSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModel, fetchSecurityPolicyModelForCaseInstance, fetchSecurityPolicyModelForProcessInstance, fetchSecurityPolicyModelForTask, fetchSecurityPolicyModelForTask, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappings, fetchTaskPermissionMappingsForCase, fetchTaskPermissionMappingsForProcess, fetchTaskSecurityPolicyModelForCase, fetchTaskSecurityPolicyModelForProcess, filterPermissionsForRole, getCmmnExtensionElementValue, getCurrentGroupKeys, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
historyService
@Autowired protected org.flowable.engine.HistoryService historyService -
cmmnHistoryService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService cmmnHistoryService -
formRepositoryService
@Autowired protected org.flowable.form.api.FormRepositoryService formRepositoryService -
permissionService
@Autowired protected com.flowable.platform.security.permission.CasePermissionService permissionService -
formService
@Autowired protected org.flowable.form.api.FormService formService -
licenseCheckService
@Autowired protected com.flowable.license.LicenseCheckService licenseCheckService -
contentItemService
-
variableTransformer
-
cmmnEngine
@Autowired protected org.flowable.cmmn.engine.CmmnEngine cmmnEngine -
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
formDecoratorInvoker
@Autowired protected com.flowable.core.service.form.FlowableFormDecoratorInvoker formDecoratorInvoker
-
-
Constructor Details
-
PlatformCasePageService
public PlatformCasePageService()
-
-
Method Details
-
getCasePageForm
public org.flowable.form.api.FormInfo getCasePageForm(java.lang.String casePageInstanceId) -
saveCasePageForm
public void saveCasePageForm(java.lang.String casePageInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables) -
getCasePageVariablesWithPermissionCheck
public java.util.Map<java.lang.String,java.lang.Object> getCasePageVariablesWithPermissionCheck(java.lang.String casePageInstanceId) -
getCasePageVariables
public java.util.Map<java.lang.String,java.lang.Object> getCasePageVariables(java.lang.String caseInstanceId) -
resolveFormInfo
protected org.flowable.form.api.FormInfo resolveFormInfo(org.flowable.cmmn.api.runtime.PlanItemInstance planItemInstance) -
resolveFormInfo
protected org.flowable.form.api.FormInfo resolveFormInfo(java.lang.String formKey, java.lang.String caseDefinitionId, java.lang.String tenantId, java.lang.String planItemDefinitionId) -
transformVariables
protected void transformVariables(java.util.Map<java.lang.String,java.lang.Object> variables) -
getContentItem
public org.flowable.content.api.ContentItem getContentItem(java.lang.String casePageInstanceId, java.lang.String contentItemId)
-