weaver-hrm-organization/src/com/engine/organization/service/FieldDefinedService.java

120 lines
2.4 KiB
Java
Raw Normal View History

2022-06-14 09:36:47 +08:00
package com.engine.organization.service;
2022-06-15 11:36:48 +08:00
2022-06-17 09:45:32 +08:00
import com.engine.organization.entity.extend.param.ExtendFieldSearchParam;
2022-06-16 18:26:12 +08:00
import com.engine.organization.entity.extend.param.ExtendInfoChangeParam;
2022-06-15 11:25:23 +08:00
import com.engine.organization.entity.extend.param.ExtendTitleSaveParam;
2022-06-15 11:36:48 +08:00
import com.engine.organization.entity.fieldset.param.FieldTypeTreeParam;
2022-06-14 16:10:26 +08:00
import com.engine.organization.entity.fieldset.vo.TypeTreeVO;
import com.engine.organization.enums.ModuleTypeEnum;
2022-06-14 09:36:47 +08:00
import java.util.List;
2022-06-14 15:29:22 +08:00
import java.util.Map;
2022-06-14 09:36:47 +08:00
/**
* @Author weaver_cl
2022-06-14 11:07:48 +08:00
* @description:
2022-06-14 09:36:47 +08:00
* @Date 2022/6/13
* @Version V1.0
**/
public interface FieldDefinedService {
2022-06-14 15:29:22 +08:00
2022-06-15 11:36:48 +08:00
/**
* 获取左侧树
2022-06-16 18:26:12 +08:00
*
2022-06-15 11:36:48 +08:00
* @param moduleTypeEnum
* @return
*/
2022-06-14 16:10:26 +08:00
List<TypeTreeVO> getTree(ModuleTypeEnum moduleTypeEnum);
2022-06-14 11:07:48 +08:00
2022-06-14 15:29:22 +08:00
/**
* 获取标题分组
*
* @param groupType
* @return
*/
Map<String, Object> getTabInfo(String groupType);
/**
* 保存自定义字段
*
* @param data
* @return
*/
int saveFields(String data);
2022-06-15 11:25:23 +08:00
/**
* 分组维护
*
* @param param
* @return
*/
Map<String, Object> saveGroup(ExtendTitleSaveParam param);
/**
* 新建分组
*
* @param param
* @return
*/
Map<String, Object> saveTitle(ExtendTitleSaveParam param);
2022-06-15 11:36:48 +08:00
/**
2022-06-15 17:17:34 +08:00
* 新增或编辑类型树
2022-06-16 18:26:12 +08:00
*
2022-06-15 11:36:48 +08:00
* @param moduleTypeEnum
* @param fieldTypeTreeParam
* @return
*/
2022-06-15 17:17:34 +08:00
void changeTree(ModuleTypeEnum moduleTypeEnum, FieldTypeTreeParam fieldTypeTreeParam);
2022-06-16 18:26:12 +08:00
2022-06-15 18:12:53 +08:00
/**
* 删除标题信息
*
2022-06-17 16:54:16 +08:00
* @param param
2022-06-15 18:12:53 +08:00
* @return
*/
2022-06-17 16:54:16 +08:00
int deleteTitle(ExtendTitleSaveParam param);
2022-06-15 17:17:34 +08:00
2022-06-15 18:12:53 +08:00
/**
* 获取自定义字段列表
*
* @param param
* @return
*/
2022-06-17 09:45:32 +08:00
Map<String, Object> getFieldDefinedInfo(ExtendFieldSearchParam param);
2022-06-15 11:36:48 +08:00
2022-06-16 17:57:03 +08:00
/**
* 删除树类型
2022-06-16 18:26:12 +08:00
*
2022-06-16 17:57:03 +08:00
* @param id
*/
void deleteTree(Long id);
/**
* 子信息维护
2022-06-16 18:26:12 +08:00
*
2022-06-16 17:57:03 +08:00
* @param moduleTypeEnum
* @param fieldTypeTreeParam
*/
void saveTree(ModuleTypeEnum moduleTypeEnum, FieldTypeTreeParam fieldTypeTreeParam);
2022-06-16 18:26:12 +08:00
/**
* 删除自定义字段
*
* @param param
*/
2022-06-17 09:45:32 +08:00
void deleteFieldDefined(ExtendFieldSearchParam param);
2022-06-16 18:26:12 +08:00
/**
* 移动分组
*
* @param param
*/
void changeGroup(ExtendInfoChangeParam param);
2022-09-16 11:01:31 +08:00
Map<String, Object> getHasRight(ModuleTypeEnum moduleTypeEnum);
2022-06-14 09:36:47 +08:00
}