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.CmmnEnginecmmnEngineprotected org.flowable.cmmn.api.CmmnHistoryServicecmmnHistoryServiceprotected PlatformContentItemServicecontentItemServiceprotected org.flowable.form.api.FormRepositoryServiceformRepositoryServiceprotected org.flowable.form.api.FormServiceformServiceprotected org.flowable.engine.HistoryServicehistoryServiceprotected com.flowable.license.LicenseCheckServicelicenseCheckServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected com.flowable.platform.security.permission.CasePermissionServicepermissionServiceprotected PlatformRestVariableTransformervariableTransformerFields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, 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.FormInfogetCasePageForm(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)protected org.flowable.form.api.FormInforesolveFormInfo(java.lang.String formKey, java.lang.String caseDefinitionId, java.lang.String tenantId, java.lang.String planItemDefinitionId)protected org.flowable.form.api.FormInforesolveFormInfo(org.flowable.cmmn.api.runtime.PlanItemInstance planItemInstance)voidsaveCasePageForm(java.lang.String casePageInstanceId, java.util.Map<java.lang.String,java.lang.Object> variables)protected voidtransformVariables(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, 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
-
-
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)
-