2016-08-23 40 views
0

在原始contentModel.xml文件,我看到有一個名爲cm:subscribable一個方面: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> 

我想知道它是什麼做的/用,因爲我沒有找到足夠的信息in the documentation。 Alfresco中是否存在使用它的現有函數?或者這僅僅是一個方面,讓「有人想要開發一個可表達的函數」。

回答

1

挖了一點之後,它看起來像是我們訂閱/關注共享中的用戶時使用的。

看着Subscription service和現有的webscripts幫助我理解了這一點。