Files
BeWoPlaner/ReportService/ServiceContracts/IReportService.cs

119 lines
4.8 KiB
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.ServiceModel;
using BeWo.Service.ServiceContracts;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
namespace ReportingService.ServiceContracts
{
[ServiceContract]
public interface IReportService
{
[FaultContract(typeof (BeWoFault))]
[OperationContract]
MemoryStream CreateKalenderReport(IEnumerable<long> appointmentOids, long? employeeOid, IEnumerable<SchedulerAppointmentDC> serientermine, IEnumerable<DateTime> selectedDates, IEnumerable<SchedulerAppointmentDC> mehrtaegigeTermine);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKassenbuchReport(DateTime zeitraum, BargeldkassenDC bargeldkasse, long objectOid, TableID objectTid);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKassenbuchReportImZeitraum(DateTime zeitraumStart, DateTime zeitraumEnde, BargeldkassenDC bargeldkasse, long objectOid, TableID objectTid);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKassenbelegReport(BargeldtransaktionDC transaktion, long objectOid, TableID objectTid);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
Dictionary<CompactEmployeeDC, decimal> GetMitarbeiterverfuegbarkeiten(List<CompactEmployeeDC> employees, DateTime startDate, DateTime endDate);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateServiceRecordListReport(long employeeOid, long customerOid, long supportConceptOid, long costbearer2SupportConceptOid, bool isLimited, DateTimeSpan limitingDateTimeSpan);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
string SendTimeSheetMail(TimeSheetStatusItemDC item, bool saveMailToDatabase);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateCustomReport(long employeeOid, string reportName);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKilometerauswertung(long customerOid, DateTime range);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKilometerauswertungForAllCustomers(List<long> customerOids, DateTime rangeDate);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
bool CheckForAnyServiceRecordsWithDistanceValues(List<long> customerOids, DateTimeSpan span);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateEmployeeKilometerauswertung(long employeeOid, DateTime range);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKilometerauswertungForAllEmployees(List<long> employeeOids, DateTime rangeDate);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKilometerauswertungForAllCustomersForWebVersion(List<long> customerOids, DateTime rangeDate, string tenant);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateMedikamentenlistenReport(long mvlOid, string tenant);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateKalenderReportWithAbsenceTimes(IEnumerable<long> appointmentOids, long? employeeOid, IEnumerable<SchedulerAppointmentDC> serientermine, IEnumerable<DateTime> selectedDates, IEnumerable<SchedulerAppointmentDC> mehrtaegigeTermine, List<long> absenceTimeOids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateInvoiceListReport(List<long> invoiceBaseOids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateCustomerListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateSupportConceptListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreatePersonListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateEmployeeListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateOrganisationListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateTeamListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateUserListReport(List<long> oids);
[FaultContract(typeof(BeWoFault))]
[OperationContract]
MemoryStream CreateUserGroupListReport(List<long> oids);
}
}