mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
[ACS-4886] Changed valdateTag method to validateNode in getTags() method in TagsImpl class
This commit is contained in:
@@ -255,8 +255,7 @@ public class TagsImpl implements Tags
|
|||||||
|
|
||||||
public CollectionWithPagingInfo<Tag> getTags(String nodeId, Parameters params)
|
public CollectionWithPagingInfo<Tag> getTags(String nodeId, Parameters params)
|
||||||
{
|
{
|
||||||
NodeRef nodeRef = validateTag(nodeId);
|
NodeRef nodeRef = nodes.validateNode(nodeId);
|
||||||
|
|
||||||
PagingResults<Pair<NodeRef, String>> results = taggingService.getTags(nodeRef, Util.getPagingRequest(params.getPaging()));
|
PagingResults<Pair<NodeRef, String>> results = taggingService.getTags(nodeRef, Util.getPagingRequest(params.getPaging()));
|
||||||
Integer totalItems = results.getTotalResultCount().getFirst();
|
Integer totalItems = results.getTotalResultCount().getFirst();
|
||||||
List<Pair<NodeRef, String>> page = results.getPage();
|
List<Pair<NodeRef, String>> page = results.getPage();
|
||||||
|
Reference in New Issue
Block a user