Source

main / Source / WebClient / Web.BizLogic / Services / Interfaces / IDocumentService.cs

Full commit
Naethra D 3ee1b94 































using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataUp.Web.DataLayer;
using System.Collections.ObjectModel;

namespace DataUp.Web.BizLogic
{
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IDocumentService
    {
        Collection<DocumentDetail> GetDocuments(int userId);

        DocumentDetail GetDocument(int documentId, int userId);
        
        OperationStatus DeleteDocument(int documentId, int userId);

        DataDetail DownloadDocument(int documentId, int userId);

        DataDetail DownloadDocumentForPost(int documentId, int userId);

        MetadataDetailList GetMetadata(int documentId, int userId);

        OperationStatus SaveDocument(DocumentDetail documentDetail);

        OperationStatus SaveDocument(DocumentDetail documentDetail, MetadataDetailList metadataList);
    }
}