枚举 OrgUnitErrorCodeEnum
- java.lang.Object
-
- java.lang.Enum<OrgUnitErrorCodeEnum>
-
- net.risesoft.exception.OrgUnitErrorCodeEnum
-
- 所有已实现的接口:
Serializable,Comparable<OrgUnitErrorCodeEnum>,net.risesoft.exception.ErrorCode
public enum OrgUnitErrorCodeEnum extends Enum<OrgUnitErrorCodeEnum> implements net.risesoft.exception.ErrorCode
组织节点错误码 10-00-xx- 从以下版本开始:
- 9.6.3
- 作者:
- shidaobang
- Date:
- 2023/09/08
-
-
枚举常量概要
枚举常量 枚举常量 说明 CUSTOM_GROUP_NOT_FOUNDcustom group not foundDEPARTMENT_NOT_FOUNDdepartment not foundGROUP_NOT_FOUNDgroup not foundJOB_EXISTSjob existsJOB_NOT_FOUNDjob not foundMANAGER_NOT_FOUNDmanager not foundMOVE_TO_SUB_DEPARTMENT_NOT_PERMITTEDmove to sub department not permittedNOT_ALL_DEPARTMENTS_DISABLED存在未禁用的人员,禁止禁用当前节点NOT_ALL_GROUPS_DISABLED存在未禁用的人员,禁止禁用当前节点NOT_ALL_PERSONS_DISABLED存在未禁用的人员,禁止禁用当前节点NOT_ALL_POSITIONS_DISABLED存在未禁用的人员,禁止禁用当前节点OLD_PASSWORD_IS_INCORRECT旧密码不正确ORG_UNIT_AS_PARENT_NOT_FOUNDorg unit as parent not foundORG_UNIT_BUREAU_NOT_FOUNDorg unit bureau not foundORG_UNIT_NOT_FOUNDorg unit not foundORG_UNIT_PARENT_NOT_FOUNDorg unit parent not foundORGANIZATION_NOT_FOUNDorganization not foundPERSON_EXT_NOT_FOUNDperson ext not foundPERSON_NOT_FOUNDperson not foundPOSITION_IS_FULLposition is fullPOSITION_NOT_FOUNDposition not foundRELATED_POSITION_EXISTSrelated position exists
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDescription()intmoduleCode()intmoduleErrorCode()intsystemCode()static OrgUnitErrorCodeEnumvalueOf(String name)返回带有指定名称的该类型的枚举常量。static OrgUnitErrorCodeEnum[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
ORG_UNIT_AS_PARENT_NOT_FOUND
public static final OrgUnitErrorCodeEnum ORG_UNIT_AS_PARENT_NOT_FOUND
org unit as parent not found
-
ORG_UNIT_PARENT_NOT_FOUND
public static final OrgUnitErrorCodeEnum ORG_UNIT_PARENT_NOT_FOUND
org unit parent not found
-
ORG_UNIT_BUREAU_NOT_FOUND
public static final OrgUnitErrorCodeEnum ORG_UNIT_BUREAU_NOT_FOUND
org unit bureau not found
-
ORG_UNIT_NOT_FOUND
public static final OrgUnitErrorCodeEnum ORG_UNIT_NOT_FOUND
org unit not found
-
MOVE_TO_SUB_DEPARTMENT_NOT_PERMITTED
public static final OrgUnitErrorCodeEnum MOVE_TO_SUB_DEPARTMENT_NOT_PERMITTED
move to sub department not permitted
-
DEPARTMENT_NOT_FOUND
public static final OrgUnitErrorCodeEnum DEPARTMENT_NOT_FOUND
department not found
-
GROUP_NOT_FOUND
public static final OrgUnitErrorCodeEnum GROUP_NOT_FOUND
group not found
-
JOB_EXISTS
public static final OrgUnitErrorCodeEnum JOB_EXISTS
job exists
-
RELATED_POSITION_EXISTS
public static final OrgUnitErrorCodeEnum RELATED_POSITION_EXISTS
related position exists
-
JOB_NOT_FOUND
public static final OrgUnitErrorCodeEnum JOB_NOT_FOUND
job not found
-
MANAGER_NOT_FOUND
public static final OrgUnitErrorCodeEnum MANAGER_NOT_FOUND
manager not found
-
PERSON_NOT_FOUND
public static final OrgUnitErrorCodeEnum PERSON_NOT_FOUND
person not found
-
PERSON_EXT_NOT_FOUND
public static final OrgUnitErrorCodeEnum PERSON_EXT_NOT_FOUND
person ext not found
-
POSITION_IS_FULL
public static final OrgUnitErrorCodeEnum POSITION_IS_FULL
position is full
-
POSITION_NOT_FOUND
public static final OrgUnitErrorCodeEnum POSITION_NOT_FOUND
position not found
-
ORGANIZATION_NOT_FOUND
public static final OrgUnitErrorCodeEnum ORGANIZATION_NOT_FOUND
organization not found
-
CUSTOM_GROUP_NOT_FOUND
public static final OrgUnitErrorCodeEnum CUSTOM_GROUP_NOT_FOUND
custom group not found
-
OLD_PASSWORD_IS_INCORRECT
public static final OrgUnitErrorCodeEnum OLD_PASSWORD_IS_INCORRECT
旧密码不正确
-
NOT_ALL_PERSONS_DISABLED
public static final OrgUnitErrorCodeEnum NOT_ALL_PERSONS_DISABLED
存在未禁用的人员,禁止禁用当前节点
-
NOT_ALL_POSITIONS_DISABLED
public static final OrgUnitErrorCodeEnum NOT_ALL_POSITIONS_DISABLED
存在未禁用的人员,禁止禁用当前节点
-
NOT_ALL_GROUPS_DISABLED
public static final OrgUnitErrorCodeEnum NOT_ALL_GROUPS_DISABLED
存在未禁用的人员,禁止禁用当前节点
-
NOT_ALL_DEPARTMENTS_DISABLED
public static final OrgUnitErrorCodeEnum NOT_ALL_DEPARTMENTS_DISABLED
存在未禁用的人员,禁止禁用当前节点
-
-
方法详细资料
-
values
public static OrgUnitErrorCodeEnum[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (OrgUnitErrorCodeEnum c : OrgUnitErrorCodeEnum.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static OrgUnitErrorCodeEnum valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
systemCode
public int systemCode()
- 指定者:
systemCode在接口中net.risesoft.exception.ErrorCode
-
moduleCode
public int moduleCode()
- 指定者:
moduleCode在接口中net.risesoft.exception.ErrorCode
-
moduleErrorCode
public int moduleErrorCode()
- 指定者:
moduleErrorCode在接口中net.risesoft.exception.ErrorCode
-
getDescription
public String getDescription()
- 指定者:
getDescription在接口中net.risesoft.exception.ErrorCode
-
-