Package com.infoclinika.mssharing.web.controller.response

Examples of com.infoclinika.mssharing.web.controller.response.StartAttachmentUploadResponse


    @ResponseBody
    public StartAttachmentUploadResponse save(@RequestBody final StartAttachmentUploadRequest request, final Principal principal) {
        LOGGER.debug("Saving the metadata for the attachment: " + request);
        final long userId = getUserId(principal);
        final long attachmentId = attachmentManagement.newAttachment(userId, request.filename, request.sizeInBytes);
        return new StartAttachmentUploadResponse(request.filename, attachmentId);
    }
View Full Code Here


    @ResponseBody
    public StartAttachmentUploadResponse save(@RequestBody final StartAttachmentUploadRequest request, final Principal principal) {
        LOGGER.debug("Saving the metadata for the attachment: " + request);
        final long userId = getUserId(principal);
        final long attachmentId = attachmentManagement.newAttachment(userId, request.filename, request.sizeInBytes);
        return new StartAttachmentUploadResponse(request.filename, attachmentId);
    }
View Full Code Here

TOP

Related Classes of com.infoclinika.mssharing.web.controller.response.StartAttachmentUploadResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.