From dc2c1d9aee3e8f8951af719b662a1853a5e394b7 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Tue, 5 Dec 2017 14:36:38 +0000 Subject: [PATCH] Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'" This reverts commit f8b9e86bcb0e45ed1c3077ebfdb8f1412fc087d8, reversing changes made to d8da2251e61a27ae4b86ce3b5ddd8734d0a510dc. --- .../main/java/org/alfresco/rest/v0/RecordsAPI.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/RecordsAPI.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/RecordsAPI.java index d587af580f..32ae42221e 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/RecordsAPI.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/v0/RecordsAPI.java @@ -350,17 +350,4 @@ public class RecordsAPI extends BaseAPI return doPostJsonRequest(user, password, SC_OK, requestParams, ACTIONS_API); } - /** - * Retrieves the record's nodeRef - * - * @param username the user's username - * @param password its password - * @param recordName the record full name - * @param recordPath the String with which the record name starts - * @return the record nodeRef in case it exists, empty string otherwise - */ - public String getRecordNodeRef(String username, String password, String recordName, String recordPath) - { - return getNodeRefSpacesStore() + getItemNodeRef(username, password, recordPath + "/" + recordName); - } }