Interface JCRDeleteFileStorage


public interface JCRDeleteFileStorage
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteDocument(String documentPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity acIdentity, long userIdentityId)
    Delete document (Move to trash)
    void
    deleteDocument(javax.jcr.Session session, String folderPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity identity, long userIdentityId)
    Delete document (Move to trash)
    void
    deleteDocuments(int actionId, List<AbstractNode> items, org.exoplatform.services.security.Identity identity, long authenticatedUserId)
    Delete a list of document (Move to trash)
     
    void
    undoDelete(String documentId, long userIdentityId)
    Undo delete document
  • Method Details

    • getDocumentsToDelete

      Map<String,String> getDocumentsToDelete()
    • deleteDocument

      void deleteDocument(String documentPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity acIdentity, long userIdentityId)
      Delete document (Move to trash)
      Parameters:
      documentPath -
      documentId -
      favorite -
      checkToMoveToTrash -
      delay -
      acIdentity -
      userIdentityId -
    • undoDelete

      void undoDelete(String documentId, long userIdentityId)
      Undo delete document
      Parameters:
      documentId -
      userIdentityId -
    • deleteDocument

      void deleteDocument(javax.jcr.Session session, String folderPath, String documentId, boolean favorite, boolean checkToMoveToTrash, long delay, org.exoplatform.services.security.Identity identity, long userIdentityId) throws org.exoplatform.commons.exception.ObjectNotFoundException, javax.jcr.RepositoryException
      Delete document (Move to trash)
      Parameters:
      session - current session
      folderPath - folder path
      documentId - document id
      favorite - favorite or not
      checkToMoveToTrash - check whether to move to trash
      delay - waiting delay
      identity - user identity
      userIdentityId - user identity id
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      javax.jcr.RepositoryException
    • deleteDocuments

      void deleteDocuments(int actionId, List<AbstractNode> items, org.exoplatform.services.security.Identity identity, long authenticatedUserId)
      Delete a list of document (Move to trash)
      Parameters:
      actionId - action id
      items - list of items to delete
      identity - user identity
      authenticatedUserId - current authenticated user id