Constraints
<constraint id="architecture:NoFacadeWithoutTransactional">
<requiresConcept refId="architecture:Facade" />
<description>Facade methods should me marked as transactional.
</description>
<cypher><![CDATA[
MATCH
(c:Facade:Interface)-[:DECLARES]->(m:Method { visibility: 'public' })
WHERE
NOT (m:Method:Spring:Transactional)
AND NOT (m:Constructor)
RETURN
c.name as class,
m.name as method
]]></cypher>
</constraint>Last updated