<type name="dt:a">
<title>Tipo A</title>
<parent>cm:content</parent>
<properties>
<property name="dt:x">
<title>X</title>
<description>X</description>
<type>d:text</type>
<mandatory>false</mandatory>
<default></default>
</property>
</properties>
</type>
<type name="dt:b">
<title>Tipo B</title>
<parent>cm:content</parent>
<properties>
<property name="dt:y">
<title>Y</title>
<description>Y</description>
<type>d:text</type>
<mandatory>false</mandatory>
<default></default>
</property>
</properties>
<associations>
<association name="dt:asociacionA">
<title>asociaciones del tipo A</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>dt:a</class>
<mandatory>false</mandatory>
<many>true</many>
</target>
</association>
</associations>
</type>
NodeServicePolicies.OnDeleteChildAssociationPolicy
para escuchar el evento de eliminación de la asociación entre "a1" y "b1". Si cuando se cumpla esa condición lanzas una excepción romperás la transaccionalidad y no te dejará realizar la eliminación de "a1".
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.