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 ActionRepositoryService
actionRepositoryService
protected CoreAppRepositoryService
appRepositoryService
protected DataObjectRepositoryService
dataObjectRepositoryService
protected DmnRepositoryService
dmnRepositoryService
protected DocumentRepositoryService
documentRepositoryService
protected EventRepositoryService
eventRepositoryService
protected FormRepositoryService
formRepositoryService
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected PlatformRepositoryService
platformRepositoryService
protected ServiceRegistryRepositoryService
serviceRegistryRepositoryService
protected TemplateRepositoryService
templateRepositoryService
-
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 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)
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)
-
-