类 CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder
java.lang.Object
cn.isliu.core.service.CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder
public static class CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder
extends Object
添加保护范围构建器
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明添加一个允许编辑的用户IDbuild()构建保护范围请求设置结束索引设置保护范围的备注信息majorDimension(String majorDimension) 设置维度方向设置工作表IDstartIndex(Integer startIndex) 设置开始索引设置多个允许编辑的用户ID
-
构造器详细资料
-
AddProtectedDimensionBuilder
public AddProtectedDimensionBuilder()
-
-
方法详细资料
-
sheetId
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder sheetId(String sheetId) 设置工作表ID- 参数:
sheetId- 工作表ID- 返回:
- 当前构建器
-
majorDimension
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder majorDimension(String majorDimension) 设置维度方向- 参数:
majorDimension- 维度方向,可选值:ROWS(行)、COLUMNS(列)- 返回:
- 当前构建器
-
startIndex
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder startIndex(Integer startIndex) 设置开始索引- 参数:
startIndex- 开始索引,从1开始计数- 返回:
- 当前构建器
-
endIndex
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder endIndex(Integer endIndex) 设置结束索引- 参数:
endIndex- 结束索引,从1开始计数- 返回:
- 当前构建器
-
addUser
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder addUser(String userId) 添加一个允许编辑的用户ID- 参数:
userId- 用户ID- 返回:
- 当前构建器
-
users
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder users(List<String> userIds) 设置多个允许编辑的用户ID- 参数:
userIds- 用户ID列表- 返回:
- 当前构建器
-
lockInfo
public CustomProtectedDimensionService.ProtectedDimensionRequest.AddProtectedDimensionBuilder lockInfo(String lockInfo) 设置保护范围的备注信息- 参数:
lockInfo- 备注信息- 返回:
- 当前构建器
-
build
构建保护范围请求- 返回:
- 保护范围请求
-