Class PlatformAppService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.app.PlatformAppService
- All Implemented Interfaces:
PermissionServiceRegistryAware,Aware
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActionRepositoryServiceprotected AppEngineConfigurationprotected CoreAppRepositoryServiceprotected DataObjectRepositoryServiceprotected DmnRepositoryServiceprotected DocumentRepositoryServiceprotected EventRepositoryServiceprotected FormRepositoryServiceprotected com.fasterxml.jackson.databind.ObjectMapperprotected PlatformRepositoryServiceprotected ServiceRegistryRepositoryServiceprotected TemplateRepositoryServiceFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeleteAppArtefacts(List<String> parentDeploymentIds) voiddeleteApplication(String appDeploymentId) voiddeleteApplicationByDefinitionId(String appDefinitionId) voiddeleteApplicationCascade(String appDeploymentId, Boolean allVersions) voiddeleteApplicationCascadeByDefinitionId(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
-