Class UserTrashcanAPI

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

@Component public class UserTrashcanAPI extends BaseAPI
Helper methods for performing actions on user trashcan
Since:
2.6
Author:
Oana Nechiforescu
  • Constructor Details

    • UserTrashcanAPI

      public UserTrashcanAPI()
  • Method Details

    • emptyTrashcan

      public void emptyTrashcan(String username, String password)
      Clears the trashcan for the current user
      Parameters:
      username - the username
      password - the password
      Throws:
      AssertionError - if emptying the trashcan fails.