重置节点的缓存。

reset()

重置以下属性的缓存:

this.name = null;
this.type = null;
this.properties = null;
this.aspects = null;
this.targetAssocs = null;
this.sourceAssocs = null;
this.childAssocs = null;
this.children = null;
this.hasChildren = null;
this.parentAssocs = null;
this.displayPath = null;
this.qnamePath = null;
this.isDocument = null;
this.isContainer = null;
this.parent = null;
this.primaryParentAssoc = null;
this.activeWorkflows = null;
this.siteName = null;
this.siteNameResolved = false;

代码例

node.reset();
文档更新时间: 2019-01-11 15:59   作者:凌云文档