| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
RecRule |
build() |
RecRule.Builder |
conditionGroups(ConditionGroup[] conditionGroups)
条件组
示例值:
|
RecRule.Builder |
conditions(RecRuleCondition[] conditions)
记录筛选条件,用于指定可编辑或可阅读的记录。
|
RecRule.Builder |
conjunction(RecRuleConjunctionEnum conjunction)
多个筛选条件的关系
示例值:and
|
RecRule.Builder |
conjunction(String conjunction)
多个筛选条件的关系
示例值:and
|
RecRule.Builder |
displayRecRuleVersion(Integer displayRecRuleVersion)
条件版本
示例值:1
|
RecRule.Builder |
displayRecRuleVersion(RecRuleDisplayRecRuleVersionEnum displayRecRuleVersion)
条件版本
示例值:1
|
RecRule.Builder |
otherPerm(Integer otherPerm)
其他记录权限,仅在 `table_perm` 为 2 (数据表权限为可编辑)时生效。
|
RecRule.Builder |
otherPerm(RecRuleOtherPermEnum otherPerm)
其他记录权限,仅在 `table_perm` 为 2 (数据表权限为可编辑)时生效。
|
RecRule.Builder |
perm(Integer perm)
命中 rec_rule 的记录对应的权限,可不设置,理论上应该与 table_perm 保持一致
示例值:1
|
RecRule.Builder |
perm(RecRulePermEnum perm)
命中 rec_rule 的记录对应的权限,可不设置,理论上应该与 table_perm 保持一致
示例值:1
|
public RecRule.Builder conditions(RecRuleCondition[] conditions)
示例值:
conditions - public RecRule.Builder conjunction(String conjunction)
示例值:and
conjunction - public RecRule.Builder conjunction(RecRuleConjunctionEnum conjunction)
示例值:and
conjunction - RecRuleConjunctionEnumpublic RecRule.Builder perm(Integer perm)
示例值:1
perm - public RecRule.Builder perm(RecRulePermEnum perm)
示例值:1
perm - RecRulePermEnumpublic RecRule.Builder otherPerm(Integer otherPerm)
示例值:1
otherPerm - public RecRule.Builder otherPerm(RecRuleOtherPermEnum otherPerm)
示例值:1
otherPerm - RecRuleOtherPermEnumpublic RecRule.Builder conditionGroups(ConditionGroup[] conditionGroups)
示例值:
conditionGroups - public RecRule.Builder displayRecRuleVersion(Integer displayRecRuleVersion)
示例值:1
displayRecRuleVersion - public RecRule.Builder displayRecRuleVersion(RecRuleDisplayRecRuleVersionEnum displayRecRuleVersion)
示例值:1
displayRecRuleVersion - RecRuleDisplayRecRuleVersionEnumpublic RecRule build()
Copyright © 2026. All rights reserved.