Told you, we love sharing!
We had a case where we wanted two different applications (run by different users) to be able to read and write from the same file system. This is how we solved this problem: Create a group which these users will belong to :[shell]groupadd GROUP_NAME[/shell] Edit user1 and user2 to be a member of this group:[shell] usermod -a -G...
Hi, In one of our projects, we had a requirement for using some existing Business Process Management tool. JBPM is one such tool that we are evaluating. Our first step was to run a "Hello World" process from inside the grails application. On searching over the internet, I didn't find any helpful article/blog on integrating JBPM...
I recently came across a way in Groovy to define a class which can have dynamic getters and setters and properties can be added on the fly. The following code creates a class "MyExpandableClass" and defines two methods in the "getProperty and setProperty". If we define these two methods in a groovy class, then calls to any getter or...
Hi, Content can be written to the wcm repository by simply using the AVMService class. The instance of this service is available through the instance of ServiceRegistry class. I'll again point out that if you are starting with Java backed web-scripts to read/write content from/to alfresco wcm, then the example script at...
Retrieveing contents from Alfresco WCM repository constitutes of two things:- 1) Retrieving the contents of a particular file. 2) Retrieving a list of files from a particular location. We were to achieve this by using Java-backed web-scripts and the example script at...