Binding logic to custom types with behaviors

So far, you've seen how to write code that works with custom content types, properties, aspects, and associations. But the code wasn't tightly coupled to the objects on which it operated. With an action, the business logic is triggered by something-an item in the user interface, a schedule, or a workflow-rather than being bound to the content type or aspect.

As you know, a repository action is a piece of code that can be performed against a node. You don't have one good way of implementing your project. Some argue that the best place to develop your business logic is within repository actions. It's a good approach because it means that you can trigger your action using a rule, via a webscript, or via ...

Get Alfresco One 5.x Developer's Guide - second edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.