Class ItemInterfaceApiImpl

  • All Implemented Interfaces:
    ItemInterfaceApi

    @RestController
    @RequestMapping(value="/services/rest/itemInterface",
                    produces="application/json")
    public class ItemInterfaceApiImpl
    extends Object
    implements ItemInterfaceApi
    事项接口绑定信息
    Author:
    zhangchongjie
    Date:
    2024/05/27
    • Constructor Detail

      • ItemInterfaceApiImpl

        public ItemInterfaceApiImpl()
    • Method Detail

      • getInterface

        public net.risesoft.pojo.Y9Result<List<InterfaceModel>> getInterface​(@RequestParam
                                                                             String tenantId,
                                                                             @RequestParam
                                                                             String itemId,
                                                                             String taskKey,
                                                                             @RequestParam
                                                                             String processDefinitionId,
                                                                             @RequestParam
                                                                             String condition)
        获取事项绑定的接口信息
        Specified by:
        getInterface in interface ItemInterfaceApi
        Parameters:
        tenantId - 租户id
        itemId - 事项id
        taskKey - 任务key
        processDefinitionId - 流程定义id
        condition - 执行条件
        Returns:
        Y9Result<List<InterfaceModel>> 通用请求返回对象 - data 是接口绑定参数列表
        Since:
        9.6.6
      • getInterfaceList

        public net.risesoft.pojo.Y9Result<List<InterfaceModel>> getInterfaceList​(@RequestParam
                                                                                 String tenantId,
                                                                                 @RequestParam
                                                                                 String itemId)
        根据事项id获取绑定接口
        Specified by:
        getInterfaceList in interface ItemInterfaceApi
        Parameters:
        tenantId - 租户id
        itemId - 事项id
        Returns:
        Y9Result<List<InterfaceModel>> 通用请求返回对象 - data 是接口绑定列表
        Since:
        9.6.6
      • getInterfaceParams

        public net.risesoft.pojo.Y9Result<List<InterfaceParamsModel>> getInterfaceParams​(@RequestParam
                                                                                         String tenantId,
                                                                                         @RequestParam
                                                                                         String itemId,
                                                                                         @RequestParam
                                                                                         String interfaceId)
        获取事项绑定的接口参数信息
        Specified by:
        getInterfaceParams in interface ItemInterfaceApi
        Parameters:
        tenantId - 租户id
        itemId - 事项id
        interfaceId - 接口id
        Returns:
        Y9Result<List<InterfaceParamsModel>> 通用请求返回对象 - data 是接口绑定参数列表
        Since:
        9.6.6
      • getTaskTimeConf

        public net.risesoft.pojo.Y9Result<TaskTimeConfModel> getTaskTimeConf​(@RequestParam
                                                                             String tenantId,
                                                                             @RequestParam
                                                                             String processDefinitionId,
                                                                             @RequestParam
                                                                             String itemId,
                                                                             String taskKey)
        获取任务时间配置信息
        Specified by:
        getTaskTimeConf in interface ItemInterfaceApi
        Parameters:
        tenantId - 租户id
        itemId - 事项id
        processDefinitionId - 流程定义id
        taskKey - 任务key
        Returns:
        Y9Result<TaskTimeConfModel> 通用请求返回对象 - data 是任务时间配置信息
        Since:
        9.6.6