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 AgentRepositoryServiceprotected AppEngineConfigurationprotected CoreAppRepositoryServiceprotected DataObjectRepositoryServiceprotected org.flowable.dmn.api.DmnRepositoryServiceprotected DocumentRepositoryServiceprotected org.flowable.eventregistry.api.EventRepositoryServiceprotected org.flowable.form.api.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 TypeMethodDescriptionvoidbatchDeleteApplications(List<String> appDeploymentIds) protected voiddeleteAppArtefacts(String parentDeploymentId, boolean cascade) protected voiddeleteAppArtefacts(List<String> parentDeploymentIds, boolean cascade) voiddeleteApplication(String appDeploymentId, boolean cascade) voiddeleteApplicationByDefinitionId(String appDefinitionId) voiddeleteApplicationCascade(String appDeploymentId, Boolean allVersions, boolean cascade) voiddeleteApplicationCascadeByDefinitionId(String appDefinitionId, Boolean allVersions, boolean cascade) 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
addAdditionalPermissions, 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
@Autowired(required=false) protected org.flowable.form.api.FormRepositoryService formRepositoryService -
documentRepositoryService
-
actionRepositoryService
-
templateRepositoryService
-
dataObjectRepositoryService
-
serviceRegistryRepositoryService
@Autowired(required=false) protected ServiceRegistryRepositoryService serviceRegistryRepositoryService -
eventRepositoryService
@Autowired(required=false) protected org.flowable.eventregistry.api.EventRepositoryService eventRepositoryService -
platformRepositoryService
-
agentRepositoryService
-
objectMapper
-
-
Constructor Details
-
PlatformAppService
public PlatformAppService()
-
-
Method Details
-
getFlowAppsForUser
public List<AppDefinitionRepresentation> getFlowAppsForUser(Principal principal, Boolean includeDefaultTenantFlowApps) -
deleteApplication
-
batchDeleteApplications
-
deleteApplicationCascade
-
deleteApplicationByDefinitionId
-
deleteApplicationCascadeByDefinitionId
-
getAppsWithAccess
protected Map<String,AppDefinitionRepresentation> getAppsWithAccess(List<CoreAppDefinition> appDefinitions) -
getPagesWithAccess
protected Map<String,List<PageDefinitionRepresentation>> getPagesWithAccess(List<PageDefinition> pageDefinitions) -
deleteAppArtefacts
-
deleteAppArtefacts
-
getListOfCommaSeparatedValues
-