Interface DiagramResources

All Superinterfaces:
org.xwiki.rest.XWikiRestComponent

public interface DiagramResources extends org.xwiki.rest.XWikiRestComponent
Provides the APIs needed by the Diagram application in order to delete the attachments.
Version:
$Id$
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    deleteAttachments(String documentReference)
    Deletes the attachments associated with a diagram.
  • Method Details

    • deleteAttachments

      javax.ws.rs.core.Response deleteAttachments(@Encoded String documentReference) throws Exception
      Deletes the attachments associated with a diagram.
      Parameters:
      documentReference -
      Returns:
      OK if the deletion was successfully finished, 405 if the user doesn't have rights or 500 for other errors.
      Throws:
      Exception