首页 / cms / oaCMDatabaseTbl

oaCMDatabaseTbl

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

概览

oaCMDatabaseTbloapy 中可用,可通过 _cms 模块访问。

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

详细说明

The oaCMDatabaseTbl contains all the oaCMDatabaseRef database reference objects for a change set。

构造函数

_cms.oaCMDatabaseTbl()

obj = _cms.oaCMDatabaseTbl()

方法总览

状态 Python 调用
obj.find(database)
obj.onPassivate(ref)
obj.onActivate(ref)
obj.begin()
obj.end()

方法说明

obj.find(database)

绑定状态: 已绑定

Python 调用: obj.find(database)

This function returns a smart pointer to the oaCMDatabaseRef for the database。

参数

  • database: A pointer to the database for which to find the oaCMDatabaseRef 。

Python 示例

from oapy._oa import _cms

# assume obj is a oaCMDatabaseTbl
obj.find(database)

obj.onPassivate(ref)

绑定状态: 已绑定

Python 调用: obj.onPassivate(ref)

This function passivates (marks as invalid) the oaCMDatabaseRef in the table。

参数

  • ref: The oaCMDatabaseRef to passivate。

Python 示例

from oapy._oa import _cms

# assume obj is a oaCMDatabaseTbl
obj.onPassivate(ref)

obj.onActivate(ref)

绑定状态: 已绑定

Python 调用: obj.onActivate(ref)

This function activates (marks as valid) the oaCMDatabaseRef in the table。

参数

  • ref: The oaCMDatabaseRef to activate。

Python 示例

from oapy._oa import _cms

# assume obj is a oaCMDatabaseTbl
obj.onActivate(ref)

obj.begin()

绑定状态: 已绑定

Python 调用: obj.begin()

This function returns a constant iterator that points to the first entry in the table。

Python 示例

from oapy._oa import _cms

# assume obj is a oaCMDatabaseTbl
obj.begin()

obj.end()

绑定状态: 已绑定

Python 调用: obj.end()

This function returns a constant iterator that points beyond the last entry in the table。

Python 示例

from oapy._oa import _cms

# assume obj is a oaCMDatabaseTbl
obj.end()