Class PlatformAppService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.app.PlatformAppService
- All Implemented Interfaces:
PermissionServiceRegistryAware
,Aware
-
Field Summary
Modifier and TypeFieldDescriptionprotected ActionRepositoryService
protected AppEngineConfiguration
protected CoreAppRepositoryService
protected DataObjectRepositoryService
protected DmnRepositoryService
protected DocumentRepositoryService
protected EventRepositoryService
protected FormRepositoryService
protected com.fasterxml.jackson.databind.ObjectMapper
protected PlatformRepositoryService
protected ServiceRegistryRepositoryService
protected TemplateRepositoryService
Fields inherited from class com.flowable.platform.security.service.AbstractPlatformSecurityService
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, EXTERNAL_WORKER_PREFIX, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteAppArtefacts
(List<String> parentDeploymentIds) void
deleteApplication
(String appDeploymentId) void
deleteApplicationByDefinitionId
(String appDefinitionId) void
deleteApplicationCascade
(String appDeploymentId, Boolean allVersions) void
deleteApplicationCascadeByDefinitionId
(String appDefinitionId, Boolean allVersions) protected Map<String,
AppDefinitionRepresentation> getAppsWithAccess
(List<CoreAppDefinition> appDefinitions) getFlowAppsForUser
(Principal principal, Boolean includeDefaultTenantFlowApps) getListOfCommaSeparatedValues
(String strValue) protected Map<String,
List<PageDefinitionRepresentation>> getPagesWithAccess
(List<PageDefinition> pageDefinitions) 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, getCurrentSecurityScope, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
appRepositoryService
-
appEngineConfiguration
-
dmnRepositoryService
-
formRepositoryService
-
documentRepositoryService
-
actionRepositoryService
-
templateRepositoryService
-
dataObjectRepositoryService
-
serviceRegistryRepositoryService
@Autowired(required=false) protected ServiceRegistryRepositoryService serviceRegistryRepositoryService -
eventRepositoryService
-
platformRepositoryService
-
objectMapper
-
-
Constructor Details
-
PlatformAppService
public PlatformAppService()
-
-
Method Details
-
getFlowAppsForUser
public List<AppDefinitionRepresentation> getFlowAppsForUser(Principal principal, Boolean includeDefaultTenantFlowApps) -
deleteApplication
-
deleteApplicationCascade
-
deleteApplicationByDefinitionId
-
deleteApplicationCascadeByDefinitionId
-
getAppsWithAccess
protected Map<String,AppDefinitionRepresentation> getAppsWithAccess(List<CoreAppDefinition> appDefinitions) -
getPagesWithAccess
protected Map<String,List<PageDefinitionRepresentation>> getPagesWithAccess(List<PageDefinition> pageDefinitions) -
deleteAppArtefacts
-
getListOfCommaSeparatedValues
-