Class ScopedActionDefinitionCollectionResource
java.lang.Object
com.flowable.action.rest.service.api.action.BaseActionResource
com.flowable.action.rest.service.api.repository.ScopedActionDefinitionCollectionResource
@RestController public class ScopedActionDefinitionCollectionResource extends BaseActionResource
- Author:
- Filip Hrisafov, Joram Barrez
-
Field Summary
Fields Modifier and Type Field Description protected ActionDefinitionMapper
actionDefinitionMapper
protected ActionRuntimeService
actionRuntimeService
protected ActionTemplateService
actionTemplateService
protected TranslationService
translationService
Fields inherited from class com.flowable.action.rest.service.api.action.BaseActionResource
actionEngineConfigurationApi, actionRepositoryService, additionalAdminUsers, defaultListResponseSize, formRepositoryService, platformIdentityService, platformSecurityInterceptor
-
Constructor Summary
Constructors Constructor Description ScopedActionDefinitionCollectionResource(ActionRuntimeService actionRuntimeService, ActionDefinitionMapper actionDefinitionMapper, org.springframework.beans.factory.ObjectProvider<ActionTemplateService> confirmationTemplateServiceProvider, org.springframework.beans.factory.ObjectProvider<TranslationService> translationServiceProvider)
-
Method Summary
Modifier and Type Method Description protected org.flowable.common.rest.api.DataResponse<ActionDefinitionResponse>
createDataResponse(java.util.List<ActionDefinitionResponse> resultList)
protected ScopedObjectActionQuery
createQuery(ScopedActionDefinitionQueryRequest request)
org.flowable.common.rest.api.DataResponse<ActionDefinitionResponse>
queryScopedActionDefinitions(java.lang.String scopeType, java.lang.String scopeId, ScopedActionDefinitionQueryRequest request, java.security.Principal principal)
protected java.util.List<ActionDefinitionResponse>
transformToActionDefinitionResponses(ScopedObjectActionData scopedObjectActionData)
Methods inherited from class com.flowable.action.rest.service.api.action.BaseActionResource
currentUserHasAccess, currentUserHasAccess, currentUserHasAccess, currentUserHasAccess, currentUserHasAccess, currentUserHasAccess, currentUserHasAccessToActionInForm, currentUserHasAdminRights, currentUserIsSuperAdmin, extractPermissionGroups, getScopedObject
-
Field Details
-
Constructor Details
-
ScopedActionDefinitionCollectionResource
public ScopedActionDefinitionCollectionResource(ActionRuntimeService actionRuntimeService, ActionDefinitionMapper actionDefinitionMapper, org.springframework.beans.factory.ObjectProvider<ActionTemplateService> confirmationTemplateServiceProvider, org.springframework.beans.factory.ObjectProvider<TranslationService> translationServiceProvider)
-
-
Method Details
-
queryScopedActionDefinitions
@GetMapping("/action-repository/scoped-action-definitions/{scopeType}/{scopeId}") @Transactional public org.flowable.common.rest.api.DataResponse<ActionDefinitionResponse> queryScopedActionDefinitions(@PathVariable java.lang.String scopeType, @PathVariable java.lang.String scopeId, @ModelAttribute ScopedActionDefinitionQueryRequest request, java.security.Principal principal) -
createQuery
-
transformToActionDefinitionResponses
protected java.util.List<ActionDefinitionResponse> transformToActionDefinitionResponses(ScopedObjectActionData scopedObjectActionData) -
createDataResponse
protected org.flowable.common.rest.api.DataResponse<ActionDefinitionResponse> createDataResponse(java.util.List<ActionDefinitionResponse> resultList)
-