Encapsulating content operations in actions
As you might suspect, a repository action is a piece of code that can be executed against a piece of content. Actions are discrete units of work. Then, you have Share action representing an action that you can do in Alfresco Share. Some of the out-of-the-box Share actions are Edit Online, Upload New Version, Edit Properties, Move to..., Copy to..., Start Workflow, or Delete Document.
Most of the out-of-the-box Share actions are not linked directly to a repository action, most of them are linked to the Alfresco repository via webscripts. In this chapter, we will focus only on repository actions, and rules that can be configured in the UI and allow you to execute repository actions based on some criteria. Share actions will be covered in Chapter 5, Customizing Alfresco Share.
In the last chapter, SomeCo created some metadata related to publishing Whitepapers on the Web. The sc:webable aspect included a flag to identify whether or not a piece of content...