oaDestroyObjectChangeRec
模块: oapy._oa._cms
导入: from oapy._oa import _cms
概览
oaDestroyObjectChangeRec 在 oapy 中可用,可通过 _cms 模块访问。
本页汇总 oaDestroyObjectChangeRec 当前在 oapy 中可用的 Python 接口。
详细说明
The oaDestroyObjectChangeRec class represents a change record that captures information related to the destruction of an object。 变更记录由 OpenAccess 变更管理系统(CMS)使用。
构造函数
_cms.oaDestroyObjectChangeRec(changeSetIn, objectRefIn)
obj = _cms.oaDestroyObjectChangeRec(changeSetIn, objectRefIn)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.isDestroyObjectChangeRec() |
| ✅ | obj.accept(visitor, forward=true) |
方法说明
obj.isDestroyObjectChangeRec()
绑定状态: 已绑定
Python 调用: obj.isDestroyObjectChangeRec()
This function always returns true to indicate that this change record represents the destruction of an object。 从 oaChangeRec 重新实现。
Python 示例
from oapy._oa import _cms
# assume obj is a oaDestroyObjectChangeRec
obj.isDestroyObjectChangeRec()
obj.accept(visitor, forward=true)
绑定状态: 已绑定
Python 调用: obj.accept(visitor, forward=true)
This function accepts a change record visitor。 It calls the visit function of the specified visitor on this object。 The forward parameter indicates the direction in which the change records are being visited。 The forward parameter might be set to false if the goal of the visit is to roll back changes due to an undo command。 实现 oaChangeRec。
参数
visitor: A pointer to the change record visitor to call on this object。forward: Specifies the direction in which change records are being visited。
Python 示例
from oapy._oa import _cms
# assume obj is a oaDestroyObjectChangeRec
obj.accept(visitor, forward=true)