cm:subscribable 是做什么用的?
What's cm:subscribable made for?
在原始 contentModel.xml
文件中,我看到有一个方面叫做 cm:subscribable
:
<aspect name="cm:subscribable">
<associations>
<association name="cm:subscribedBy">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
我想知道它是用来做什么的 for/used,因为我没有找到足够的信息 in the documentation。
Alfresco 中是否有使用它的现有功能,或者这只是一个方面 "in case" 有人想开发一个 suscribable 功能?
稍微挖掘了一下,好像是我们subscribe/follow一个用户分享的时候用的。
观看 Subscription service 和现有的网络脚本帮助我理解了这一点。
在原始 contentModel.xml
文件中,我看到有一个方面叫做 cm:subscribable
:
<aspect name="cm:subscribable">
<associations>
<association name="cm:subscribedBy">
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</aspect>
我想知道它是用来做什么的 for/used,因为我没有找到足够的信息 in the documentation。 Alfresco 中是否有使用它的现有功能,或者这只是一个方面 "in case" 有人想开发一个 suscribable 功能?
稍微挖掘了一下,好像是我们subscribe/follow一个用户分享的时候用的。
观看 Subscription service 和现有的网络脚本帮助我理解了这一点。