Class TaskVariableController


  • @RestController
    @RequestMapping(value="/v1/tasks/{taskId}/variables",
                    produces={"application/hal+json","application/json"})
    public class TaskVariableController
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskVariableController​(org.activiti.cloud.services.query.app.repository.TaskVariableRepository variableRepository, TaskVariableResourceAssembler variableResourceAssembler, org.activiti.cloud.alfresco.data.domain.AlfrescoPagedResourcesAssembler<org.activiti.cloud.services.query.model.TaskVariableEntity> pagedResourcesAssembler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.hateoas.PagedResources<org.springframework.hateoas.Resource<org.activiti.cloud.api.model.shared.CloudVariableInstance>> getVariables​(java.lang.String taskId, com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Pageable pageable)  
      • Methods inherited from class java.lang.Object

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

      • TaskVariableController

        @Autowired
        public TaskVariableController​(org.activiti.cloud.services.query.app.repository.TaskVariableRepository variableRepository,
                                      TaskVariableResourceAssembler variableResourceAssembler,
                                      org.activiti.cloud.alfresco.data.domain.AlfrescoPagedResourcesAssembler<org.activiti.cloud.services.query.model.TaskVariableEntity> pagedResourcesAssembler)
    • Method Detail

      • getVariables

        @RequestMapping(method=GET)
        public org.springframework.hateoas.PagedResources<org.springframework.hateoas.Resource<org.activiti.cloud.api.model.shared.CloudVariableInstance>> getVariables​(@PathVariable
                                                                                                                                                                        java.lang.String taskId,
                                                                                                                                                                        com.querydsl.core.types.Predicate predicate,
                                                                                                                                                                        org.springframework.data.domain.Pageable pageable)