Class PlatformAppService
java.lang.Object
com.flowable.platform.security.service.AbstractPlatformSecurityService
com.flowable.platform.service.app.PlatformAppService
- All Implemented Interfaces:
PermissionServiceRegistryAware
,org.springframework.beans.factory.Aware
@Transactional public class PlatformAppService extends AbstractPlatformSecurityService
-
Field Summary
Fields Modifier and Type Field Description protected ActionRepositoryService
actionRepositoryService
protected com.flowable.core.app.api.CoreAppRepositoryService
appRepositoryService
protected DataObjectRepositoryService
dataObjectRepositoryService
protected org.flowable.dmn.api.DmnRepositoryService
dmnRepositoryService
protected com.flowable.core.content.api.DocumentRepositoryService
documentRepositoryService
protected org.flowable.eventregistry.api.EventRepositoryService
eventRepositoryService
protected org.flowable.form.api.FormRepositoryService
formRepositoryService
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
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
Modifier and Type Method Description protected void
deleteAppArtefacts(java.util.List<java.lang.String> parentDeploymentIds)
void
deleteApplication(java.lang.String appDeploymentId)
void
deleteApplicationByDefinitionId(java.lang.String appDefinitionId)
void
deleteApplicationCascade(java.lang.String appDeploymentId, java.lang.Boolean allVersions)
void
deleteApplicationCascadeByDefinitionId(java.lang.String appDefinitionId, java.lang.Boolean allVersions)
protected java.util.Map<java.lang.String,AppDefinitionRepresentation>
getAppsWithAccess(java.util.List<com.flowable.core.app.api.CoreAppDefinition> appDefinitions)
java.util.List<AppDefinitionRepresentation>
getFlowAppsForUser(java.security.Principal principal)
protected java.util.List<java.lang.String>
getListOfCommaSeparatedValues(java.lang.String strValue)
protected java.util.Map<java.lang.String,java.util.List<PageDefinitionRepresentation>>
getPagesWithAccess(java.util.List<com.flowable.core.app.api.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, getCurrentTenantId, getCurrentUserId, getDefaultSecurityPolicyModel, getExtensionElementValue, getSecurityPolicyModelByKey, groupOrUserMatches, groupOrUserMatches, hasAnyMatchingIdentityLink, hasAssigneeOrOwnerIdentityLink, hasPermissionForEntityLinks, hasPermissionForHistoricEntityLinks, setPermissionServiceRegistry, translatePermissionForScope
-
Field Details
-
appRepositoryService
@Autowired protected com.flowable.core.app.api.CoreAppRepositoryService appRepositoryService -
dmnRepositoryService
@Autowired(required=false) protected org.flowable.dmn.api.DmnRepositoryService dmnRepositoryService -
formRepositoryService
@Autowired(required=false) protected org.flowable.form.api.FormRepositoryService formRepositoryService -
documentRepositoryService
@Autowired(required=false) protected com.flowable.core.content.api.DocumentRepositoryService documentRepositoryService -
actionRepositoryService
-
templateRepositoryService
-
dataObjectRepositoryService
-
serviceRegistryRepositoryService
@Autowired(required=false) protected ServiceRegistryRepositoryService serviceRegistryRepositoryService -
eventRepositoryService
@Autowired(required=false) protected org.flowable.eventregistry.api.EventRepositoryService eventRepositoryService -
objectMapper
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
PlatformAppService
public PlatformAppService()
-
-
Method Details
-
getFlowAppsForUser
public java.util.List<AppDefinitionRepresentation> getFlowAppsForUser(java.security.Principal principal) -
deleteApplication
public void deleteApplication(java.lang.String appDeploymentId) -
deleteApplicationCascade
public void deleteApplicationCascade(java.lang.String appDeploymentId, java.lang.Boolean allVersions) -
deleteApplicationByDefinitionId
public void deleteApplicationByDefinitionId(java.lang.String appDefinitionId) -
deleteApplicationCascadeByDefinitionId
public void deleteApplicationCascadeByDefinitionId(java.lang.String appDefinitionId, java.lang.Boolean allVersions) -
getAppsWithAccess
protected java.util.Map<java.lang.String,AppDefinitionRepresentation> getAppsWithAccess(java.util.List<com.flowable.core.app.api.CoreAppDefinition> appDefinitions) -
getPagesWithAccess
protected java.util.Map<java.lang.String,java.util.List<PageDefinitionRepresentation>> getPagesWithAccess(java.util.List<com.flowable.core.app.api.PageDefinition> pageDefinitions) -
deleteAppArtefacts
protected void deleteAppArtefacts(java.util.List<java.lang.String> parentDeploymentIds) -
getListOfCommaSeparatedValues
protected java.util.List<java.lang.String> getListOfCommaSeparatedValues(java.lang.String strValue)
-