I have a requirement where i want to capture an event which occurred in Alfresco in my java application . for e.g i select a particular folder from my Alfresco repository , i need to information of which folder i selected in my java application . Kindly help
Asked
Active
Viewed 119 times
1 Answers
1
You have the possibility to write a Java Behaviour that is triggered for some nodespecific events in the alfresco repository. For example if a node is created, a property is updated, an association is created etc. See http://wiki.alfresco.com/wiki/Services_Framework#Component_Policies
When the event is triggered you could write some code that notifies your application to do what you want.

billerby
- 1,977
- 12
- 22
-
What do i use to notify my java application about the occurred event ? – user3048258 Jan 03 '14 at 12:20
-
What type of application are we talking about? You could have some kind of messaging service, you could notify a REST-service or something similar. That depends on the architecture of your application. – billerby Jan 03 '14 at 14:13
-
I have created a rest webservice in java , i need to call the webservice from alfresco share page on the click of a button , how can i achieve it ? – user3048258 Jan 07 '14 at 10:08
-
On click of a button? Could you be a little more specific on the use case you have? What events do you need to capure in Alfresco? – billerby Jan 07 '14 at 14:25
-
I have an integration with Alfresco such that, i select a folder in Alfresco share and on the click of the button , i send the folderid of the folder selected back to my java application for uploading the document. – user3048258 Jan 08 '14 at 04:59