mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Revert "Revert "Merge branch 'merge-2.6/RM-5132_AutomationChanges' into 'release/V2.6'""
This reverts commit 2437ff415c
.
This commit is contained in:
@@ -350,4 +350,17 @@ public class RecordsAPI extends BaseAPI
|
|||||||
return doPostJsonRequest(user, password, SC_OK, requestParams, ACTIONS_API);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user