class UploadedDocumentServiceImpl implements UploadedDocumentService,
                                                    Serializable {

    @Override
    public void removeContent(String id) {
        DocumentUploadSession session = uploadSessions.remove(id);

        if (session != null) {
            session.setState(DocumentUploadSession.State.ABORTED);
            storage.removeContent(id);
        } else {
            storage.removeContent(id);
        }
    }

    @Inject public  UploadedDocumentServiceImpl(UploadedDocumentStorage storage);

}