ResourceToolAction defines the way in which actions are described in a resource-type registration.
Each action should have its own ResourceToolAction defined in the registration.
If the action requires user interaction by a helper, the resource-type registration should include
an action definition that implements the InteractionAction interface.
If an action requires action by another webapp but does not involve user interaction (i.e. it does
not delegate the user interaction to a helper), the resource-type registration should include an
action definition that implements the ServiceLevelAction interface.
Most actions for new resources types are likely to be similar to familiar actions on resources (e.g.
"create", "revise", "delete", etc) and permissions for these actions are handled by the Content Hosting
Service. If an action requires custom permissions, the definition of that action implements the
CustomToolAction interface to provide a way for the Resources tool to determine whether to show
the action as an option in a particular context to a particular user.
A ResourceToolAction deinition should implement at least one of those subinterfaces, and it may
implement all three. If a ResourceToolAction implements both InteractionAction and ServiceLevelAction,
the activity of the helper defined by InteractionAction will occur before the service-level activity
defined by ServiceLevelAction.
See Also:org.sakaiproject.content.api.ResourceType
PREFIX Prefix for all keys to Tool Session attributes used in messaging between ResourcesAction and
helpers related to registered resource tool actions.
Prefix for all keys to Tool Session attributes used in messaging between ResourcesAction and
helpers related to registered resource tool actions. Removing all attributes whose keys begin
with this prefix cleans up the tool session after a helper completes its work.
ResourcesAction will cleanup tool session.
Access a very short localized string that will be used as a label for this action in the user interface.
If string is longer than about 20 characters, it may be truncated. Shorter strings (less than 10 characters)
are preferred. If this method returns null, the Resources tool will assign a label based on the ActionType.