Class PlatformAppService
- java.lang.Object
-
- com.flowable.platform.security.service.AbstractPlatformSecurityService
-
- com.flowable.platform.service.app.PlatformAppService
-
- All Implemented Interfaces:
PermissionServiceRegistryAware,Aware
@Transactional public class PlatformAppService extends AbstractPlatformSecurityService
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionRepositoryServiceactionRepositoryServiceprotected CoreAppRepositoryServiceappRepositoryServiceprotected DataObjectRepositoryServicedataObjectRepositoryServiceprotected DmnRepositoryServicedmnRepositoryServiceprotected DocumentRepositoryServicedocumentRepositoryServiceprotected EventRepositoryServiceeventRepositoryServiceprotected FormRepositoryServiceformRepositoryServiceprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected PlatformRepositoryServiceplatformRepositoryServiceprotected ServiceRegistryRepositoryServiceserviceRegistryRepositoryServiceprotected TemplateRepositoryServicetemplateRepositoryService-
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 PlatformAppService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)List<AppDefinitionRepresentation>getFlowAppsForUser(Principal principal)protected List<String>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 Detail
-
appRepositoryService
@Autowired protected CoreAppRepositoryService appRepositoryService
-
dmnRepositoryService
@Autowired(required=false) protected DmnRepositoryService dmnRepositoryService
-
formRepositoryService
@Autowired(required=false) protected FormRepositoryService formRepositoryService
-
documentRepositoryService
@Autowired(required=false) protected DocumentRepositoryService documentRepositoryService
-
actionRepositoryService
@Autowired(required=false) protected ActionRepositoryService actionRepositoryService
-
templateRepositoryService
@Autowired(required=false) protected TemplateRepositoryService templateRepositoryService
-
dataObjectRepositoryService
@Autowired(required=false) protected DataObjectRepositoryService dataObjectRepositoryService
-
serviceRegistryRepositoryService
@Autowired(required=false) protected ServiceRegistryRepositoryService serviceRegistryRepositoryService
-
eventRepositoryService
@Autowired(required=false) protected EventRepositoryService eventRepositoryService
-
platformRepositoryService
@Autowired(required=false) protected PlatformRepositoryService platformRepositoryService
-
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
getFlowAppsForUser
public List<AppDefinitionRepresentation> getFlowAppsForUser(Principal principal)
-
deleteApplication
public void deleteApplication(String appDeploymentId)
-
deleteApplicationCascade
public void deleteApplicationCascade(String appDeploymentId, Boolean allVersions)
-
deleteApplicationByDefinitionId
public void deleteApplicationByDefinitionId(String appDefinitionId)
-
deleteApplicationCascadeByDefinitionId
public void deleteApplicationCascadeByDefinitionId(String appDefinitionId, Boolean allVersions)
-
getAppsWithAccess
protected Map<String,AppDefinitionRepresentation> getAppsWithAccess(List<CoreAppDefinition> appDefinitions)
-
getPagesWithAccess
protected Map<String,List<PageDefinitionRepresentation>> getPagesWithAccess(List<PageDefinition> pageDefinitions)
-
-