As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
behaviourFilter.disableBehaviour(nodeRef, ContentModel.ASPECT_AUDITABLE);
<bean id="myjscriptbean" parent="baseJavaScriptExtension" class="com.my.jscript"> <property name="extensionName"> <value>myjscript</value> </property> <property name="behaviourFilter" ref="policyBehaviourFilter" /> <!– you may inject other required services if you want –> </bean>