@Transactional public class PlatformAppService extends AbstractPlatformSecurityService
Modifier and Type | Field and 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 |
additionalAdminUsers, CASE_PREFIX, cmmnRepositoryService, cmmnRuntimeService, cmmnTaskService, defaultSecurityPolicyKey, defaultSecurityPolicyModel, inspectEnabled, permissionServiceRegistry, platformSecurityInterceptor, policyRepositoryService, PROCESS_PREFIX, repositoryService, runtimeService, SECURITY_POLICY_MODEL, TASK_PREFIX, taskService
Constructor and Description |
---|
PlatformAppService() |
Modifier and Type | Method and 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) |
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
@Autowired protected CoreAppRepositoryService appRepositoryService
@Autowired(required=false) protected DmnRepositoryService dmnRepositoryService
@Autowired(required=false) protected FormRepositoryService formRepositoryService
@Autowired(required=false) protected DocumentRepositoryService documentRepositoryService
@Autowired(required=false) protected ActionRepositoryService actionRepositoryService
@Autowired(required=false) protected TemplateRepositoryService templateRepositoryService
@Autowired(required=false) protected DataObjectRepositoryService dataObjectRepositoryService
@Autowired(required=false) protected ServiceRegistryRepositoryService serviceRegistryRepositoryService
@Autowired(required=false) protected EventRepositoryService eventRepositoryService
@Autowired(required=false) protected PlatformRepositoryService platformRepositoryService
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
public List<AppDefinitionRepresentation> getFlowAppsForUser(Principal principal)
public void deleteApplication(String appDeploymentId)
public void deleteApplicationCascade(String appDeploymentId, Boolean allVersions)
public void deleteApplicationByDefinitionId(String appDefinitionId)
public void deleteApplicationCascadeByDefinitionId(String appDefinitionId, Boolean allVersions)
protected Map<String,AppDefinitionRepresentation> getAppsWithAccess(List<CoreAppDefinition> appDefinitions)
protected Map<String,List<PageDefinitionRepresentation>> getPagesWithAccess(List<PageDefinition> pageDefinitions)