As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
How to get the limited number of document association for pagination purpose?
Is there way to get it using Java?
Please, don't duplicate your questions.
This was already replied in https://hub.alfresco.com/t5/alfresco-content-services-forum/get-the-count-of-association-for-a-document/m-p/310082#M25940
https://hub.alfresco.com/t5/alfresco-content-services-forum/get-the-count-of-association-for-a-document/m-p/310082#M25940
This is to get the count of association of the document.
Here I need to get the the limited association list for pagination purpose.
For ex, If there are 100 associations are there for a document, I need to get first 20 records, then next 20 and so on.
Is there a way to get this using Java?
I guess you can use NodeService.getSourceAssocs(...) method:
http://dev.alfresco.com/resource/AlfrescoOne/5.0/PublicAPI/org/alfresco/service/cmr/repository/NodeService.html