I'm not sure if you seek local API or remote API. If local API ,you can use
ChildAssociationRef parentAssoc = nodeService.getPrimaryParent(child); /code> If remote API,you can use webscript <code> /alfresco/service/api/node/{store_type}/{store_id}/{id}/parents
I need a Java Class that connect to Alfresco with the below items
1. Upload File along with Meta Data public void uploadFile( ) {
}
2. Download File along with Meta Data public void downloadFile( ) {
}
3. Search File By Name public void SearchFileByName( ) {
}
4. Search File with Meta Data public void SearchFileWithMetaData( ) {
} 5. List GUIDs for Files matching the criteria public void listOfGuids( ) {
} 6. Search File by GUID
public void searchGuid( ) {
} …………………………….. I have implemented in the below class for uploading to Alfresco, i need similarly in different methods for the other items mentioned above, could you please help on this, ……………………………….. public class AlfrescoUtil {