首页 / base / oaFlatGroupDef

oaFlatGroupDef

模块: oapy._oa._base 导入: from oapy._oa import _base

概览

oaFlatGroupDefoapy 中可用,可通过 _base 模块访问。

本页汇总 oaFlatGroupDef 当前在 oapy 中可用的 Python 接口。

详细说明

This class defines a group that prohibits the nesting of other groups as members。 Only the specified object types are allowed in a group defined as an oaFlatGroupDef type, and these groups can be contained only in the specified databases。

方法总览

状态 Python 调用
_base.oaFlatGroupDef.create(name, validTypes, validDatabases)

方法说明

_base.oaFlatGroupDef.create(name, validTypes, validDatabases)

绑定状态: 已绑定

Python 调用: _base.oaFlatGroupDef.create(name, validTypes, validDatabases)

This function creates a new flat group definition with the specified attributes。

参数

  • name: The name of this group definition。
  • validTypes: The valid managed object types for this group definition。
  • validDatabases: The databases that a group with this definition can exist in。

异常

  • oacObjectDefExists

Python 示例

from oapy._oa import _base

_base.oaFlatGroupDef.create(name, validTypes, validDatabases)