Package com.xwiki.diagram
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 TypeMethodDescriptionjavax.ws.rs.core.ResponsedeleteAttachments(String documentReference) Deletes the attachments associated with a diagram.
-
Method Details
-
deleteAttachments
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
-