Interface ActionsDefineable

  • All Superinterfaces:
    ActionsExecutable, EntityProvider
    All Known Subinterfaces:
    ActionsExecutionControllable

    public interface ActionsDefineable
    extends ActionsExecutable
    This entity supports custom actions (as defined by RoR and REST microformat: http://microformats.org/wiki/rest/urls)
    This is the more controllable version, use ActionsExecutable if you want to use the conventions and allow the system to detect your custom actions based on method names and annotations
    This means that there are custom actions which can be invoked on entities or entity spaces, custom actions can augment the current entity operation or they can completely change the behavior and skip the current operation entirely
    You can create methods in your entity provider which either end with "CustomAction" or use the EntityCustomAction suffix to define the custom actions
    You can describe the actions using the Describeable key: .action. = description
    If you want more control then you can use ActionsExecutionControllable
    Author:
    Aaron Zeckoski (azeckoski @ gmail.com)