Package net.risesoft.api
Class ItemApiImpl
- java.lang.Object
-
- net.risesoft.api.ItemApiImpl
-
-
Constructor Summary
Constructors Constructor Description ItemApiImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<List<ItemModel>>findAll(String tenantId, String systemName)根据系统名称获取事项列表net.risesoft.pojo.Y9Result<ItemModel>findByProcessDefinitionKey(String tenantId, String processDefinitionKey)根据流程的定义Key查找对应的事项信息net.risesoft.pojo.Y9Result<List<ItemModel>>getAllItem(String tenantId)获取当前租户所有事项列表net.risesoft.pojo.Y9Result<List<ItemModel>>getAllItemList(String tenantId)获取所有事项信息net.risesoft.pojo.Y9Result<ItemModel>getByItemId(String tenantId, String itemId)根据事项id获取事项信息net.risesoft.pojo.Y9Result<String>getFirstItem(String tenantId, String orgUnitId)获取有权限的第一个事项idnet.risesoft.pojo.Y9Result<String>getFormIdByItemId(String tenantId, String itemId, String processDefinitionKey)根据事项id获取绑定的表单idnet.risesoft.pojo.Y9Result<List<ItemListModel>>getItemList(String tenantId, String orgUnitId)获取有权限的事项列表net.risesoft.pojo.Y9Result<List<ItemMappingConfModel>>getItemMappingConf(String tenantId, String itemId, String mappingId)获取事项系统字段映射配置net.risesoft.pojo.Y9Result<List<ItemSystemListModel>>getItemSystem(String tenantId)获取事项系统列表net.risesoft.pojo.Y9Result<List<ItemListModel>>getMyItemList(String tenantId, String orgUnitId)获取个人有权限事项列表net.risesoft.pojo.Y9Result<Boolean>hasProcessDefinitionByKey(String tenantId, String processDefinitionKey)判断流程定义key是否绑定事项
-
-
-
Method Detail
-
findAll
public net.risesoft.pojo.Y9Result<List<ItemModel>> findAll(@RequestParam String tenantId, @RequestParam String systemName)
根据系统名称获取事项列表
-
findByProcessDefinitionKey
public net.risesoft.pojo.Y9Result<ItemModel> findByProcessDefinitionKey(@RequestParam String tenantId, @RequestParam String processDefinitionKey)
根据流程的定义Key查找对应的事项信息- Specified by:
findByProcessDefinitionKeyin interfaceItemApi- Parameters:
tenantId- 租户IdprocessDefinitionKey- 流程定义Key- Returns:
Y9Result<ItemModel>通用请求返回对象 - data 是事项信息- Since:
- 9.6.6
-
getAllItem
public net.risesoft.pojo.Y9Result<List<ItemModel>> getAllItem(@RequestParam String tenantId)
获取当前租户所有事项列表- Specified by:
getAllItemin interfaceItemApi- Parameters:
tenantId- 租户id- Returns:
Y9Result<List<ItemModel>>通用请求返回对象 - data 是事项列表- Since:
- 9.6.6
-
getAllItemList
public net.risesoft.pojo.Y9Result<List<ItemModel>> getAllItemList(@RequestParam String tenantId)
获取所有事项信息- Specified by:
getAllItemListin interfaceItemApi- Parameters:
tenantId- 租户id- Returns:
Y9Result<List<ItemModel>>通用请求返回对象 - data 是事项列表- Since:
- 9.6.6
-
getByItemId
public net.risesoft.pojo.Y9Result<ItemModel> getByItemId(@RequestParam String tenantId, @RequestParam String itemId)
根据事项id获取事项信息- Specified by:
getByItemIdin interfaceItemApi- Parameters:
tenantId- 租户iditemId- 事项id- Returns:
Y9Result<ItemModel>通用请求返回对象 - data 是事项信息- Since:
- 9.6.6
-
getFirstItem
public net.risesoft.pojo.Y9Result<String> getFirstItem(@RequestParam String tenantId, @RequestParam String orgUnitId)
获取有权限的第一个事项id- Specified by:
getFirstItemin interfaceItemApi- Parameters:
tenantId- 租户idorgUnitId- 人员、岗位id- Returns:
Y9Result<String>通用请求返回对象 - data 是事项id- Since:
- 9.6.6
-
getFormIdByItemId
public net.risesoft.pojo.Y9Result<String> getFormIdByItemId(@RequestParam String tenantId, @RequestParam String itemId, @RequestParam String processDefinitionKey)
根据事项id获取绑定的表单id- Specified by:
getFormIdByItemIdin interfaceItemApi- Parameters:
tenantId- 租户IditemId- 事项idprocessDefinitionKey- 流程定义Key- Returns:
Y9Result<String>通用请求返回对象 - data 是表单id- Since:
- 9.6.6
-
getItemList
public net.risesoft.pojo.Y9Result<List<ItemListModel>> getItemList(@RequestParam String tenantId, @RequestParam String orgUnitId)
获取有权限的事项列表- Specified by:
getItemListin interfaceItemApi- Parameters:
tenantId- 租户idorgUnitId- 人员、岗位id- Returns:
Y9Result<List<ItemListModel>>通用请求返回对象 - data 是事项列表- Since:
- 9.6.6
-
getItemMappingConf
public net.risesoft.pojo.Y9Result<List<ItemMappingConfModel>> getItemMappingConf(@RequestParam String tenantId, @RequestParam String itemId, @RequestParam String mappingId)
获取事项系统字段映射配置- Specified by:
getItemMappingConfin interfaceItemApi- Parameters:
tenantId- 租户IditemId- 事项idmappingId- 系统标识- Returns:
Y9Result<List<ItemMappingConfModel>>通用请求返回对象 - data 是事项映射列表- Since:
- 9.6.6
-
getItemSystem
public net.risesoft.pojo.Y9Result<List<ItemSystemListModel>> getItemSystem(@RequestParam String tenantId)
获取事项系统列表- Specified by:
getItemSystemin interfaceItemApi- Parameters:
tenantId- 租户id- Returns:
Y9Result<List<ItemSystemListModel>>通用请求返回对象 - data 是事项系统列表- Since:
- 9.6.6
-
getMyItemList
public net.risesoft.pojo.Y9Result<List<ItemListModel>> getMyItemList(@RequestParam String tenantId, @RequestParam String orgUnitId)
获取个人有权限事项列表- Specified by:
getMyItemListin interfaceItemApi- Parameters:
tenantId- 租户IdorgUnitId- 人员、岗位id- Returns:
Y9Result<List<ItemListModel>>通用请求返回对象 - data 是新建事项列表- Since:
- 9.6.6
-
hasProcessDefinitionByKey
public net.risesoft.pojo.Y9Result<Boolean> hasProcessDefinitionByKey(@RequestParam String tenantId, @RequestParam String processDefinitionKey)
判断流程定义key是否绑定事项- Specified by:
hasProcessDefinitionByKeyin interfaceItemApi- Parameters:
tenantId- 租户IdprocessDefinitionKey- 流程定义Key- Returns:
Y9Result<Boolean>通用请求返回对象- Since:
- 9.6.6
-
-