Class RecordFoldersAPI

java.lang.Object
org.alfresco.rest.core.v0.BaseAPI
org.alfresco.rest.v0.RecordFoldersAPI

@Component public class RecordFoldersAPI extends BaseAPI
Methods to make API requests using v0 API on records folders
Since:
2.5
Author:
Oana Nechiforescu
  • Constructor Details

    • RecordFoldersAPI

      public RecordFoldersAPI()
  • Method Details

    • closeRecordFolder

      public org.apache.http.HttpResponse closeRecordFolder(String user, String password, String recordFolder)
      Close the record folder
      Parameters:
      user - the user closing the folder
      password - the user's password
      recordFolder - the record folder name
      Returns:
      The HTTP Response (or null if the response could not be understood).
    • postFolderAction

      public org.apache.http.HttpResponse postFolderAction(String user, String password, org.json.JSONObject requestParams, String recordFolder)
    • postRecordAction

      public org.apache.http.HttpResponse postRecordAction(String user, String password, org.json.JSONObject requestParams, String recordId)
    • reOpenRecordFolder

      public org.apache.http.HttpResponse reOpenRecordFolder(String user, String password, String recordFolder)