Package org.alfresco.rest.api.nodes
Class NodeActionDefinitionsRelation
java.lang.Object
org.alfresco.rest.api.nodes.AbstractNodeRelation
org.alfresco.rest.api.nodes.NodeActionDefinitionsRelation
- All Implemented Interfaces:
RelationshipResourceAction.Read<ActionDefinition>,ResourceAction,org.springframework.beans.factory.InitializingBean
@RelationshipResource(name="action-definitions",
entityResource=NodesEntityResource.class,
title="Node action definitions")
public class NodeActionDefinitionsRelation
extends AbstractNodeRelation
implements RelationshipResourceAction.Read<ActionDefinition>
-
Field Summary
Fields inherited from class org.alfresco.rest.api.nodes.AbstractNodeRelation
dictionaryService, EXCLUDED_NS, namespaceService, nodes, nodeService, sr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreadAll(String entityResourceId, Parameters params) Reads set the relationship entities from the collection using the related entityResourceId.voidsetActions(Actions actions) Methods inherited from class org.alfresco.rest.api.nodes.AbstractNodeRelation
getAssocTypeFromWhereElseAll, listNodeChildAssocs, listNodePeerAssocs, listPage, setNodes, setServiceRegistry
-
Constructor Details
-
NodeActionDefinitionsRelation
public NodeActionDefinitionsRelation()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classAbstractNodeRelation
-
setActions
-
readAll
public CollectionWithPagingInfo<ActionDefinition> readAll(String entityResourceId, Parameters params) Description copied from interface:RelationshipResourceAction.ReadReads set the relationship entities from the collection using the related entityResourceId. Paging information is provided.- Specified by:
readAllin interfaceRelationshipResourceAction.Read<ActionDefinition>- Parameters:
entityResourceId- Entity resource context for this relationshipparams- - will never be null and will have the PAGING default values
-