<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How correctly override IntegrityChecker? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-correctly-override-integritychecker/m-p/110330#M30879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faced a problem in which memory is being filled while adding an association. And I need to override the method in the class AssocSourceMultiplicityIntegrityEvent.&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9,0pt;"&gt;List&amp;lt;AssociationRef&amp;gt; sourceAssocRefs = &lt;SPAN style="color: #9876aa;"&gt;nodeService&lt;/SPAN&gt;.getSourceAssocs(targetNodeRef&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;assocTypeQName)&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The line above may have a result of one million entries, but for conditions only 2 entries are needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the help of mybatis, I created a sql query that satisfies the conditions, and now I need to replace the string in the AssocSourceMultiplicityIntegrityEvent class. But for this I need to create my own IntegrityChecker, because it cannot be inherited correctly from it. Are there other methods to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfresco Repository 5.2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jul 2019 17:51:29 GMT</pubDate>
    <dc:creator>ildar</dc:creator>
    <dc:date>2019-07-15T17:51:29Z</dc:date>
    <item>
      <title>How correctly override IntegrityChecker?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-correctly-override-integritychecker/m-p/110330#M30879</link>
      <description>Faced a problem in which memory is being filled while adding an association. And I need to override the method in the class AssocSourceMultiplicityIntegrityEvent.List&amp;lt;AssociationRef&amp;gt; sourceAssocRefs = nodeService.getSourceAssocs(targetNodeRef, assocTypeQName);The line above may have a result o</description>
      <pubDate>Mon, 15 Jul 2019 17:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-correctly-override-integritychecker/m-p/110330#M30879</guid>
      <dc:creator>ildar</dc:creator>
      <dc:date>2019-07-15T17:51:29Z</dc:date>
    </item>
  </channel>
</rss>

