枚举 OrgUnitErrorCodeEnum

    • 枚举常量详细资料

      • 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
      • RELATED_POSITION_EXISTS

        public static final OrgUnitErrorCodeEnum RELATED_POSITION_EXISTS
        related position exists
      • PERSON_EXT_NOT_FOUND

        public static final OrgUnitErrorCodeEnum PERSON_EXT_NOT_FOUND
        person ext not found
      • 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