mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Added the notion of actions only being applicable for certain node types
- 'Run Action' is now available on folder details page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
*/
|
||||
package org.alfresco.service.cmr.action;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.alfresco.service.namespace.QName;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@@ -25,5 +29,10 @@ package org.alfresco.service.cmr.action;
|
||||
*/
|
||||
public interface ActionDefinition extends ParameterizedItemDefinition
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets a list of the types that this action item is applicable for
|
||||
*
|
||||
* @return list of types
|
||||
*/
|
||||
public List<QName> getApplicableTypes();
|
||||
}
|
||||
|
@@ -43,6 +43,15 @@ public interface ActionService
|
||||
* @return the list action definitions
|
||||
*/
|
||||
List<ActionDefinition> getActionDefinitions();
|
||||
|
||||
/**
|
||||
* Get all the action definitions that are applicable for the given node, based on
|
||||
* its type and aspects.
|
||||
*
|
||||
* @param nodeRef the node reference
|
||||
* @return a list of applicable action definitions
|
||||
*/
|
||||
List<ActionDefinition> getActionDefinitions(NodeRef nodeRef);
|
||||
|
||||
/**
|
||||
* Get a named action condition definition
|
||||
|
Reference in New Issue
Block a user