08-27-2008 06:28 AM
this.policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onContentRead"), ContentModel.ASPECT_AUDITABLE, new JavaBehaviour(this, "onContentRead", NotificationFrequency.TRANSACTION_COMMIT));
What happens is that this function is triggered every time a piece of content (with the auditable aspect) is read.this.policyComponent.bindClassBehaviour(QName.createQName(NamespaceService.ALFRESCO_URI, "onContentRead"), QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "cmobject"), new JavaBehaviour(this, "onContentRead", NotificationFrequency.EVERY_EVENT));
12-29-2016 02:58 AM
i have the same problem ,is it solve?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.