Package com.xwiki.diagram
Interface DiagramResources
-
- All Superinterfaces:
org.xwiki.rest.XWikiRestComponent
public interface DiagramResources extends org.xwiki.rest.XWikiRestComponentProvides the APIs needed by the Diagram application in order to delete the attachments.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.ResponsedeleteAttachments(String documentReference)Deletes the attachments associated with a diagram.
-
-
-
Method Detail
-
deleteAttachments
javax.ws.rs.core.Response deleteAttachments(@Encoded String documentReference) throws ExceptionDeletes 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
-
-