Class PlatformAppService

  • All Implemented Interfaces:
    com.flowable.platform.security.permission.PermissionServiceRegistryAware, org.springframework.beans.factory.Aware

    @Transactional
    public class PlatformAppService
    extends com.flowable.platform.security.service.AbstractPlatformSecurityService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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
      • eventRepositoryService

        @Autowired(required=false)
        protected org.flowable.eventregistry.api.EventRepositoryService eventRepositoryService
      • objectMapper

        @Autowired
        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • Constructor Detail

      • PlatformAppService

        public PlatformAppService()
    • Method Detail

      • 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)