Merge branch 'feature_rene_17_xrechnung'

# Conflicts:
#	Data/Data.csproj
#	Data/Entities/InvoiceBase.cs
#	Host/Web.Secrets.config.template
#	Host/Web.config
#	Service/ServiceBehavior/AdminServiceMessageInspector.cs
#	Service/ServiceContracts/IAdminService.cs
#	Shared/BeWoEntityEnums.cs
#	Shared/DataContracts/InvoiceBaseDC.cs
This commit is contained in:
2025-09-27 19:32:20 +02:00
224 changed files with 16755 additions and 13115 deletions

View File

@@ -98,7 +98,22 @@
<Compile Include="Converter\AddressToStringConverter.cs" />
<Compile Include="Converter\NewlineConverter.cs" />
<Compile Include="Core\Commands\CommandFactory.cs" />
<Compile Include="ServiceProxy\GeneratedAccountingEnhancedService.cs" />
<Compile Include="ServiceProxy\GeneratedAccountingService.cs" />
<Compile Include="ServiceProxy\GeneratedAiEnhancedService.cs" />
<Compile Include="ServiceProxy\GeneratedAnalysisService.cs" />
<Compile Include="ServiceProxy\GeneratedCustomerService.cs" />
<Compile Include="ServiceProxy\GeneratedDownloadService.cs" />
<Compile Include="ServiceProxy\GeneratedEmployeeService.cs" />
<Compile Include="ServiceProxy\GeneratedGkvAccountingService.cs" />
<Compile Include="ServiceProxy\GeneratedMailService.cs" />
<Compile Include="ServiceProxy\GeneratedOperationsService.cs" />
<Compile Include="ServiceProxy\GeneratedQueryService.cs" />
<Compile Include="ServiceProxy\GeneratedReportService.cs" />
<Compile Include="ServiceProxy\GeneratedResourceService.cs" />
<Compile Include="ServiceProxy\GeneratedStreamingService.cs" />
<Compile Include="ServiceProxy\GeneratedUserService.cs" />
<Compile Include="ServiceProxy\GeneratedValueListService.cs" />
<Compile Include="Services\BeWoControlFactory.cs" />
<Compile Include="Services\BeWoWindowFactory.cs" />
<Compile Include="Services\BeWoWindowService.cs" />
@@ -107,6 +122,7 @@
<Compile Include="Services\IWindowService.cs" />
<Compile Include="ViewModel\AddressVM.cs" />
<Compile Include="ViewModel\AiConfigVM.cs" />
<Compile Include="ViewModel\StoredFileVM.cs" />
<Compile Include="View\Detail\AI\AiConfigView.xaml.cs">
<DependentUpon>AiConfigView.xaml</DependentUpon>
</Compile>
@@ -156,6 +172,7 @@
<Reference Include="DevExpress.Xpf.Grid.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.Layout.v23.2.Core, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.LayoutControl.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.PdfViewer.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.PivotGrid.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.Controls.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Xpf.Printing.v23.2, Version=23.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
@@ -445,6 +462,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="View\Controls\PdfViewer.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\Controls\Utils\ColorPicker.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
@@ -1386,6 +1407,9 @@
<Compile Include="View\Controls\CustomerVermittlungArbeitControl.xaml.cs">
<DependentUpon>CustomerVermittlungArbeitControl.xaml</DependentUpon>
</Compile>
<Compile Include="View\Controls\PdfViewer.xaml.cs">
<DependentUpon>PdfViewer.xaml</DependentUpon>
</Compile>
<Compile Include="View\Controls\Utils\ColorPicker.xaml.cs">
<DependentUpon>ColorPicker.xaml</DependentUpon>
</Compile>
@@ -2439,7 +2463,6 @@
<Compile Include="Validation\ValidationAttribute.cs" />
<Compile Include="Validation\ValidationRules.cs" />
<Compile Include="Validation\ValidationTrigger.cs" />
<Compile Include="ServiceProxy\Generated.cs" />
<Compile Include="ViewModel\AccountingBookingVM.cs" />
<Compile Include="ViewModel\AccountingTransactionVM.cs" />
<Compile Include="ViewModel\AssessmentSheetCategoryVM.cs" />
@@ -2859,6 +2882,27 @@
</None>
<None Include="Properties\app.manifest" />
<AppDesigner Include="Properties\" />
<None Include="Scripts\AccountingEnhancedService.bat" />
<None Include="Scripts\AccountingService.bat" />
<None Include="Scripts\AiEnhancedService.bat" />
<None Include="Scripts\AnalysisService.bat" />
<None Include="Scripts\CustomerService.bat" />
<None Include="Scripts\DownloadService.bat" />
<None Include="Scripts\EmployeeService.bat" />
<None Include="Scripts\GkvAccountingService.bat" />
<None Include="Scripts\MailService.bat" />
<None Include="Scripts\OperationsEnhancedService.bat" />
<None Include="Scripts\OperationsService.bat" />
<None Include="Scripts\QueryService.bat" />
<None Include="Scripts\ReportService.bat" />
<None Include="Scripts\ResourceService.bat" />
<None Include="Scripts\src\create.bat" />
<None Include="Scripts\src\svcutils_service.bat" />
<None Include="Scripts\StreamingService.bat" />
<None Include="Scripts\UserService.bat" />
<None Include="Scripts\ValueListService.bat" />
<None Include="ServiceReferences_fast.bat" />
<None Include="ServiceReferences_track.bat" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
@@ -2906,9 +2950,6 @@
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="ServiceReferences.bat" />
</ItemGroup>
<ItemGroup>
<Resource Include="Ressources\Icons\16_bulleted_list.png" />
</ItemGroup>
@@ -3521,6 +3562,28 @@
<Folder Include="Scripts\" />
<Folder Include="View\Controls\Popup\" />
</ItemGroup>
<ItemGroup>
<Resource Include="Scripts\log\AccountingEnhancedService.log.txt" />
<Resource Include="Scripts\log\AccountingService.log.txt" />
<Resource Include="Scripts\log\AiEnhancedService.log.txt" />
<Resource Include="Scripts\log\AnalysisService.log.txt" />
<Resource Include="Scripts\log\CustomerService.log.txt" />
<Resource Include="Scripts\log\DownloadService.log.txt" />
<Resource Include="Scripts\log\EmployeeService.log.txt" />
<Resource Include="Scripts\log\GkvAccountingService.log.txt" />
<Resource Include="Scripts\log\MailService.log.txt" />
<Resource Include="Scripts\log\OperationsEnhancedService.log.txt" />
<Resource Include="Scripts\log\OperationsService.log.txt" />
<Resource Include="Scripts\log\QueryService.log.txt" />
<Resource Include="Scripts\log\ReportService.log.txt" />
<Resource Include="Scripts\log\ResourceService.log.txt" />
<Resource Include="Scripts\log\StreamingService.log.txt" />
<Resource Include="Scripts\log\UserService.log.txt" />
<Resource Include="Scripts\log\ValueListService.log.txt" />
</ItemGroup>
<ItemGroup>
<Content Include="Scripts\src\SvcUtil.exe" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>

View File

@@ -1054,6 +1054,11 @@ namespace BeWo
MessageBox.Show(message, "Information", MessageBoxButton.OK, MessageBoxImage.Exclamation);
}
public static void ShowErrorMessage(string message)
{
MessageBox.Show(message, "Fehler", MessageBoxButton.OK, MessageBoxImage.Warning);
}
public static void ShowErrorMessage(Exception e)
{
if (e is FaultException<BeWoFault>)

View File

@@ -64,6 +64,7 @@ using DevExpress.Xpf.Scheduling;
using CommandBarStyle = DevExpress.Xpf.DocumentViewer.CommandBarStyle;
using ImageSource = System.Windows.Media.ImageSource;
using BS.Shared.Translation;
using BeWo.View.Windows;
namespace BeWo.Core
{
@@ -285,7 +286,7 @@ namespace BeWo.Core
return navigateUri.Split('?')[0] + "?" + uriValues;
}
private static string RefreshNavigateUriString(string navigateUri)
public static string RefreshNavigateUriString(string navigateUri)
{
if (navigateUri.Contains("tenant"))
navigateUri = RemoveAuthenticationInfoFromUri(navigateUri);

View File

@@ -11,6 +11,7 @@ namespace BeWo
FeatureWohnheimWohneinheit,
FeatureAuswertungenQuittierungsbelege,
FeatureDakota,
FeatureXRechnung,
FeatureAiModule
}
@@ -153,6 +154,19 @@ namespace BeWo
EnableAutoRemoteDebugging = true
});
name2config.Add("FeatureXRechnung",
new DebugConfig()
{
DebugConfigMode = DebugConfigMode.FeatureXRechnung,
AutoLogin = true,
SelectView = UIContext.Finance,
SelectIndex = 7,
//DefaultLoginUsername = "m1",
//DefaultLoginPassword = "bewobewo",
//DefaultProfilename = "5000000000",
EnableAutoRemoteDebugging = true
});
return name2config;
}
#endif

View File

@@ -32,6 +32,7 @@ using BeWo.View.Detail;
using BS.Shared.Translation;
using Path = System.IO.Path;
using System.Linq;
using BS.Shared.Core;
namespace BeWo
{

View File

@@ -1 +0,0 @@
svcutil.exe /noConfig /async /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated2.cs /ct:System.Collections.Generic.List`1 http://christian-nb/Host/QueryService.svc?wsdl

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -1,33 +0,0 @@
..\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\GeneratedAiEnhancedService.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/AiEnhancedService.svc?wsdl
@echo off
setlocal EnableDelayedExpansion
set "input=..\ServiceProxy\GeneratedAiEnhancedService.cs"
set "output=temp.txt"
set /a start=12
set /a end=162
set /a line=0
REM Zeilen zählen
set /a total=0
for /f "usebackq delims=" %%A in ("%input%") do (
set /a total+=1
)
REM Nur löschen, wenn genug Zeilen vorhanden
if %total% leq %end% (
echo Datei hat nur %total% Zeilen nichts wird gelöscht.
copy /y "%input%" "%input2%"
goto :eof
)
> "%output%" (
for /f "usebackq delims=" %%A in ("%input%") do (
set /a line+=1
if !line! lss %start% echo(%%A
if !line! gtr %end% echo(%%A
)
)
move /y "%output%" "%input%"

View File

@@ -1,23 +0,0 @@
@echo off
REM Diese Batch-Datei führt eine andere Batch-Datei aus und schreibt das Ergebnis in eine Log-Datei
REM Pfad zur anderen Batch-Datei
set "SCRIPT_PATH=ServiceReferences_AiEnhancedService.bat"
REM Pfad zur Log-Datei
set "LOG_FILE=ServiceReferences_AiEnhancedService_Log.log.txt"
REM Leere die Log-Datei vor dem Start
echo. > %LOG_FILE%
REM Führe die andere Batch-Datei aus und leite die Ausgabe in die Log-Datei um
call %SCRIPT_PATH% >> %LOG_FILE% 2>&1
REM Überprüfe, ob die Ausführung erfolgreich war
if %errorlevel% equ 0 (
echo Die Ausführung von %SCRIPT_PATH% war erfolgreich. >> %LOG_FILE%
) else (
echo Die Ausführung von %SCRIPT_PATH% ist fehlgeschlagen. >> %LOG_FILE%
)
echo Log wurde in %LOG_FILE% geschrieben.

View File

@@ -1,33 +0,0 @@
..\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\GeneratedOperationsEnhancedService.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/OperationsEnhancedService.svc?wsdl
@echo off
setlocal EnableDelayedExpansion
set "input=..\ServiceProxy\GeneratedOperationsEnhancedService.cs"
set "output=temp.txt"
set /a start=12
set /a end=162
set /a line=0
REM Zeilen zählen
set /a total=0
for /f "usebackq delims=" %%A in ("%input%") do (
set /a total+=1
)
REM Nur löschen, wenn genug Zeilen vorhanden
if %total% leq %end% (
echo Datei hat nur %total% Zeilen nichts wird gelöscht.
copy /y "%input%" "%input2%"
goto :eof
)
> "%output%" (
for /f "usebackq delims=" %%A in ("%input%") do (
set /a line+=1
if !line! lss %start% echo(%%A
if !line! gtr %end% echo(%%A
)
)
move /y "%output%" "%input%"

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -0,0 +1 @@
call src/create.bat %~n0

View File

@@ -1,6 +0,0 @@
<types>
<sharedType>
<name>BeWoFault</name>
<namespace>BeWo.ServiceProxy</namespace>
</sharedType>
</types>

View File

@@ -2,16 +2,23 @@
REM Diese Batch-Datei führt eine andere Batch-Datei aus und schreibt das Ergebnis in eine Log-Datei
REM Pfad zur anderen Batch-Datei
set "SCRIPT_PATH=ServiceReferences_OperationsEnhancedService.bat"
REM set "SCRIPT_PATH=src/ServiceReferences_AccountingEnhancedService.bat"
REM Pfad zur Log-Datei
set "LOG_FILE=ServiceReferences_OperationsEnhancedService_Log.log.txt"
REM set "LOG_FILE=log/ServiceReferences_AccountingEnhancedService.log.txt"
REM Argumente zuweisen
set "SCRIPT_PATH=src/svcutils_service.bat"
set "LOG_FILE=log/%~1.log.txt"
REM Erstelle Log-Pfad falls nicht vorhanden
if not exist "log" mkdir log
REM Leere die Log-Datei vor dem Start
echo. > %LOG_FILE%
REM Führe die andere Batch-Datei aus und leite die Ausgabe in die Log-Datei um
call %SCRIPT_PATH% >> %LOG_FILE% 2>&1
call %SCRIPT_PATH% %~1 >> %LOG_FILE% 2>&1
REM Überprüfe, ob die Ausführung erfolgreich war
if %errorlevel% equ 0 (

View File

@@ -0,0 +1 @@
src\svcutil.exe /noConfig /noLogo /edb /n:*,BeWo.ServiceProxy /out:..\ServiceProxy\Generated%1.cs /ct:System.Collections.Generic.List`1 /r:..\..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/%1.svc?wsdl

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,64 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IAccountingEnhancedService")]
public interface IAccountingEnhancedService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingEnhancedService/GetXRechnung", ReplyAction="http://tempuri.org/IAccountingEnhancedService/GetXRechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingEnhancedService/GetXRechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.MikePHPContracts.ApiResponse<System.Tuple<BS.Shared.DataContracts.StoredFileDC, byte[]>> GetXRechnung(long invoice_base_oid, int report_type, string report_url);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IAccountingEnhancedServiceChannel : BeWo.ServiceProxy.IAccountingEnhancedService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class AccountingEnhancedServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IAccountingEnhancedService>, BeWo.ServiceProxy.IAccountingEnhancedService
{
public AccountingEnhancedServiceClient()
{
}
public AccountingEnhancedServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public AccountingEnhancedServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AccountingEnhancedServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AccountingEnhancedServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public BS.Shared.DataContracts.MikePHPContracts.ApiResponse<System.Tuple<BS.Shared.DataContracts.StoredFileDC, byte[]>> GetXRechnung(long invoice_base_oid, int report_type, string report_url)
{
return base.Channel.GetXRechnung(invoice_base_oid, report_type, report_url);
}
}
}

View File

@@ -0,0 +1,359 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IAccountingService")]
public interface IAccountingService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/DeactivateInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/DeactivateInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/DeactivateInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/DeactivateServiceInvoices", ReplyAction="http://tempuri.org/IAccountingService/DeactivateServiceInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/DeactivateServiceInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/DeactivateSettlementInvoice", ReplyAction="http://tempuri.org/IAccountingService/DeactivateSettlementInvoiceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/DeactivateSettlementInvoiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GenerateInitialServiceInvoices", ReplyAction="http://tempuri.org/IAccountingService/GenerateInitialServiceInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GenerateInitialServiceInvoicesBeWoFaultFaul" +
"t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> GenerateInitialServiceInvoices(long costBearerOid, System.Nullable<long> supportConceptOid, BS.Shared.Core.DateTimeSpan invoicePeriod);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetAllActiveInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/GetAllActiveInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetAllActiveInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetAllActiveInvoiceBases();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/GetInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBases(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetInvoiceBases2", ReplyAction="http://tempuri.org/IAccountingService/GetInvoiceBases2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetInvoiceBases2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBases2(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool filterByInvoiceDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndId", ReplyAction="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndIdResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndIdBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForCostBearerAndId(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, long costBearerOid, string invoiceId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndIdAndIsUsed", ReplyAction="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndIdAndIsUsedR" +
"esponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForCostBearerAndIdAndIsUsedB" +
"eWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForCostBearerAndIdAndIsUsed(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, long costBearerOid, string invoiceId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForCustomer", ReplyAction="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForCustomerBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForCustomer(long customerOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForOrganisation", ReplyAction="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForOrganisationRespon" +
"se")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForOrganisationBeWoFa" +
"ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForOrganisation(long organisationOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForPerson", ReplyAction="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForPersonResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetGeneralInvoiceBasesForPersonBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForPerson(long personOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForSupportConcept", ReplyAction="http://tempuri.org/IAccountingService/GetInvoiceBasesForSupportConceptResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetInvoiceBasesForSupportConceptBeWoFaultFa" +
"ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForSupportConcept(BS.Shared.InvoiceType type, long supportConceptOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetServiceInvoiceByInvoiceBaseOid", ReplyAction="http://tempuri.org/IAccountingService/GetServiceInvoiceByInvoiceBaseOidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetServiceInvoiceByInvoiceBaseOidBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.ServiceInvoiceDC GetServiceInvoiceByInvoiceBaseOid(long invoiceBaseOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetServiceInvoices", ReplyAction="http://tempuri.org/IAccountingService/GetServiceInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetServiceInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> GetServiceInvoices(long costBearerOid, System.Nullable<long> supportConceptOid, BS.Shared.Core.DateTimeSpan period);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetSettlementByInvoiceBaseOid", ReplyAction="http://tempuri.org/IAccountingService/GetSettlementByInvoiceBaseOidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetSettlementByInvoiceBaseOidBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Settlement2DC GetSettlementByInvoiceBaseOid(long invoiceBaseOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetSettlementInvoicesForCostBearerAndPeriod" +
"", ReplyAction="http://tempuri.org/IAccountingService/GetSettlementInvoicesForCostBearerAndPeriod" +
"Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetSettlementInvoicesForCostBearerAndPeriod" +
"BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> GetSettlementInvoicesForCostBearerAndPeriod(long costBearerOid, System.DateTime periodStart, System.DateTime periodEnd);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/GetSettlementInvoicesForSupportConcept", ReplyAction="http://tempuri.org/IAccountingService/GetSettlementInvoicesForSupportConceptRespo" +
"nse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/GetSettlementInvoicesForSupportConceptBeWoF" +
"aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> GetSettlementInvoicesForSupportConcept(long supportConceptOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/InsertNewInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/InsertNewInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/InsertNewInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/InsertNewServiceInvoices", ReplyAction="http://tempuri.org/IAccountingService/InsertNewServiceInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/InsertNewServiceInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/InsertNewSettlementInvoice", ReplyAction="http://tempuri.org/IAccountingService/InsertNewSettlementInvoiceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/InsertNewSettlementInvoiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/LoadInvoiceBaseByOid", ReplyAction="http://tempuri.org/IAccountingService/LoadInvoiceBaseByOidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/LoadInvoiceBaseByOidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.InvoiceBaseDC LoadInvoiceBaseByOid(long invoiceBaseOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/LoadInvoiceNumber", ReplyAction="http://tempuri.org/IAccountingService/LoadInvoiceNumberResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/LoadInvoiceNumberBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.InvoiceNumberDC LoadInvoiceNumber();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/LoadServiceInvoiceByOid", ReplyAction="http://tempuri.org/IAccountingService/LoadServiceInvoiceByOidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/LoadServiceInvoiceByOidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.ServiceInvoiceDC LoadServiceInvoiceByOid(long serviceInvoiceOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/UpdateInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/UpdateInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/UpdateInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> UpdateInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/SetInvoicePaid", ReplyAction="http://tempuri.org/IAccountingService/SetInvoicePaidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/SetInvoicePaidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> SetInvoicePaid(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices, bool isPaid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/UpdateInvoiceNumber", ReplyAction="http://tempuri.org/IAccountingService/UpdateInvoiceNumberResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/UpdateInvoiceNumberBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.InvoiceNumberDC UpdateInvoiceNumber(BS.Shared.DataContracts.InvoiceNumberDC dc);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/UpdateServiceInvoices", ReplyAction="http://tempuri.org/IAccountingService/UpdateServiceInvoicesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/UpdateServiceInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> UpdateServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/UpdateSettlementInvoice", ReplyAction="http://tempuri.org/IAccountingService/UpdateSettlementInvoiceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/UpdateSettlementInvoiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/LoadInvoiceNumberList", ReplyAction="http://tempuri.org/IAccountingService/LoadInvoiceNumberListResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/LoadInvoiceNumberListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> LoadInvoiceNumberList();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/UpdateInvoiceNumberList", ReplyAction="http://tempuri.org/IAccountingService/UpdateInvoiceNumberListResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/UpdateInvoiceNumberListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> UpdateInvoiceNumberList(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> dclist);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAccountingService/StorniereInvoiceBases", ReplyAction="http://tempuri.org/IAccountingService/StorniereInvoiceBasesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAccountingService/StorniereInvoiceBasesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void StorniereInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IAccountingServiceChannel : BeWo.ServiceProxy.IAccountingService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class AccountingServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IAccountingService>, BeWo.ServiceProxy.IAccountingService
{
public AccountingServiceClient()
{
}
public AccountingServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public AccountingServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AccountingServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AccountingServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DeactivateInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices)
{
base.Channel.DeactivateInvoiceBases(invoices);
}
public void DeactivateServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices)
{
base.Channel.DeactivateServiceInvoices(invoices);
}
public void DeactivateSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices)
{
base.Channel.DeactivateSettlementInvoice(invoices);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> GenerateInitialServiceInvoices(long costBearerOid, System.Nullable<long> supportConceptOid, BS.Shared.Core.DateTimeSpan invoicePeriod)
{
return base.Channel.GenerateInitialServiceInvoices(costBearerOid, supportConceptOid, invoicePeriod);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetAllActiveInvoiceBases()
{
return base.Channel.GetAllActiveInvoiceBases();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBases(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate)
{
return base.Channel.GetInvoiceBases(startDate, endDate);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBases2(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool filterByInvoiceDate)
{
return base.Channel.GetInvoiceBases2(startDate, endDate, filterByInvoiceDate);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForCostBearerAndId(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, long costBearerOid, string invoiceId)
{
return base.Channel.GetInvoiceBasesForCostBearerAndId(startDate, endDate, costBearerOid, invoiceId);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForCostBearerAndIdAndIsUsed(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, long costBearerOid, string invoiceId)
{
return base.Channel.GetInvoiceBasesForCostBearerAndIdAndIsUsed(startDate, endDate, costBearerOid, invoiceId);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForCustomer(long customerOid)
{
return base.Channel.GetGeneralInvoiceBasesForCustomer(customerOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForOrganisation(long organisationOid)
{
return base.Channel.GetGeneralInvoiceBasesForOrganisation(organisationOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetGeneralInvoiceBasesForPerson(long personOid)
{
return base.Channel.GetGeneralInvoiceBasesForPerson(personOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> GetInvoiceBasesForSupportConcept(BS.Shared.InvoiceType type, long supportConceptOid)
{
return base.Channel.GetInvoiceBasesForSupportConcept(type, supportConceptOid);
}
public BS.Shared.DataContracts.ServiceInvoiceDC GetServiceInvoiceByInvoiceBaseOid(long invoiceBaseOid)
{
return base.Channel.GetServiceInvoiceByInvoiceBaseOid(invoiceBaseOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> GetServiceInvoices(long costBearerOid, System.Nullable<long> supportConceptOid, BS.Shared.Core.DateTimeSpan period)
{
return base.Channel.GetServiceInvoices(costBearerOid, supportConceptOid, period);
}
public BS.Shared.DataContracts.Settlement2DC GetSettlementByInvoiceBaseOid(long invoiceBaseOid)
{
return base.Channel.GetSettlementByInvoiceBaseOid(invoiceBaseOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> GetSettlementInvoicesForCostBearerAndPeriod(long costBearerOid, System.DateTime periodStart, System.DateTime periodEnd)
{
return base.Channel.GetSettlementInvoicesForCostBearerAndPeriod(costBearerOid, periodStart, periodEnd);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> GetSettlementInvoicesForSupportConcept(long supportConceptOid)
{
return base.Channel.GetSettlementInvoicesForSupportConcept(supportConceptOid);
}
public System.Collections.Generic.List<long> InsertNewInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices)
{
return base.Channel.InsertNewInvoiceBases(invoices);
}
public System.Collections.Generic.List<long> InsertNewServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices)
{
return base.Channel.InsertNewServiceInvoices(invoices);
}
public System.Collections.Generic.List<long> InsertNewSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices)
{
return base.Channel.InsertNewSettlementInvoice(invoices);
}
public BS.Shared.DataContracts.InvoiceBaseDC LoadInvoiceBaseByOid(long invoiceBaseOid)
{
return base.Channel.LoadInvoiceBaseByOid(invoiceBaseOid);
}
public BS.Shared.DataContracts.InvoiceNumberDC LoadInvoiceNumber()
{
return base.Channel.LoadInvoiceNumber();
}
public BS.Shared.DataContracts.ServiceInvoiceDC LoadServiceInvoiceByOid(long serviceInvoiceOid)
{
return base.Channel.LoadServiceInvoiceByOid(serviceInvoiceOid);
}
public System.Collections.Generic.List<long> UpdateInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices)
{
return base.Channel.UpdateInvoiceBases(invoices);
}
public System.Collections.Generic.List<long> SetInvoicePaid(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices, bool isPaid)
{
return base.Channel.SetInvoicePaid(invoices, isPaid);
}
public BS.Shared.DataContracts.InvoiceNumberDC UpdateInvoiceNumber(BS.Shared.DataContracts.InvoiceNumberDC dc)
{
return base.Channel.UpdateInvoiceNumber(dc);
}
public System.Collections.Generic.List<long> UpdateServiceInvoices(System.Collections.Generic.List<BS.Shared.DataContracts.ServiceInvoiceDC> invoices)
{
return base.Channel.UpdateServiceInvoices(invoices);
}
public void UpdateSettlementInvoice(System.Collections.Generic.List<BS.Shared.DataContracts.Settlement2DC> invoices)
{
base.Channel.UpdateSettlementInvoice(invoices);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> LoadInvoiceNumberList()
{
return base.Channel.LoadInvoiceNumberList();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> UpdateInvoiceNumberList(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceNumberDC> dclist)
{
return base.Channel.UpdateInvoiceNumberList(dclist);
}
public void StorniereInvoiceBases(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC> invoices)
{
base.Channel.StorniereInvoiceBases(invoices);
}
}
}

View File

@@ -7,48 +7,51 @@
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IAiEnhancedService")]
public interface IAiEnhancedService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiConfig", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiConfigResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiConfigBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiConfigBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Feature.AI.AiConfigDC GetAiConfig();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/UpdateAiConfig", ReplyAction="http://tempuri.org/IAiEnhancedService/UpdateAiConfigResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiConfigBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/UpdateAiConfigBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Feature.AI.AiConfigDC UpdateAiConfig(BS.Shared.DataContracts.Feature.AI.AiConfigDC toUpdate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiModels", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiModelsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiModelsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiModelsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiModelDC> GetAiModels();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/GetAiConversations", ReplyAction="http://tempuri.org/IAiEnhancedService/GetAiConversationsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiConversationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/GetAiConversationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Feature.AI.AiConversationDC> GetAiConversations(int uicontext, System.Nullable<long> oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/CreateAiConversation", ReplyAction="http://tempuri.org/IAiEnhancedService/CreateAiConversationResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Feature.AI.AiConversationDC CreateAiConversation(BS.Shared.DataContracts.Feature.AI.AiConversationDC conversation, long modell_oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/CreateAiConversationWithMessage", ReplyAction="http://tempuri.org/IAiEnhancedService/CreateAiConversationWithMessageResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiConversationWithMessageBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CreateAiConversationWithMessageBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Feature.AI.AiConversationDC CreateAiConversationWithMessage(BS.Shared.DataContracts.Feature.AI.AiConversationDC conversation, long modell_oid, string message);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/CloneAiConversation", ReplyAction="http://tempuri.org/IAiEnhancedService/CloneAiConversationResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CloneAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/CloneAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Feature.AI.AiConversationDC CloneAiConversation(long conversation_oid, System.Nullable<long> message_oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/DeleteAiConversation", ReplyAction="http://tempuri.org/IAiEnhancedService/DeleteAiConversationResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/DeleteAiConversationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteAiConversation(long conversation_oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAiEnhancedService/SendNewMessage", ReplyAction="http://tempuri.org/IAiEnhancedService/SendNewMessageResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/SendNewMessageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAiEnhancedService/SendNewMessageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AiConversationMessageDC> SendNewMessage(long conversation, string message);
}

View File

@@ -0,0 +1,256 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IAnalysisService")]
public interface IAnalysisService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetAuslastungAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetAuslastungAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetAuslastungAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Reports.AuslastungAnalysisRootDC> GetAuslastungAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, System.Nullable<long> employeeOid, System.Nullable<long> teamOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetAccountingAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetAccountingAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetAccountingAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AccountingAnalysisDC> GetAccountingAnalysis(BS.Shared.Core.DateTimeSpan pSpan);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetCostBearerFLSAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetCostBearerFLSAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetCostBearerFLSAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCostBearerFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchServiceRecordNotice, System.Collections.Generic.List<long> goalOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetTeamFLSAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetTeamFLSAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetTeamFLSAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetTeamFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchServiceRecordNotice, System.Collections.Generic.List<long> goalOids, System.Collections.Generic.List<long> teamOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCustomerFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> employeeOid, System.Collections.Generic.List<long> goalOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysisForCustomer", ReplyAction="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysisForCustomerResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetCustomerFLSAnalysisForCustomerBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCustomerFLSAnalysisForCustomer(long customerOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> employeeOid, System.Collections.Generic.List<long> goalOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetEmployeeFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> customerOid, System.Collections.Generic.List<long> goalOids, string text1, string text2, string text3, string text4, string text5);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysisForEmployee", ReplyAction="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysisForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetEmployeeFLSAnalysisForEmployeeBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetEmployeeFLSAnalysisForEmployee(long employeeOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> customerOid, System.Collections.Generic.List<long> goalOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetFLSAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetFLSAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetFLSAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetFLSAnalysis(BS.Shared.DataContracts.FLSAnalysisConfigDC config);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetExpiringSupportConcepts", ReplyAction="http://tempuri.org/IAnalysisService/GetExpiringSupportConceptsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetExpiringSupportConceptsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC> GetExpiringSupportConcepts(System.Nullable<long> employeeOid, System.DateTime expiredUntil);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetLastLogins", ReplyAction="http://tempuri.org/IAnalysisService/GetLastLoginsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetLastLoginsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.LoginDC> GetLastLogins(string loginName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetOutstandingReceivables", ReplyAction="http://tempuri.org/IAnalysisService/GetOutstandingReceivablesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetOutstandingReceivablesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.FinanceOverviewItemDC> GetOutstandingReceivables(bool showOnlyOutstanding, bool showOnlyArchivedSCs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetPersonsHavingBirthday", ReplyAction="http://tempuri.org/IAnalysisService/GetPersonsHavingBirthdayResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetPersonsHavingBirthdayBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactPersonDC> GetPersonsHavingBirthday(System.DateTime birthdayUntil);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysisResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysisBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis(System.Nullable<long> currentEmployeeOid, bool showOnlyRelatedSCs, bool showOnlyArchivedSCs, System.Nullable<System.DateTime> appointedDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis2(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<System.DateTime> appointedDate, System.Nullable<int> expiredMonths, bool showArchivedScs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis3", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis3Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis3BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis3(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<long> catOid, System.Nullable<System.DateTime> appointedDate, System.Nullable<int> expiredMonths, bool showArchivedScs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis4", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis4Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptAnalysis4BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis4(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<long> catOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, System.Nullable<int> expiredMonths, bool showArchivedScs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDate", ReplyAction="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDateResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetSupportConceptsWithConferenceDateBeWoFault" +
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC> GetSupportConceptsWithConferenceDate(System.Nullable<long> employeeOid, System.DateTime conferenceDateUntil);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetTasksForEmployee", ReplyAction="http://tempuri.org/IAnalysisService/GetTasksForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetTasksForEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TaskDC> GetTasksForEmployee(long employeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/CreateAnnualReport", ReplyAction="http://tempuri.org/IAnalysisService/CreateAnnualReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/CreateAnnualReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AnnualReportDC> CreateAnnualReport(System.Nullable<long> costbearerOid, System.Nullable<long> teamOid, System.Nullable<long> customerCareTypeValueListEntryOid, System.DateTime startDate, System.DateTime endDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/CreateAccountingReport", ReplyAction="http://tempuri.org/IAnalysisService/CreateAccountingReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/CreateAccountingReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.Reports.AccountingReportDC CreateAccountingReport(System.DateTime start, System.DateTime end);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IAnalysisService/GetTasksForEmployeeByDate", ReplyAction="http://tempuri.org/IAnalysisService/GetTasksForEmployeeByDateResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IAnalysisService/GetTasksForEmployeeByDateBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.TaskDC> GetTasksForEmployeeByDate(long employeeOid, System.DateTime date);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IAnalysisServiceChannel : BeWo.ServiceProxy.IAnalysisService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class AnalysisServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IAnalysisService>, BeWo.ServiceProxy.IAnalysisService
{
public AnalysisServiceClient()
{
}
public AnalysisServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public AnalysisServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AnalysisServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public AnalysisServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Reports.AuslastungAnalysisRootDC> GetAuslastungAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, System.Nullable<long> employeeOid, System.Nullable<long> teamOid)
{
return base.Channel.GetAuslastungAnalysis(startDate, endDate, employeeOid, teamOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AccountingAnalysisDC> GetAccountingAnalysis(BS.Shared.Core.DateTimeSpan pSpan)
{
return base.Channel.GetAccountingAnalysis(pSpan);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCostBearerFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchServiceRecordNotice, System.Collections.Generic.List<long> goalOids)
{
return base.Channel.GetCostBearerFLSAnalysis(startDate, endDate, fetchServiceRecordNotice, goalOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetTeamFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchServiceRecordNotice, System.Collections.Generic.List<long> goalOids, System.Collections.Generic.List<long> teamOids)
{
return base.Channel.GetTeamFLSAnalysis(startDate, endDate, fetchServiceRecordNotice, goalOids, teamOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCustomerFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> employeeOid, System.Collections.Generic.List<long> goalOids)
{
return base.Channel.GetCustomerFLSAnalysis(startDate, endDate, fetchApprovedFLS, fetchServiceRecordNotice, employeeOid, goalOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetCustomerFLSAnalysisForCustomer(long customerOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> employeeOid, System.Collections.Generic.List<long> goalOids)
{
return base.Channel.GetCustomerFLSAnalysisForCustomer(customerOid, startDate, endDate, fetchApprovedFLS, fetchServiceRecordNotice, employeeOid, goalOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetEmployeeFLSAnalysis(System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> customerOid, System.Collections.Generic.List<long> goalOids, string text1, string text2, string text3, string text4, string text5)
{
return base.Channel.GetEmployeeFLSAnalysis(startDate, endDate, fetchApprovedFLS, fetchServiceRecordNotice, customerOid, goalOids, text1, text2, text3, text4, text5);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetEmployeeFLSAnalysisForEmployee(long employeeOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, bool fetchApprovedFLS, bool fetchServiceRecordNotice, System.Nullable<long> customerOid, System.Collections.Generic.List<long> goalOids)
{
return base.Channel.GetEmployeeFLSAnalysisForEmployee(employeeOid, startDate, endDate, fetchApprovedFLS, fetchServiceRecordNotice, customerOid, goalOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FLSAnalysisRootDC> GetFLSAnalysis(BS.Shared.DataContracts.FLSAnalysisConfigDC config)
{
return base.Channel.GetFLSAnalysis(config);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC> GetExpiringSupportConcepts(System.Nullable<long> employeeOid, System.DateTime expiredUntil)
{
return base.Channel.GetExpiringSupportConcepts(employeeOid, expiredUntil);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.LoginDC> GetLastLogins(string loginName)
{
return base.Channel.GetLastLogins(loginName);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.FinanceOverviewItemDC> GetOutstandingReceivables(bool showOnlyOutstanding, bool showOnlyArchivedSCs)
{
return base.Channel.GetOutstandingReceivables(showOnlyOutstanding, showOnlyArchivedSCs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactPersonDC> GetPersonsHavingBirthday(System.DateTime birthdayUntil)
{
return base.Channel.GetPersonsHavingBirthday(birthdayUntil);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis(System.Nullable<long> currentEmployeeOid, bool showOnlyRelatedSCs, bool showOnlyArchivedSCs, System.Nullable<System.DateTime> appointedDate)
{
return base.Channel.GetSupportConceptAnalysis(currentEmployeeOid, showOnlyRelatedSCs, showOnlyArchivedSCs, appointedDate);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis2(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<System.DateTime> appointedDate, System.Nullable<int> expiredMonths, bool showArchivedScs)
{
return base.Channel.GetSupportConceptAnalysis2(employeeOid, teamOid, appointedDate, expiredMonths, showArchivedScs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis3(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<long> catOid, System.Nullable<System.DateTime> appointedDate, System.Nullable<int> expiredMonths, bool showArchivedScs)
{
return base.Channel.GetSupportConceptAnalysis3(employeeOid, teamOid, catOid, appointedDate, expiredMonths, showArchivedScs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptOverviewDC> GetSupportConceptAnalysis4(System.Nullable<long> employeeOid, System.Nullable<long> teamOid, System.Nullable<long> catOid, System.Nullable<System.DateTime> startDate, System.Nullable<System.DateTime> endDate, System.Nullable<int> expiredMonths, bool showArchivedScs)
{
return base.Channel.GetSupportConceptAnalysis4(employeeOid, teamOid, catOid, startDate, endDate, expiredMonths, showArchivedScs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactSupportConceptDC> GetSupportConceptsWithConferenceDate(System.Nullable<long> employeeOid, System.DateTime conferenceDateUntil)
{
return base.Channel.GetSupportConceptsWithConferenceDate(employeeOid, conferenceDateUntil);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.TaskDC> GetTasksForEmployee(long employeeOid)
{
return base.Channel.GetTasksForEmployee(employeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AnnualReportDC> CreateAnnualReport(System.Nullable<long> costbearerOid, System.Nullable<long> teamOid, System.Nullable<long> customerCareTypeValueListEntryOid, System.DateTime startDate, System.DateTime endDate)
{
return base.Channel.CreateAnnualReport(costbearerOid, teamOid, customerCareTypeValueListEntryOid, startDate, endDate);
}
public BS.Shared.DataContracts.Reports.AccountingReportDC CreateAccountingReport(System.DateTime start, System.DateTime end)
{
return base.Channel.CreateAccountingReport(start, end);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.TaskDC> GetTasksForEmployeeByDate(long employeeOid, System.DateTime date)
{
return base.Channel.GetTasksForEmployeeByDate(employeeOid, date);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,184 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IDownloadService")]
public interface IDownloadService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFile", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFile(string pFileID, System.Collections.Generic.List<string> pHeaderCaption, System.Collections.Generic.List<System.Collections.Generic.List<string>> pContent);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileCustomerExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileCustomerExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileCustomerExportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileCustomerExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileEmployeeExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileEmployeeExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileEmployeeExportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileEmployeeExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileOrganisationExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileOrganisationExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileOrganisationExportBeWoFaultFa" +
"ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileOrganisationExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFilePersonExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFilePersonExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFilePersonExportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFilePersonExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileSupportConceptExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileSupportConceptExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileSupportConceptExportBeWoFault" +
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileSupportConceptExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileTeamExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileTeamExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileTeamExportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileTeamExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileUserExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileUserExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileUserExportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileUserExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/PrepareExcelFileUserGroupExport", ReplyAction="http://tempuri.org/IDownloadService/PrepareExcelFileUserGroupExportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/PrepareExcelFileUserGroupExportBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareExcelFileUserGroupExport(string pFileID, System.Collections.Generic.List<long> pSortedOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/ReadRssFeed", ReplyAction="http://tempuri.org/IDownloadService/ReadRssFeedResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/ReadRssFeedBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.RssFeed ReadRssFeed(string url);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/CreateTemporaryToken", ReplyAction="http://tempuri.org/IDownloadService/CreateTemporaryTokenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/CreateTemporaryTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string CreateTemporaryToken(string link, bool noExpiration);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/GetFileAttachment", ReplyAction="http://tempuri.org/IDownloadService/GetFileAttachmentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/GetFileAttachmentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.FileAttachmentDC GetFileAttachment(long oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/CreateQuery", ReplyAction="http://tempuri.org/IDownloadService/CreateQueryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/CreateQueryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.QueryDC CreateQuery(BS.Shared.DataContracts.QueryDC query);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDownloadService/GetFileAttachmentForMobile", ReplyAction="http://tempuri.org/IDownloadService/GetFileAttachmentForMobileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IDownloadService/GetFileAttachmentForMobileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.FileAttachmentDC GetFileAttachmentForMobile(long oid, string tenant);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IDownloadServiceChannel : BeWo.ServiceProxy.IDownloadService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class DownloadServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IDownloadService>, BeWo.ServiceProxy.IDownloadService
{
public DownloadServiceClient()
{
}
public DownloadServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public DownloadServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DownloadServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public DownloadServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public string PrepareExcelFile(string pFileID, System.Collections.Generic.List<string> pHeaderCaption, System.Collections.Generic.List<System.Collections.Generic.List<string>> pContent)
{
return base.Channel.PrepareExcelFile(pFileID, pHeaderCaption, pContent);
}
public string PrepareExcelFileCustomerExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileCustomerExport(pFileID, pSortedOids);
}
public string PrepareExcelFileEmployeeExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileEmployeeExport(pFileID, pSortedOids);
}
public string PrepareExcelFileOrganisationExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileOrganisationExport(pFileID, pSortedOids);
}
public string PrepareExcelFilePersonExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFilePersonExport(pFileID, pSortedOids);
}
public string PrepareExcelFileSupportConceptExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileSupportConceptExport(pFileID, pSortedOids);
}
public string PrepareExcelFileTeamExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileTeamExport(pFileID, pSortedOids);
}
public string PrepareExcelFileUserExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileUserExport(pFileID, pSortedOids);
}
public string PrepareExcelFileUserGroupExport(string pFileID, System.Collections.Generic.List<long> pSortedOids)
{
return base.Channel.PrepareExcelFileUserGroupExport(pFileID, pSortedOids);
}
public BS.Shared.DataContracts.RssFeed ReadRssFeed(string url)
{
return base.Channel.ReadRssFeed(url);
}
public string CreateTemporaryToken(string link, bool noExpiration)
{
return base.Channel.CreateTemporaryToken(link, noExpiration);
}
public BS.Shared.DataContracts.FileAttachmentDC GetFileAttachment(long oid)
{
return base.Channel.GetFileAttachment(oid);
}
public BS.Shared.DataContracts.QueryDC CreateQuery(BS.Shared.DataContracts.QueryDC query)
{
return base.Channel.CreateQuery(query);
}
public BS.Shared.DataContracts.FileAttachmentDC GetFileAttachmentForMobile(long oid, string tenant)
{
return base.Channel.GetFileAttachmentForMobile(oid, tenant);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,515 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IGkvAccountingService")]
public interface IGkvAccountingService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/GetGkvAbrechnung", ReplyAction="http://tempuri.org/IGkvAccountingService/GetGkvAbrechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/GetGkvAbrechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceBaseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceItemDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceItemDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CostRatePeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CostRatePeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ValueListEntryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceTimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceReasonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceDescriptionDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceCategoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptCostBearerRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BudgetDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AddressDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OrganisationPersonRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationPersonRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AppResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.InvoiceBaseLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.InvoiceBaseLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.InvoiceType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvTransferResultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvVerfahrensstufe))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvRawDataType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingIntervalType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ActivationTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostRatePeriodType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AbsenceReasonVisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Sex))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SubstitutionNeed))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ZeiterfassungsDauer))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingvisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ScopeTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceUnit))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordFormate))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostBearer2SupportConceptStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SupportConceptApprovalInterval))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Bewilligungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SystemEntryID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
BS.Shared.DataContracts.Light.GkvAbrechnungLightDC GetGkvAbrechnung(long oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/GetAllGkvAbrechnungen", ReplyAction="http://tempuri.org/IGkvAccountingService/GetAllGkvAbrechnungenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/GetAllGkvAbrechnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC> GetAllGkvAbrechnungen();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/GetFilteredGkvAbrechnungen", ReplyAction="http://tempuri.org/IGkvAccountingService/GetFilteredGkvAbrechnungenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/GetFilteredGkvAbrechnungenBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC> GetFilteredGkvAbrechnungen(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC gkvAbrechnungViewFilter);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/GetProtokollRawDataString", ReplyAction="http://tempuri.org/IGkvAccountingService/GetProtokollRawDataStringResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/GetProtokollRawDataStringBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string GetProtokollRawDataString(long oid, BS.Shared.GkvRawDataType gkvRawData);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/CreateNewGkvAbrechnung", ReplyAction="http://tempuri.org/IGkvAccountingService/CreateNewGkvAbrechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/CreateNewGkvAbrechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceBaseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceItemDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceItemDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CostRatePeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CostRatePeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ValueListEntryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceTimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceReasonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceDescriptionDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceCategoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptCostBearerRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BudgetDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AddressDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OrganisationPersonRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationPersonRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AppResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.InvoiceBaseLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.InvoiceBaseLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.InvoiceType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvTransferResultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvVerfahrensstufe))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvRawDataType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingIntervalType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ActivationTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostRatePeriodType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AbsenceReasonVisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Sex))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SubstitutionNeed))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ZeiterfassungsDauer))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingvisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ScopeTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceUnit))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordFormate))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostBearer2SupportConceptStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SupportConceptApprovalInterval))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Bewilligungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SystemEntryID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateResponseDC CreateNewGkvAbrechnung(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/UpdateGkvAbrechnung", ReplyAction="http://tempuri.org/IGkvAccountingService/UpdateGkvAbrechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/UpdateGkvAbrechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceBaseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceItemDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceItemDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CostRatePeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CostRatePeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ValueListEntryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceTimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceReasonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceDescriptionDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceCategoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptCostBearerRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BudgetDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AddressDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OrganisationPersonRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationPersonRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AppResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.InvoiceBaseLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.InvoiceBaseLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.InvoiceType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvTransferResultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvVerfahrensstufe))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvRawDataType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingIntervalType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ActivationTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostRatePeriodType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AbsenceReasonVisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Sex))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SubstitutionNeed))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ZeiterfassungsDauer))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingvisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ScopeTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceUnit))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordFormate))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostBearer2SupportConceptStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SupportConceptApprovalInterval))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Bewilligungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SystemEntryID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
BS.Shared.DataContracts.Light.GkvAbrechnungLightDC UpdateGkvAbrechnung(BS.Shared.DataContracts.Light.GkvAbrechnungLightDC abrechnung);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/DeleteGkvAbrechnung", ReplyAction="http://tempuri.org/IGkvAccountingService/DeleteGkvAbrechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/DeleteGkvAbrechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteGkvAbrechnung(long oid, long version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/SendNewGkvAbrechnung", ReplyAction="http://tempuri.org/IGkvAccountingService/SendNewGkvAbrechnungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/SendNewGkvAbrechnungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFault))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Core.BeWoFaultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<object>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, BS.Shared.ValueListEntryType>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<long, long>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<string>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvTransferProtokollDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactOrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCustomerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactEmployeeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactSupportConceptDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactCostBearerDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactCostBearerDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Compact.CompactPersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceBaseDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceBaseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.InvoiceItemDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.InvoiceItemDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceRecordDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.CostRatePeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CostRatePeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ValueListEntryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceTimeDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AbsenceReasonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceDescriptionDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ServiceCategoryDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ContactDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ContactDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptCostBearerRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BudgetDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.SupportConceptApprovalPeriodEmployeeRelDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Organisation2PersonDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Organisation2PersonDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.ArbeitszeitEintragDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.ArbeitszeitEintragDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.FeiertagDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.FeiertagDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AddressDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.BeWoDataContract))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.OrganisationPersonRelationDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.OrganisationPersonRelationDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.VarFieldDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.VarFieldDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.AppResponseDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.InvoiceBaseLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.InvoiceBaseLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.Light.GkvTransferProtokollLightDC))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC>))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.InvoiceType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvTransferResultType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvVerfahrensstufe))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.GkvRawDataType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingIntervalType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ActivationTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostRatePeriodType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ValueListEntryType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AbsenceReasonVisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Sex))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SubstitutionNeed))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ZeiterfassungsDauer))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AccountingvisibilityType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ScopeTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceUnit))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordFormate))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ServiceRecordTypeId))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.CostBearer2SupportConceptStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ContactType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SupportConceptApprovalInterval))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.Bewilligungsart))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.SystemEntryID))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.FamilyStatus))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.PersonType))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.AppointmentDayOfWeek))]
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.ControlType))]
BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendResponseDC SendNewGkvAbrechnung(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC req);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IGkvAccountingService/SendGetIKRequest", ReplyAction="http://tempuri.org/IGkvAccountingService/SendGetIKRequestResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IGkvAccountingService/SendGetIKRequestBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC SendGetIKRequest(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC req);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IGkvAccountingServiceChannel : BeWo.ServiceProxy.IGkvAccountingService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GkvAccountingServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IGkvAccountingService>, BeWo.ServiceProxy.IGkvAccountingService
{
public GkvAccountingServiceClient()
{
}
public GkvAccountingServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public GkvAccountingServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public GkvAccountingServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public GkvAccountingServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public BS.Shared.DataContracts.Light.GkvAbrechnungLightDC GetGkvAbrechnung(long oid)
{
return base.Channel.GetGkvAbrechnung(oid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC> GetAllGkvAbrechnungen()
{
return base.Channel.GetAllGkvAbrechnungen();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Light.GkvAbrechnungLightDC> GetFilteredGkvAbrechnungen(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungViewFilterDC gkvAbrechnungViewFilter)
{
return base.Channel.GetFilteredGkvAbrechnungen(gkvAbrechnungViewFilter);
}
public string GetProtokollRawDataString(long oid, BS.Shared.GkvRawDataType gkvRawData)
{
return base.Channel.GetProtokollRawDataString(oid, gkvRawData);
}
public BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateResponseDC CreateNewGkvAbrechnung(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungCreateRequestDC request)
{
return base.Channel.CreateNewGkvAbrechnung(request);
}
public BS.Shared.DataContracts.Light.GkvAbrechnungLightDC UpdateGkvAbrechnung(BS.Shared.DataContracts.Light.GkvAbrechnungLightDC abrechnung)
{
return base.Channel.UpdateGkvAbrechnung(abrechnung);
}
public void DeleteGkvAbrechnung(long oid, long version)
{
base.Channel.DeleteGkvAbrechnung(oid, version);
}
public BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendResponseDC SendNewGkvAbrechnung(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungSendRequestDC req)
{
return base.Channel.SendNewGkvAbrechnung(req);
}
public BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKResponseDC SendGetIKRequest(BS.Shared.DataContracts.GkvAbrechnung.GkvAbrechnungGetIKRequestDC req)
{
return base.Channel.SendGetIKRequest(req);
}
}
}

View File

@@ -0,0 +1,118 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IMailService")]
public interface IMailService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/DeleteMail", ReplyAction="http://tempuri.org/IMailService/DeleteMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/DeleteMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteMail(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/GetIncomingMails", ReplyAction="http://tempuri.org/IMailService/GetIncomingMailsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/GetIncomingMailsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetIncomingMails(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/GetOutgoingMails", ReplyAction="http://tempuri.org/IMailService/GetOutgoingMailsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/GetOutgoingMailsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetOutgoingMails(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/MoveMailToRecycleBin", ReplyAction="http://tempuri.org/IMailService/MoveMailToRecycleBinResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/MoveMailToRecycleBinBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void MoveMailToRecycleBin(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendMail", ReplyAction="http://tempuri.org/IMailService/SendMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long SendMail(BS.Shared.DataContracts.MailDC pMail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendEMail", ReplyAction="http://tempuri.org/IMailService/SendEMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendEMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool SendEMail(string subject, string body);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IMailService/SendEMailWithSender", ReplyAction="http://tempuri.org/IMailService/SendEMailWithSenderResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IMailService/SendEMailWithSenderBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool SendEMailWithSender(string senderName, string senderEMail, string subject, string body);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IMailServiceChannel : BeWo.ServiceProxy.IMailService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class MailServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IMailService>, BeWo.ServiceProxy.IMailService
{
public MailServiceClient()
{
}
public MailServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public MailServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public MailServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public MailServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DeleteMail(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail)
{
base.Channel.DeleteMail(pEmployeeOid, pMail);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetIncomingMails(long pEmployeeOid)
{
return base.Channel.GetIncomingMails(pEmployeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.MailDC> GetOutgoingMails(long pEmployeeOid)
{
return base.Channel.GetOutgoingMails(pEmployeeOid);
}
public void MoveMailToRecycleBin(long pEmployeeOid, BS.Shared.DataContracts.MailDC pMail)
{
base.Channel.MoveMailToRecycleBin(pEmployeeOid, pMail);
}
public long SendMail(BS.Shared.DataContracts.MailDC pMail)
{
return base.Channel.SendMail(pMail);
}
public bool SendEMail(string subject, string body)
{
return base.Channel.SendEMail(subject, body);
}
public bool SendEMailWithSender(string senderName, string senderEMail, string subject, string body)
{
return base.Channel.SendEMailWithSender(senderName, senderEMail, subject, body);
}
}
}

View File

@@ -7,16 +7,23 @@
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IOperationsEnhancedService")]
public interface IOperationsEnhancedService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsEnhancedService/HelloWorld", ReplyAction="http://tempuri.org/IOperationsEnhancedService/HelloWorldResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsEnhancedService/HelloWorldBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")]
void HelloWorld();
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsEnhancedService/HelloWorldBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string HelloWorld();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsEnhancedService/GetPdf", ReplyAction="http://tempuri.org/IOperationsEnhancedService/GetPdfResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IOperationsEnhancedService/GetPdfBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
byte[] GetPdf();
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
@@ -53,9 +60,14 @@ namespace BeWo.ServiceProxy
{
}
public void HelloWorld()
public string HelloWorld()
{
base.Channel.HelloWorld();
return base.Channel.HelloWorld();
}
public byte[] GetPdf()
{
return base.Channel.GetPdf();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,90 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IQueryService")]
public interface IQueryService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/ExecuteQuery", ReplyAction="http://tempuri.org/IQueryService/ExecuteQueryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IQueryService/ExecuteQueryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string ExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/GetAllQueriesOfType", ReplyAction="http://tempuri.org/IQueryService/GetAllQueriesOfTypeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IQueryService/GetAllQueriesOfTypeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> GetAllQueriesOfType(BS.Shared.QueryType pType);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/PrepareQueryReport", ReplyAction="http://tempuri.org/IQueryService/PrepareQueryReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IQueryService/PrepareQueryReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string PrepareQueryReport(string dataTableJsonString, string id);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQueryService/ReportTypes", ReplyAction="http://tempuri.org/IQueryService/ReportTypesResponse")]
void ReportTypes(BS.Shared.DataContracts.ReportTypes pType);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IQueryServiceChannel : BeWo.ServiceProxy.IQueryService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class QueryServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IQueryService>, BeWo.ServiceProxy.IQueryService
{
public QueryServiceClient()
{
}
public QueryServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public QueryServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public QueryServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public QueryServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public string ExecuteQuery(long pQueryOid, System.Collections.Generic.List<BS.Shared.DataContracts.QueryParamDC> parameter)
{
return base.Channel.ExecuteQuery(pQueryOid, parameter);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.QueryDC> GetAllQueriesOfType(BS.Shared.QueryType pType)
{
return base.Channel.GetAllQueriesOfType(pType);
}
public string PrepareQueryReport(string dataTableJsonString, string id)
{
return base.Channel.PrepareQueryReport(dataTableJsonString, id);
}
public void ReportTypes(BS.Shared.DataContracts.ReportTypes pType)
{
base.Channel.ReportTypes(pType);
}
}
}

View File

@@ -0,0 +1,309 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IReportService")]
public interface IReportService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKalenderReport", ReplyAction="http://tempuri.org/IReportService/CreateKalenderReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKalenderReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKalenderReport(System.Collections.Generic.List<long> appointmentOids, System.Nullable<long> employeeOid, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> serientermine, System.Collections.Generic.List<System.DateTime> selectedDates, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> mehrtaegigeTermine);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKassenbuchReport", ReplyAction="http://tempuri.org/IReportService/CreateKassenbuchReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKassenbuchReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKassenbuchReport(System.DateTime zeitraum, BS.Shared.DataContracts.BargeldkassenDC bargeldkasse, long objectOid, BS.Shared.TableID objectTid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKassenbuchReportImZeitraum", ReplyAction="http://tempuri.org/IReportService/CreateKassenbuchReportImZeitraumResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKassenbuchReportImZeitraumBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKassenbuchReportImZeitraum(System.DateTime zeitraumStart, System.DateTime zeitraumEnde, BS.Shared.DataContracts.BargeldkassenDC bargeldkasse, long objectOid, BS.Shared.TableID objectTid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKassenbelegReport", ReplyAction="http://tempuri.org/IReportService/CreateKassenbelegReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKassenbelegReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKassenbelegReport(BS.Shared.DataContracts.BargeldtransaktionDC transaktion, long objectOid, BS.Shared.TableID objectTid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/GetMitarbeiterverfuegbarkeiten", ReplyAction="http://tempuri.org/IReportService/GetMitarbeiterverfuegbarkeitenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/GetMitarbeiterverfuegbarkeitenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactEmployeeDC, decimal> GetMitarbeiterverfuegbarkeiten(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactEmployeeDC> employees, System.DateTime startDate, System.DateTime endDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateServiceRecordListReport", ReplyAction="http://tempuri.org/IReportService/CreateServiceRecordListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateServiceRecordListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateServiceRecordListReport(long employeeOid, long customerOid, long supportConceptOid, long costbearer2SupportConceptOid, bool isLimited, BS.Shared.Core.DateTimeSpan limitingDateTimeSpan);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/SendTimeSheetMail", ReplyAction="http://tempuri.org/IReportService/SendTimeSheetMailResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/SendTimeSheetMailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string SendTimeSheetMail(BS.Shared.DataContracts.TimeSheetStatusItemDC item, bool saveMailToDatabase);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateCustomReport", ReplyAction="http://tempuri.org/IReportService/CreateCustomReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateCustomReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateCustomReport(long employeeOid, string reportName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKilometerauswertung", ReplyAction="http://tempuri.org/IReportService/CreateKilometerauswertungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKilometerauswertungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKilometerauswertung(long customerOid, System.DateTime range);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomers", ReplyAction="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomersRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomersBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKilometerauswertungForAllCustomers(System.Collections.Generic.List<long> customerOids, System.DateTime rangeDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CheckForAnyServiceRecordsWithDistanceValues", ReplyAction="http://tempuri.org/IReportService/CheckForAnyServiceRecordsWithDistanceValuesResp" +
"onse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CheckForAnyServiceRecordsWithDistanceValuesBeWo" +
"FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool CheckForAnyServiceRecordsWithDistanceValues(System.Collections.Generic.List<long> customerOids, BS.Shared.Core.DateTimeSpan span);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateEmployeeKilometerauswertung", ReplyAction="http://tempuri.org/IReportService/CreateEmployeeKilometerauswertungResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateEmployeeKilometerauswertungBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateEmployeeKilometerauswertung(long employeeOid, System.DateTime range);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllEmployees", ReplyAction="http://tempuri.org/IReportService/CreateKilometerauswertungForAllEmployeesRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllEmployeesBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKilometerauswertungForAllEmployees(System.Collections.Generic.List<long> employeeOids, System.DateTime rangeDate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomersForWebV" +
"ersion", ReplyAction="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomersForWebV" +
"ersionResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKilometerauswertungForAllCustomersForWebV" +
"ersionBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKilometerauswertungForAllCustomersForWebVersion(System.Collections.Generic.List<long> customerOids, System.DateTime rangeDate, string tenant);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateMedikamentenlistenReport", ReplyAction="http://tempuri.org/IReportService/CreateMedikamentenlistenReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateMedikamentenlistenReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateMedikamentenlistenReport(long mvlOid, string tenant);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateKalenderReportWithAbsenceTimes", ReplyAction="http://tempuri.org/IReportService/CreateKalenderReportWithAbsenceTimesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateKalenderReportWithAbsenceTimesBeWoFaultFa" +
"ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateKalenderReportWithAbsenceTimes(System.Collections.Generic.List<long> appointmentOids, System.Nullable<long> employeeOid, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> serientermine, System.Collections.Generic.List<System.DateTime> selectedDates, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> mehrtaegigeTermine, System.Collections.Generic.List<long> absenceTimeOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateInvoiceListReport", ReplyAction="http://tempuri.org/IReportService/CreateInvoiceListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateInvoiceListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateInvoiceListReport(System.Collections.Generic.List<long> invoiceBaseOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateCustomerListReport", ReplyAction="http://tempuri.org/IReportService/CreateCustomerListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateCustomerListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateCustomerListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateSupportConceptListReport", ReplyAction="http://tempuri.org/IReportService/CreateSupportConceptListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateSupportConceptListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateSupportConceptListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreatePersonListReport", ReplyAction="http://tempuri.org/IReportService/CreatePersonListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreatePersonListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreatePersonListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateEmployeeListReport", ReplyAction="http://tempuri.org/IReportService/CreateEmployeeListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateEmployeeListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateEmployeeListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateInvoiceOverviewReport", ReplyAction="http://tempuri.org/IReportService/CreateInvoiceOverviewReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateInvoiceOverviewReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateInvoiceOverviewReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateWohnheimListReport", ReplyAction="http://tempuri.org/IReportService/CreateWohnheimListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateWohnheimListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateWohnheimListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateOrganisationListReport", ReplyAction="http://tempuri.org/IReportService/CreateOrganisationListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateOrganisationListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateOrganisationListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateTeamListReport", ReplyAction="http://tempuri.org/IReportService/CreateTeamListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateTeamListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateTeamListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateUserListReport", ReplyAction="http://tempuri.org/IReportService/CreateUserListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateUserListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateUserListReport(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IReportService/CreateUserGroupListReport", ReplyAction="http://tempuri.org/IReportService/CreateUserGroupListReportResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IReportService/CreateUserGroupListReportBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.IO.MemoryStream CreateUserGroupListReport(System.Collections.Generic.List<long> oids);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IReportServiceChannel : BeWo.ServiceProxy.IReportService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class ReportServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IReportService>, BeWo.ServiceProxy.IReportService
{
public ReportServiceClient()
{
}
public ReportServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ReportServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ReportServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ReportServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public System.IO.MemoryStream CreateKalenderReport(System.Collections.Generic.List<long> appointmentOids, System.Nullable<long> employeeOid, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> serientermine, System.Collections.Generic.List<System.DateTime> selectedDates, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> mehrtaegigeTermine)
{
return base.Channel.CreateKalenderReport(appointmentOids, employeeOid, serientermine, selectedDates, mehrtaegigeTermine);
}
public System.IO.MemoryStream CreateKassenbuchReport(System.DateTime zeitraum, BS.Shared.DataContracts.BargeldkassenDC bargeldkasse, long objectOid, BS.Shared.TableID objectTid)
{
return base.Channel.CreateKassenbuchReport(zeitraum, bargeldkasse, objectOid, objectTid);
}
public System.IO.MemoryStream CreateKassenbuchReportImZeitraum(System.DateTime zeitraumStart, System.DateTime zeitraumEnde, BS.Shared.DataContracts.BargeldkassenDC bargeldkasse, long objectOid, BS.Shared.TableID objectTid)
{
return base.Channel.CreateKassenbuchReportImZeitraum(zeitraumStart, zeitraumEnde, bargeldkasse, objectOid, objectTid);
}
public System.IO.MemoryStream CreateKassenbelegReport(BS.Shared.DataContracts.BargeldtransaktionDC transaktion, long objectOid, BS.Shared.TableID objectTid)
{
return base.Channel.CreateKassenbelegReport(transaktion, objectOid, objectTid);
}
public System.Collections.Generic.Dictionary<BS.Shared.DataContracts.Compact.CompactEmployeeDC, decimal> GetMitarbeiterverfuegbarkeiten(System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactEmployeeDC> employees, System.DateTime startDate, System.DateTime endDate)
{
return base.Channel.GetMitarbeiterverfuegbarkeiten(employees, startDate, endDate);
}
public System.IO.MemoryStream CreateServiceRecordListReport(long employeeOid, long customerOid, long supportConceptOid, long costbearer2SupportConceptOid, bool isLimited, BS.Shared.Core.DateTimeSpan limitingDateTimeSpan)
{
return base.Channel.CreateServiceRecordListReport(employeeOid, customerOid, supportConceptOid, costbearer2SupportConceptOid, isLimited, limitingDateTimeSpan);
}
public string SendTimeSheetMail(BS.Shared.DataContracts.TimeSheetStatusItemDC item, bool saveMailToDatabase)
{
return base.Channel.SendTimeSheetMail(item, saveMailToDatabase);
}
public System.IO.MemoryStream CreateCustomReport(long employeeOid, string reportName)
{
return base.Channel.CreateCustomReport(employeeOid, reportName);
}
public System.IO.MemoryStream CreateKilometerauswertung(long customerOid, System.DateTime range)
{
return base.Channel.CreateKilometerauswertung(customerOid, range);
}
public System.IO.MemoryStream CreateKilometerauswertungForAllCustomers(System.Collections.Generic.List<long> customerOids, System.DateTime rangeDate)
{
return base.Channel.CreateKilometerauswertungForAllCustomers(customerOids, rangeDate);
}
public bool CheckForAnyServiceRecordsWithDistanceValues(System.Collections.Generic.List<long> customerOids, BS.Shared.Core.DateTimeSpan span)
{
return base.Channel.CheckForAnyServiceRecordsWithDistanceValues(customerOids, span);
}
public System.IO.MemoryStream CreateEmployeeKilometerauswertung(long employeeOid, System.DateTime range)
{
return base.Channel.CreateEmployeeKilometerauswertung(employeeOid, range);
}
public System.IO.MemoryStream CreateKilometerauswertungForAllEmployees(System.Collections.Generic.List<long> employeeOids, System.DateTime rangeDate)
{
return base.Channel.CreateKilometerauswertungForAllEmployees(employeeOids, rangeDate);
}
public System.IO.MemoryStream CreateKilometerauswertungForAllCustomersForWebVersion(System.Collections.Generic.List<long> customerOids, System.DateTime rangeDate, string tenant)
{
return base.Channel.CreateKilometerauswertungForAllCustomersForWebVersion(customerOids, rangeDate, tenant);
}
public System.IO.MemoryStream CreateMedikamentenlistenReport(long mvlOid, string tenant)
{
return base.Channel.CreateMedikamentenlistenReport(mvlOid, tenant);
}
public System.IO.MemoryStream CreateKalenderReportWithAbsenceTimes(System.Collections.Generic.List<long> appointmentOids, System.Nullable<long> employeeOid, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> serientermine, System.Collections.Generic.List<System.DateTime> selectedDates, System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> mehrtaegigeTermine, System.Collections.Generic.List<long> absenceTimeOids)
{
return base.Channel.CreateKalenderReportWithAbsenceTimes(appointmentOids, employeeOid, serientermine, selectedDates, mehrtaegigeTermine, absenceTimeOids);
}
public System.IO.MemoryStream CreateInvoiceListReport(System.Collections.Generic.List<long> invoiceBaseOids)
{
return base.Channel.CreateInvoiceListReport(invoiceBaseOids);
}
public System.IO.MemoryStream CreateCustomerListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateCustomerListReport(oids);
}
public System.IO.MemoryStream CreateSupportConceptListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateSupportConceptListReport(oids);
}
public System.IO.MemoryStream CreatePersonListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreatePersonListReport(oids);
}
public System.IO.MemoryStream CreateEmployeeListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateEmployeeListReport(oids);
}
public System.IO.MemoryStream CreateInvoiceOverviewReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateInvoiceOverviewReport(oids);
}
public System.IO.MemoryStream CreateWohnheimListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateWohnheimListReport(oids);
}
public System.IO.MemoryStream CreateOrganisationListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateOrganisationListReport(oids);
}
public System.IO.MemoryStream CreateTeamListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateTeamListReport(oids);
}
public System.IO.MemoryStream CreateUserListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateUserListReport(oids);
}
public System.IO.MemoryStream CreateUserGroupListReport(System.Collections.Generic.List<long> oids)
{
return base.Channel.CreateUserGroupListReport(oids);
}
}
}

View File

@@ -0,0 +1,696 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IResourceService")]
public interface IResourceService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/OverlappingAppointmentsExistForMultiple", ReplyAction="http://tempuri.org/IResourceService/OverlappingAppointmentsExistForMultipleRespon" +
"se")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/OverlappingAppointmentsExistForMultipleBeWoFa" +
"ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<BS.Shared.DataContracts.SchedulerAppointmentDC, bool> OverlappingAppointmentsExistForMultiple(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/FindAppointmentsInRangeForIntervalFinder", ReplyAction="http://tempuri.org/IResourceService/FindAppointmentsInRangeForIntervalFinderRespo" +
"nse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/FindAppointmentsInRangeForIntervalFinderBeWoF" +
"aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<BS.Shared.Core.DateTimeSpan, System.Collections.Generic.Dictionary<System.DateTime, bool>> FindAppointmentsInRangeForIntervalFinder(int duration, System.DateTime startDate, System.DateTime endDate, System.Collections.Generic.List<long> resourceOids, System.Collections.Generic.List<long> customerOids, System.Collections.Generic.List<long> employeeOids, long loggedInEmployeeOid, int intervalBuffer, bool skipWeekends);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeactivateResource", ReplyAction="http://tempuri.org/IResourceService/DeactivateResourceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeactivateResourceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateResource(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeactivateResources", ReplyAction="http://tempuri.org/IResourceService/DeactivateResourcesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeactivateResourcesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateResources(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteBooking", ReplyAction="http://tempuri.org/IResourceService/DeleteBookingResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteBookingBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteBooking(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteBookings", ReplyAction="http://tempuri.org/IResourceService/DeleteBookingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteBookingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteBookings(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteResource", ReplyAction="http://tempuri.org/IResourceService/DeleteResourceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteResourceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteResource(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteResources", ReplyAction="http://tempuri.org/IResourceService/DeleteResourcesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteResourcesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteResources(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllBookings", ReplyAction="http://tempuri.org/IResourceService/GetAllBookingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllBookingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> GetAllBookings(System.DateTime pStartSpan, System.DateTime pEndSpan);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllBookingsByResource", ReplyAction="http://tempuri.org/IResourceService/GetAllBookingsByResourceResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllBookingsByResourceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> GetAllBookingsByResource(long pResourceOid, System.DateTime pStartSpan, System.DateTime pEndSpan);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllResources", ReplyAction="http://tempuri.org/IResourceService/GetAllResourcesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllResourcesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> GetAllResources();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertNewBookings", ReplyAction="http://tempuri.org/IResourceService/InsertNewBookingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertNewBookingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewBookings(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertNewResources", ReplyAction="http://tempuri.org/IResourceService/InsertNewResourcesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertNewResourcesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewResources(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateBookings", ReplyAction="http://tempuri.org/IResourceService/UpdateBookingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateBookingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> UpdateBookings(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateResources", ReplyAction="http://tempuri.org/IResourceService/UpdateResourcesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateResourcesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> UpdateResources(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateBookingSequenceDCs", ReplyAction="http://tempuri.org/IResourceService/UpdateBookingSequenceDCsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateBookingSequenceDCsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> UpdateBookingSequenceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateResourceDCs", ReplyAction="http://tempuri.org/IResourceService/UpdateResourceDCsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateResourceDCsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> UpdateResourceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertNewBookingSequenceDCs", ReplyAction="http://tempuri.org/IResourceService/InsertNewBookingSequenceDCsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertNewBookingSequenceDCsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> InsertNewBookingSequenceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateResourceAppointments", ReplyAction="http://tempuri.org/IResourceService/UpdateResourceAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateResourceAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> UpdateResourceAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> pResourceAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertNewResourceAppointments", ReplyAction="http://tempuri.org/IResourceService/InsertNewResourceAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertNewResourceAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> InsertNewResourceAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> pResourceAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteResourceAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteResourceAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteResourceAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteResourceAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllResourceAppointments", ReplyAction="http://tempuri.org/IResourceService/GetAllResourceAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllResourceAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> GetAllResourceAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetResourceAppointmentsById", ReplyAction="http://tempuri.org/IResourceService/GetResourceAppointmentsByIdResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetResourceAppointmentsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> GetResourceAppointmentsById(System.Collections.Generic.List<long> pOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadPossibleDuplicates", ReplyAction="http://tempuri.org/IResourceService/LoadPossibleDuplicatesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadPossibleDuplicatesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> LoadPossibleDuplicates(string pRecurrenceInfo);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/GetAllSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllSchedulerAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllSchedulerAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentByid", ReplyAction="http://tempuri.org/IResourceService/GetSchedulerAppointmentByidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentByidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.SchedulerAppointmentDC GetSchedulerAppointmentByid(long oid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteSchedulerAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteSchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/InsertSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertSchedulerAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> InsertSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> pNewSchedulerAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/UpdateSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateSchedulerAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> UpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> pNewSchedulerAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentsById", ReplyAction="http://tempuri.org/IResourceService/GetSchedulerAppointmentsByIdResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetSchedulerAppointmentsById(System.Collections.Generic.List<long> pOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeactivateSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/DeactivateSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeactivateSchedulerAppointmentsBeWoFaultFault" +
"", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateSchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllCategories2ResourcesInDictionary", ReplyAction="http://tempuri.org/IResourceService/GetAllCategories2ResourcesInDictionaryRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllCategories2ResourcesInDictionaryBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<BS.Shared.DataContracts.ValueListEntryDC, System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC>> GetAllCategories2ResourcesInDictionary();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveSchedulerAppointmentsBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveSchedulerAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllOpenAppointmentsForEmployee", ReplyAction="http://tempuri.org/IResourceService/GetAllOpenAppointmentsForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllOpenAppointmentsForEmployeeBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllOpenAppointmentsForEmployee(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertEmployee2SchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/InsertEmployee2SchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertEmployee2SchedulerAppointmentsBeWoFault" +
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> InsertEmployee2SchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> pEmployee2SchedulerAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/UpdateEmployee2SchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/UpdateEmployee2SchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/UpdateEmployee2SchedulerAppointmentsBeWoFault" +
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> UpdateEmployee2SchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> pEmployee2SchedulerAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteEmployee2SchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteEmployee2SchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteEmployee2SchedulerAppointmentsBeWoFault" +
"Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteEmployee2SchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveAndNotDeclinedForEmployeeAppointm" +
"ents", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveAndNotDeclinedForEmployeeAppointm" +
"entsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveAndNotDeclinedForEmployeeAppointm" +
"entsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAndNotDeclinedForEmployeeAppointments(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/OverlappingAppointmentsExist", ReplyAction="http://tempuri.org/IResourceService/OverlappingAppointmentsExistResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/OverlappingAppointmentsExistBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool OverlappingAppointmentsExist(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> employees, System.Collections.Generic.List<long> customers, System.Collections.Generic.List<long> resources, long originator, System.Nullable<long> appointmentOid, string recurrenceId, int ocurrenceIndex);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeactivateSchedulerAppointmentsForSync", ReplyAction="http://tempuri.org/IResourceService/DeactivateSchedulerAppointmentsForSyncRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeactivateSchedulerAppointmentsForSyncBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> DeactivateSchedulerAppointmentsForSync(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAppointmentsForEmployeeInInterval(System.DateTime start, System.DateTime end, long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"2", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"2Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveAppointmentsForEmployeeInInterval" +
"2BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAppointmentsForEmployeeInInterval2(System.DateTime start, System.DateTime end, long pEmployeeOid, bool pHasRightToSeeAllEmployeeAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveAbsenceTimesInInterval", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveAbsenceTimesInIntervalResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveAbsenceTimesInIntervalBeWoFaultFa" +
"ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveAbsenceTimesInInterval(System.DateTime pStart, System.DateTime pEnd, long pEmployeeOid, bool pHasRightToSeeAllEmployeeAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadFilteredAppointments", ReplyAction="http://tempuri.org/IResourceService/LoadFilteredAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadFilteredAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAppointments(bool pHasRightToSeeAllEmployeeAppointments, long pEmployeeOid, System.DateTime pIntervalStart, System.DateTime pIntervalEnd, System.Collections.Generic.List<long> pSelectedEmployees, System.Collections.Generic.List<long> pSelectedCustomer, System.Collections.Generic.List<long> pSelectedResources, bool pEmployeesOnly, bool pCustomersOnly, bool pResourcesOnly, bool pPrivateAppointmentsOnly, bool pOnlyMyAppointments);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadFilteredAppointmentsMitAufgaben", ReplyAction="http://tempuri.org/IResourceService/LoadFilteredAppointmentsMitAufgabenResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadFilteredAppointmentsMitAufgabenBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAppointmentsMitAufgaben(bool pHasRightToSeeAllEmployeeAppointments, long pEmployeeOid, System.DateTime pIntervalStart, System.DateTime pIntervalEnd, System.Collections.Generic.List<long> pSelectedEmployees, System.Collections.Generic.List<long> pSelectedCustomer, System.Collections.Generic.List<long> pSelectedResources, bool pEmployeesOnly, bool pCustomersOnly, bool pResourcesOnly, bool pPrivateAppointmentsOnly, bool pOnlyMyAppointments, bool pShowTasks);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllTasksForEmployee", ReplyAction="http://tempuri.org/IResourceService/GetAllTasksForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllTasksForEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllTasksForEmployee(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentTasksForEmployeeBySupp" +
"ortConecpt", ReplyAction="http://tempuri.org/IResourceService/GetSchedulerAppointmentTasksForEmployeeBySupp" +
"ortConecptResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetSchedulerAppointmentTasksForEmployeeBySupp" +
"ortConecptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetSchedulerAppointmentTasksForEmployeeBySupportConecpt(long pEmployeeOid, long pSupportConceptOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadTasksAndAppointmentsForEmployee", ReplyAction="http://tempuri.org/IResourceService/LoadTasksAndAppointmentsForEmployeeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadTasksAndAppointmentsForEmployeeBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadTasksAndAppointmentsForEmployee(long pEmployeeOid, System.DateTime pInvertalStart, int pBufferSize, System.Nullable<long> pEmployeeAppointmentsOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertTestAppointments", ReplyAction="http://tempuri.org/IResourceService/InsertTestAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertTestAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void InsertTestAppointments(long pEmployeeOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteTestAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteTestAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteTestAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteTestAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/CheckResourceAvailability", ReplyAction="http://tempuri.org/IResourceService/CheckResourceAvailabilityResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/CheckResourceAvailabilityBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> CheckResourceAvailability(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> resourceOids, System.Nullable<long> selectedAppointmentOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/FindRootAppointmentByRecurrenceId", ReplyAction="http://tempuri.org/IResourceService/FindRootAppointmentByRecurrenceIdResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/FindRootAppointmentByRecurrenceIdBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.SchedulerAppointmentDC FindRootAppointmentByRecurrenceId(string recurrenceId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/ValidateSchedulerAppointment", ReplyAction="http://tempuri.org/IResourceService/ValidateSchedulerAppointmentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/ValidateSchedulerAppointmentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string ValidateSchedulerAppointment(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> employees, System.Collections.Generic.List<long> customers, System.Collections.Generic.List<long> resources, long originator, System.Nullable<long> appointmentOid, System.Nullable<System.Guid> recurrenceId, int occurrenceIndex, bool shouldSkipResourceAvailability);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteMobileTestAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteMobileTestAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteMobileTestAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteMobileTestAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadFilteredAllActiveAppointments", ReplyAction="http://tempuri.org/IResourceService/LoadFilteredAllActiveAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadFilteredAllActiveAppointmentsBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAllActiveAppointments(long employeeOid, System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> customerOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/LoadOccurrencesByRecurrenceId", ReplyAction="http://tempuri.org/IResourceService/LoadOccurrencesByRecurrenceIdResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/LoadOccurrencesByRecurrenceIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadOccurrencesByRecurrenceId(string recurrenceId);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/FindAppointmentsInRange", ReplyAction="http://tempuri.org/IResourceService/FindAppointmentsInRangeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/FindAppointmentsInRangeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<System.DateTime, System.Collections.Generic.List<BS.Shared.Core.DateTimeSpan>> FindAppointmentsInRange(int duration, System.DateTime startDate, System.DateTime endDate, System.Collections.Generic.List<long> resourceOids, System.Collections.Generic.List<long> customerOids, System.Collections.Generic.List<long> employeeOids, long loggedInEmployeeOid, int intervalBuffer, bool skipWeekends);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/ConvertResourceBookingsToResourceAppointments" +
"", ReplyAction="http://tempuri.org/IResourceService/ConvertResourceBookingsToResourceAppointments" +
"Response")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/ConvertResourceBookingsToResourceAppointments" +
"BeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void ConvertResourceBookingsToResourceAppointments();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveCustomersAbsenceTimesInInterval", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveCustomersAbsenceTimesInIntervalRe" +
"sponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveCustomersAbsenceTimesInIntervalBe" +
"WoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveCustomersAbsenceTimesInInterval(System.DateTime start, System.DateTime end, long employeeOid, System.Collections.Generic.List<long> selectedCustomerOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/GetAllActiveEmployeeAbsenceTimesInInterval", ReplyAction="http://tempuri.org/IResourceService/GetAllActiveEmployeeAbsenceTimesInIntervalRes" +
"ponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/GetAllActiveEmployeeAbsenceTimesInIntervalBeW" +
"oFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveEmployeeAbsenceTimesInInterval(System.DateTime start, System.DateTime end, long employeeOid, System.Collections.Generic.List<long> selectedEmployeeOids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/CheckResourceAvailabilityWithEmployeeInformat" +
"ion", ReplyAction="http://tempuri.org/IResourceService/CheckResourceAvailabilityWithEmployeeInformat" +
"ionResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/CheckResourceAvailabilityWithEmployeeInformat" +
"ionBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> CheckResourceAvailabilityWithEmployeeInformation(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> resourceOids, System.Nullable<long> selectedAppointmentOid, System.Nullable<System.Guid> recurrenceId, int occurrenceIndex, bool shouldSkipResourceAvailability);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentEditing", ReplyAction="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentEditingResp" +
"onse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentEditingBeWo" +
"FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool CheckSchedulerRightsForAppointmentEditing(long appointmentOid, long loggedOnUserOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertSchedulerAppointment", ReplyAction="http://tempuri.org/IResourceService/InsertSchedulerAppointmentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertSchedulerAppointmentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.SchedulerAppointmentDC InsertSchedulerAppointment(BS.Shared.DataContracts.SchedulerAppointmentDC appointment);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentsToEdit", ReplyAction="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentsToEditResp" +
"onse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/CheckSchedulerRightsForAppointmentsToEditBeWo" +
"FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> CheckSchedulerRightsForAppointmentsToEdit(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2Check, BS.Shared.DataContracts.UserDC user);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/InsertOrUpdateSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/InsertOrUpdateSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/InsertOrUpdateSchedulerAppointmentsBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> InsertOrUpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2InsertOrUpdate);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IResourceService/DeleteOrUpdateSchedulerAppointments", ReplyAction="http://tempuri.org/IResourceService/DeleteOrUpdateSchedulerAppointmentsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IResourceService/DeleteOrUpdateSchedulerAppointmentsBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteOrUpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2DeleteOrUpdate);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IResourceServiceChannel : BeWo.ServiceProxy.IResourceService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class ResourceServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IResourceService>, BeWo.ServiceProxy.IResourceService
{
public ResourceServiceClient()
{
}
public ResourceServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ResourceServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ResourceServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ResourceServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public System.Collections.Generic.Dictionary<BS.Shared.DataContracts.SchedulerAppointmentDC, bool> OverlappingAppointmentsExistForMultiple(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments)
{
return base.Channel.OverlappingAppointmentsExistForMultiple(appointments);
}
public System.Collections.Generic.Dictionary<BS.Shared.Core.DateTimeSpan, System.Collections.Generic.Dictionary<System.DateTime, bool>> FindAppointmentsInRangeForIntervalFinder(int duration, System.DateTime startDate, System.DateTime endDate, System.Collections.Generic.List<long> resourceOids, System.Collections.Generic.List<long> customerOids, System.Collections.Generic.List<long> employeeOids, long loggedInEmployeeOid, int intervalBuffer, bool skipWeekends)
{
return base.Channel.FindAppointmentsInRangeForIntervalFinder(duration, startDate, endDate, resourceOids, customerOids, employeeOids, loggedInEmployeeOid, intervalBuffer, skipWeekends);
}
public void DeactivateResource(long pOid, long pVersion)
{
base.Channel.DeactivateResource(pOid, pVersion);
}
public void DeactivateResources(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeactivateResources(pOid2Version);
}
public void DeleteBooking(long pOid, long pVersion)
{
base.Channel.DeleteBooking(pOid, pVersion);
}
public void DeleteBookings(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteBookings(pOid2Version);
}
public void DeleteResource(long pOid, long pVersion)
{
base.Channel.DeleteResource(pOid, pVersion);
}
public void DeleteResources(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteResources(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> GetAllBookings(System.DateTime pStartSpan, System.DateTime pEndSpan)
{
return base.Channel.GetAllBookings(pStartSpan, pEndSpan);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> GetAllBookingsByResource(long pResourceOid, System.DateTime pStartSpan, System.DateTime pEndSpan)
{
return base.Channel.GetAllBookingsByResource(pResourceOid, pStartSpan, pEndSpan);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> GetAllResources()
{
return base.Channel.GetAllResources();
}
public System.Collections.Generic.List<long> InsertNewBookings(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings)
{
return base.Channel.InsertNewBookings(pBookings);
}
public System.Collections.Generic.List<long> InsertNewResources(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource)
{
return base.Channel.InsertNewResources(pResource);
}
public System.Collections.Generic.List<long> UpdateBookings(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings)
{
return base.Channel.UpdateBookings(pBookings);
}
public System.Collections.Generic.List<long> UpdateResources(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource)
{
return base.Channel.UpdateResources(pResource);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> UpdateBookingSequenceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings)
{
return base.Channel.UpdateBookingSequenceDCs(pBookings);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> UpdateResourceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> pResource)
{
return base.Channel.UpdateResourceDCs(pResource);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> InsertNewBookingSequenceDCs(System.Collections.Generic.List<BS.Shared.DataContracts.BookingSequenceDC> pBookings)
{
return base.Channel.InsertNewBookingSequenceDCs(pBookings);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> UpdateResourceAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> pResourceAppointments)
{
return base.Channel.UpdateResourceAppointments(pResourceAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> InsertNewResourceAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> pResourceAppointments)
{
return base.Channel.InsertNewResourceAppointments(pResourceAppointments);
}
public void DeleteResourceAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteResourceAppointments(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> GetAllResourceAppointments()
{
return base.Channel.GetAllResourceAppointments();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> GetResourceAppointmentsById(System.Collections.Generic.List<long> pOids)
{
return base.Channel.GetResourceAppointmentsById(pOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceAppointmentDC> LoadPossibleDuplicates(string pRecurrenceInfo)
{
return base.Channel.LoadPossibleDuplicates(pRecurrenceInfo);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllSchedulerAppointments()
{
return base.Channel.GetAllSchedulerAppointments();
}
public BS.Shared.DataContracts.SchedulerAppointmentDC GetSchedulerAppointmentByid(long oid)
{
return base.Channel.GetSchedulerAppointmentByid(oid);
}
public void DeleteSchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteSchedulerAppointments(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> InsertSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> pNewSchedulerAppointments)
{
return base.Channel.InsertSchedulerAppointments(pNewSchedulerAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> UpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> pNewSchedulerAppointments)
{
return base.Channel.UpdateSchedulerAppointments(pNewSchedulerAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetSchedulerAppointmentsById(System.Collections.Generic.List<long> pOids)
{
return base.Channel.GetSchedulerAppointmentsById(pOids);
}
public void DeactivateSchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeactivateSchedulerAppointments(pOid2Version);
}
public System.Collections.Generic.Dictionary<BS.Shared.DataContracts.ValueListEntryDC, System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC>> GetAllCategories2ResourcesInDictionary()
{
return base.Channel.GetAllCategories2ResourcesInDictionary();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveSchedulerAppointments()
{
return base.Channel.GetAllActiveSchedulerAppointments();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllOpenAppointmentsForEmployee(long pEmployeeOid)
{
return base.Channel.GetAllOpenAppointmentsForEmployee(pEmployeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> InsertEmployee2SchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> pEmployee2SchedulerAppointments)
{
return base.Channel.InsertEmployee2SchedulerAppointments(pEmployee2SchedulerAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> UpdateEmployee2SchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.Employee2SchedulerAppointmentDC> pEmployee2SchedulerAppointments)
{
return base.Channel.UpdateEmployee2SchedulerAppointments(pEmployee2SchedulerAppointments);
}
public void DeleteEmployee2SchedulerAppointments(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteEmployee2SchedulerAppointments(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAndNotDeclinedForEmployeeAppointments(long pEmployeeOid)
{
return base.Channel.GetAllActiveAndNotDeclinedForEmployeeAppointments(pEmployeeOid);
}
public bool OverlappingAppointmentsExist(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> employees, System.Collections.Generic.List<long> customers, System.Collections.Generic.List<long> resources, long originator, System.Nullable<long> appointmentOid, string recurrenceId, int ocurrenceIndex)
{
return base.Channel.OverlappingAppointmentsExist(start, end, employees, customers, resources, originator, appointmentOid, recurrenceId, ocurrenceIndex);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> DeactivateSchedulerAppointmentsForSync(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
return base.Channel.DeactivateSchedulerAppointmentsForSync(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAppointmentsForEmployeeInInterval(System.DateTime start, System.DateTime end, long pEmployeeOid)
{
return base.Channel.GetAllActiveAppointmentsForEmployeeInInterval(start, end, pEmployeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllActiveAppointmentsForEmployeeInInterval2(System.DateTime start, System.DateTime end, long pEmployeeOid, bool pHasRightToSeeAllEmployeeAppointments)
{
return base.Channel.GetAllActiveAppointmentsForEmployeeInInterval2(start, end, pEmployeeOid, pHasRightToSeeAllEmployeeAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveAbsenceTimesInInterval(System.DateTime pStart, System.DateTime pEnd, long pEmployeeOid, bool pHasRightToSeeAllEmployeeAppointments)
{
return base.Channel.GetAllActiveAbsenceTimesInInterval(pStart, pEnd, pEmployeeOid, pHasRightToSeeAllEmployeeAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAppointments(bool pHasRightToSeeAllEmployeeAppointments, long pEmployeeOid, System.DateTime pIntervalStart, System.DateTime pIntervalEnd, System.Collections.Generic.List<long> pSelectedEmployees, System.Collections.Generic.List<long> pSelectedCustomer, System.Collections.Generic.List<long> pSelectedResources, bool pEmployeesOnly, bool pCustomersOnly, bool pResourcesOnly, bool pPrivateAppointmentsOnly, bool pOnlyMyAppointments)
{
return base.Channel.LoadFilteredAppointments(pHasRightToSeeAllEmployeeAppointments, pEmployeeOid, pIntervalStart, pIntervalEnd, pSelectedEmployees, pSelectedCustomer, pSelectedResources, pEmployeesOnly, pCustomersOnly, pResourcesOnly, pPrivateAppointmentsOnly, pOnlyMyAppointments);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAppointmentsMitAufgaben(bool pHasRightToSeeAllEmployeeAppointments, long pEmployeeOid, System.DateTime pIntervalStart, System.DateTime pIntervalEnd, System.Collections.Generic.List<long> pSelectedEmployees, System.Collections.Generic.List<long> pSelectedCustomer, System.Collections.Generic.List<long> pSelectedResources, bool pEmployeesOnly, bool pCustomersOnly, bool pResourcesOnly, bool pPrivateAppointmentsOnly, bool pOnlyMyAppointments, bool pShowTasks)
{
return base.Channel.LoadFilteredAppointmentsMitAufgaben(pHasRightToSeeAllEmployeeAppointments, pEmployeeOid, pIntervalStart, pIntervalEnd, pSelectedEmployees, pSelectedCustomer, pSelectedResources, pEmployeesOnly, pCustomersOnly, pResourcesOnly, pPrivateAppointmentsOnly, pOnlyMyAppointments, pShowTasks);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetAllTasksForEmployee(long pEmployeeOid)
{
return base.Channel.GetAllTasksForEmployee(pEmployeeOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> GetSchedulerAppointmentTasksForEmployeeBySupportConecpt(long pEmployeeOid, long pSupportConceptOid)
{
return base.Channel.GetSchedulerAppointmentTasksForEmployeeBySupportConecpt(pEmployeeOid, pSupportConceptOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadTasksAndAppointmentsForEmployee(long pEmployeeOid, System.DateTime pInvertalStart, int pBufferSize, System.Nullable<long> pEmployeeAppointmentsOid)
{
return base.Channel.LoadTasksAndAppointmentsForEmployee(pEmployeeOid, pInvertalStart, pBufferSize, pEmployeeAppointmentsOid);
}
public void InsertTestAppointments(long pEmployeeOid)
{
base.Channel.InsertTestAppointments(pEmployeeOid);
}
public void DeleteTestAppointments()
{
base.Channel.DeleteTestAppointments();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ResourceDC> CheckResourceAvailability(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> resourceOids, System.Nullable<long> selectedAppointmentOid)
{
return base.Channel.CheckResourceAvailability(start, end, resourceOids, selectedAppointmentOid);
}
public BS.Shared.DataContracts.SchedulerAppointmentDC FindRootAppointmentByRecurrenceId(string recurrenceId)
{
return base.Channel.FindRootAppointmentByRecurrenceId(recurrenceId);
}
public string ValidateSchedulerAppointment(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> employees, System.Collections.Generic.List<long> customers, System.Collections.Generic.List<long> resources, long originator, System.Nullable<long> appointmentOid, System.Nullable<System.Guid> recurrenceId, int occurrenceIndex, bool shouldSkipResourceAvailability)
{
return base.Channel.ValidateSchedulerAppointment(start, end, employees, customers, resources, originator, appointmentOid, recurrenceId, occurrenceIndex, shouldSkipResourceAvailability);
}
public void DeleteMobileTestAppointments()
{
base.Channel.DeleteMobileTestAppointments();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadFilteredAllActiveAppointments(long employeeOid, System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> customerOids)
{
return base.Channel.LoadFilteredAllActiveAppointments(employeeOid, start, end, customerOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> LoadOccurrencesByRecurrenceId(string recurrenceId)
{
return base.Channel.LoadOccurrencesByRecurrenceId(recurrenceId);
}
public System.Collections.Generic.Dictionary<System.DateTime, System.Collections.Generic.List<BS.Shared.Core.DateTimeSpan>> FindAppointmentsInRange(int duration, System.DateTime startDate, System.DateTime endDate, System.Collections.Generic.List<long> resourceOids, System.Collections.Generic.List<long> customerOids, System.Collections.Generic.List<long> employeeOids, long loggedInEmployeeOid, int intervalBuffer, bool skipWeekends)
{
return base.Channel.FindAppointmentsInRange(duration, startDate, endDate, resourceOids, customerOids, employeeOids, loggedInEmployeeOid, intervalBuffer, skipWeekends);
}
public void ConvertResourceBookingsToResourceAppointments()
{
base.Channel.ConvertResourceBookingsToResourceAppointments();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveCustomersAbsenceTimesInInterval(System.DateTime start, System.DateTime end, long employeeOid, System.Collections.Generic.List<long> selectedCustomerOids)
{
return base.Channel.GetAllActiveCustomersAbsenceTimesInInterval(start, end, employeeOid, selectedCustomerOids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.AbsenceTimeDC> GetAllActiveEmployeeAbsenceTimesInInterval(System.DateTime start, System.DateTime end, long employeeOid, System.Collections.Generic.List<long> selectedEmployeeOids)
{
return base.Channel.GetAllActiveEmployeeAbsenceTimesInInterval(start, end, employeeOid, selectedEmployeeOids);
}
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> CheckResourceAvailabilityWithEmployeeInformation(System.DateTime start, System.DateTime end, System.Collections.Generic.List<long> resourceOids, System.Nullable<long> selectedAppointmentOid, System.Nullable<System.Guid> recurrenceId, int occurrenceIndex, bool shouldSkipResourceAvailability)
{
return base.Channel.CheckResourceAvailabilityWithEmployeeInformation(start, end, resourceOids, selectedAppointmentOid, recurrenceId, occurrenceIndex, shouldSkipResourceAvailability);
}
public bool CheckSchedulerRightsForAppointmentEditing(long appointmentOid, long loggedOnUserOid)
{
return base.Channel.CheckSchedulerRightsForAppointmentEditing(appointmentOid, loggedOnUserOid);
}
public BS.Shared.DataContracts.SchedulerAppointmentDC InsertSchedulerAppointment(BS.Shared.DataContracts.SchedulerAppointmentDC appointment)
{
return base.Channel.InsertSchedulerAppointment(appointment);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> CheckSchedulerRightsForAppointmentsToEdit(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2Check, BS.Shared.DataContracts.UserDC user)
{
return base.Channel.CheckSchedulerRightsForAppointmentsToEdit(appointments2Check, user);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> InsertOrUpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2InsertOrUpdate)
{
return base.Channel.InsertOrUpdateSchedulerAppointments(appointments2InsertOrUpdate);
}
public void DeleteOrUpdateSchedulerAppointments(System.Collections.Generic.List<BS.Shared.DataContracts.SchedulerAppointmentDC> appointments2DeleteOrUpdate)
{
base.Channel.DeleteOrUpdateSchedulerAppointments(appointments2DeleteOrUpdate);
}
}
}

View File

@@ -0,0 +1,445 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IStreamingService")]
public interface IStreamingService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/DeactivateBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/DeactivateBeWoFoldersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/DeactivateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/GetAllBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/GetAllBeWoFoldersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/GetAllBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> GetAllBeWoFolders();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/InsertNewBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/InsertNewBeWoFoldersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/InsertNewBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateBeWoFolders", ReplyAction="http://tempuri.org/IStreamingService/UpdateBeWoFoldersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs);
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadDocument) übereinstimmt.
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadDocument", ReplyAction="http://tempuri.org/IStreamingService/UploadDocumentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BeWo.ServiceProxy.UploadResult UploadDocument(BeWo.ServiceProxy.UploadPackage request);
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UpdatePackage) von Nachricht "UpdatePackage" nicht mit dem Standardwert (UpdateDocument) übereinstimmt.
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateDocument", ReplyAction="http://tempuri.org/IStreamingService/UpdateDocumentResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BeWo.ServiceProxy.UploadResult UpdateDocument(BeWo.ServiceProxy.UpdatePackage request);
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadChatPackage) von Nachricht "UploadChatPackage" nicht mit dem Standardwert (CreateNewSpeziallStreamChatMessagesDC) übereinstimmt.
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDC", ReplyAction="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCRespons" +
"e")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCBeWoFau" +
"ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BeWo.ServiceProxy.UploadChatResult CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request);
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadImportFile) übereinstimmt.
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadImportFile", ReplyAction="http://tempuri.org/IStreamingService/UploadImportFileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadImportFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BeWo.ServiceProxy.UploadImportFileResult UploadImportFile(BeWo.ServiceProxy.UploadPackage request);
// CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadPersehFile) übereinstimmt.
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadPersehFile", ReplyAction="http://tempuri.org/IStreamingService/UploadPersehFileResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadPersehFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BeWo.ServiceProxy.UploadPersehDocumentResult UploadPersehFile(BeWo.ServiceProxy.UploadPackage request);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadPackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadPackage
{
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public System.Nullable<long> BeWoFolderOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public int FileAttachmentTypeId;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string FileName;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string Notice;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long ObjectOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public int TableID;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public System.IO.Stream Stream;
public UploadPackage()
{
}
public UploadPackage(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream)
{
this.BeWoFolderOid = BeWoFolderOid;
this.FileAttachmentTypeId = FileAttachmentTypeId;
this.FileName = FileName;
this.Notice = Notice;
this.ObjectOid = ObjectOid;
this.TableID = TableID;
this.Stream = Stream;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadResult
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public BS.Shared.DataContracts.FileAttachmentDC Attachment;
public UploadResult()
{
}
public UploadResult(BS.Shared.DataContracts.FileAttachmentDC Attachment)
{
this.Attachment = Attachment;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UpdatePackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UpdatePackage
{
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public System.Nullable<long> BeWoFolderOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public int FileAttachmentTypeId;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string FileName;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long FileOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string Notice;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long ObjectOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public int TableID;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public System.IO.Stream Stream;
public UpdatePackage()
{
}
public UpdatePackage(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, long FileOid, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream)
{
this.BeWoFolderOid = BeWoFolderOid;
this.FileAttachmentTypeId = FileAttachmentTypeId;
this.FileName = FileName;
this.FileOid = FileOid;
this.Notice = Notice;
this.ObjectOid = ObjectOid;
this.TableID = TableID;
this.Stream = Stream;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadChatPackage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadChatPackage
{
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long empfängerOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public bool isDeliverd;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public int mediatype;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string message;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public string messageid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long senderOid;
[System.ServiceModel.MessageHeaderAttribute(Namespace="http://tempuri.org/")]
public long teamid;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public System.IO.Stream Stream;
public UploadChatPackage()
{
}
public UploadChatPackage(long empfängerOid, bool isDeliverd, int mediatype, string message, string messageid, long senderOid, long teamid, System.IO.Stream Stream)
{
this.empfängerOid = empfängerOid;
this.isDeliverd = isDeliverd;
this.mediatype = mediatype;
this.message = message;
this.messageid = messageid;
this.senderOid = senderOid;
this.teamid = teamid;
this.Stream = Stream;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadChatResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadChatResult
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public BS.Shared.DataContracts.ChatMessageDC ChatMessage;
public UploadChatResult()
{
}
public UploadChatResult(BS.Shared.DataContracts.ChatMessageDC ChatMessage)
{
this.ChatMessage = ChatMessage;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadImportFileResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadImportFileResult
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public string ResultMessage;
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
public bool Success;
public UploadImportFileResult()
{
}
public UploadImportFileResult(string ResultMessage, bool Success)
{
this.ResultMessage = ResultMessage;
this.Success = Success;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(WrapperName="UploadPersehDocumentResult", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
public partial class UploadPersehDocumentResult
{
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
public BS.Shared.DataContracts.HilfeplanImportDC HilfeplanImportData;
public UploadPersehDocumentResult()
{
}
public UploadPersehDocumentResult(BS.Shared.DataContracts.HilfeplanImportDC HilfeplanImportData)
{
this.HilfeplanImportData = HilfeplanImportData;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IStreamingServiceChannel : BeWo.ServiceProxy.IStreamingService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class StreamingServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IStreamingService>, BeWo.ServiceProxy.IStreamingService
{
public StreamingServiceClient()
{
}
public StreamingServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public StreamingServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public StreamingServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public StreamingServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DeactivateBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs)
{
base.Channel.DeactivateBeWoFolders(dcs);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> GetAllBeWoFolders()
{
return base.Channel.GetAllBeWoFolders();
}
public System.Collections.Generic.List<long> InsertNewBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs)
{
return base.Channel.InsertNewBeWoFolders(dcs);
}
public void UpdateBeWoFolders(System.Collections.Generic.List<BS.Shared.DataContracts.BeWoFolderDC> dcs)
{
base.Channel.UpdateBeWoFolders(dcs);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
BeWo.ServiceProxy.UploadResult BeWo.ServiceProxy.IStreamingService.UploadDocument(BeWo.ServiceProxy.UploadPackage request)
{
return base.Channel.UploadDocument(request);
}
public BS.Shared.DataContracts.FileAttachmentDC UploadDocument(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream)
{
BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage();
inValue.BeWoFolderOid = BeWoFolderOid;
inValue.FileAttachmentTypeId = FileAttachmentTypeId;
inValue.FileName = FileName;
inValue.Notice = Notice;
inValue.ObjectOid = ObjectOid;
inValue.TableID = TableID;
inValue.Stream = Stream;
BeWo.ServiceProxy.UploadResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadDocument(inValue);
return retVal.Attachment;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
BeWo.ServiceProxy.UploadResult BeWo.ServiceProxy.IStreamingService.UpdateDocument(BeWo.ServiceProxy.UpdatePackage request)
{
return base.Channel.UpdateDocument(request);
}
public BS.Shared.DataContracts.FileAttachmentDC UpdateDocument(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, long FileOid, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream)
{
BeWo.ServiceProxy.UpdatePackage inValue = new BeWo.ServiceProxy.UpdatePackage();
inValue.BeWoFolderOid = BeWoFolderOid;
inValue.FileAttachmentTypeId = FileAttachmentTypeId;
inValue.FileName = FileName;
inValue.FileOid = FileOid;
inValue.Notice = Notice;
inValue.ObjectOid = ObjectOid;
inValue.TableID = TableID;
inValue.Stream = Stream;
BeWo.ServiceProxy.UploadResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UpdateDocument(inValue);
return retVal.Attachment;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
BeWo.ServiceProxy.UploadChatResult BeWo.ServiceProxy.IStreamingService.CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request)
{
return base.Channel.CreateNewSpeziallStreamChatMessagesDC(request);
}
public BS.Shared.DataContracts.ChatMessageDC CreateNewSpeziallStreamChatMessagesDC(long empfängerOid, bool isDeliverd, int mediatype, string message, string messageid, long senderOid, long teamid, System.IO.Stream Stream)
{
BeWo.ServiceProxy.UploadChatPackage inValue = new BeWo.ServiceProxy.UploadChatPackage();
inValue.empfängerOid = empfängerOid;
inValue.isDeliverd = isDeliverd;
inValue.mediatype = mediatype;
inValue.message = message;
inValue.messageid = messageid;
inValue.senderOid = senderOid;
inValue.teamid = teamid;
inValue.Stream = Stream;
BeWo.ServiceProxy.UploadChatResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).CreateNewSpeziallStreamChatMessagesDC(inValue);
return retVal.ChatMessage;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
BeWo.ServiceProxy.UploadImportFileResult BeWo.ServiceProxy.IStreamingService.UploadImportFile(BeWo.ServiceProxy.UploadPackage request)
{
return base.Channel.UploadImportFile(request);
}
public string UploadImportFile(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream, out bool Success)
{
BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage();
inValue.BeWoFolderOid = BeWoFolderOid;
inValue.FileAttachmentTypeId = FileAttachmentTypeId;
inValue.FileName = FileName;
inValue.Notice = Notice;
inValue.ObjectOid = ObjectOid;
inValue.TableID = TableID;
inValue.Stream = Stream;
BeWo.ServiceProxy.UploadImportFileResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadImportFile(inValue);
Success = retVal.Success;
return retVal.ResultMessage;
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
BeWo.ServiceProxy.UploadPersehDocumentResult BeWo.ServiceProxy.IStreamingService.UploadPersehFile(BeWo.ServiceProxy.UploadPackage request)
{
return base.Channel.UploadPersehFile(request);
}
public BS.Shared.DataContracts.HilfeplanImportDC UploadPersehFile(System.Nullable<long> BeWoFolderOid, int FileAttachmentTypeId, string FileName, string Notice, long ObjectOid, int TableID, System.IO.Stream Stream)
{
BeWo.ServiceProxy.UploadPackage inValue = new BeWo.ServiceProxy.UploadPackage();
inValue.BeWoFolderOid = BeWoFolderOid;
inValue.FileAttachmentTypeId = FileAttachmentTypeId;
inValue.FileName = FileName;
inValue.Notice = Notice;
inValue.ObjectOid = ObjectOid;
inValue.TableID = TableID;
inValue.Stream = Stream;
BeWo.ServiceProxy.UploadPersehDocumentResult retVal = ((BeWo.ServiceProxy.IStreamingService)(this)).UploadPersehFile(inValue);
return retVal.HilfeplanImportData;
}
}
}

View File

@@ -0,0 +1,345 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IUserService")]
public interface IUserService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/ChangePassword", ReplyAction="http://tempuri.org/IUserService/ChangePasswordResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/ChangePasswordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long ChangePassword(string pUserName, long pUserVersion, string pOldPassword, string pNewPassword);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/CreateNewUser", ReplyAction="http://tempuri.org/IUserService/CreateNewUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/CreateNewUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void CreateNewUser(string pUserName, string pPassword, string pEmail);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeactivateUser", ReplyAction="http://tempuri.org/IUserService/DeactivateUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeactivateUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateUser(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeactivateUserGroup", ReplyAction="http://tempuri.org/IUserService/DeactivateUserGroupResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeactivateUserGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateUserGroup(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeactivateUsers", ReplyAction="http://tempuri.org/IUserService/DeactivateUsersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeactivateUsersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateUsers(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeleteUser", ReplyAction="http://tempuri.org/IUserService/DeleteUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeleteUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteUser(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeleteUserGroup", ReplyAction="http://tempuri.org/IUserService/DeleteUserGroupResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeleteUserGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteUserGroup(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeleteUserGroups", ReplyAction="http://tempuri.org/IUserService/DeleteUserGroupsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeleteUserGroupsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteUserGroups(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/DeleteUsers", ReplyAction="http://tempuri.org/IUserService/DeleteUsersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/DeleteUsersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteUsers(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/FindUser", ReplyAction="http://tempuri.org/IUserService/FindUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/FindUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> FindUser(string pLoginName, string pEmployeeFirstName, string pEmployeeLastName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetAllUserGroups", ReplyAction="http://tempuri.org/IUserService/GetAllUserGroupsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetAllUserGroupsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.UserGroupDC> GetAllUserGroups();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetAllUsersCompact", ReplyAction="http://tempuri.org/IUserService/GetAllUsersCompactResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetAllUsersCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> GetAllUsersCompact();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetLastOpenedUserGroups", ReplyAction="http://tempuri.org/IUserService/GetLastOpenedUserGroupsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetLastOpenedUserGroupsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.UserGroupDC> GetLastOpenedUserGroups();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetLastOpenedUsers", ReplyAction="http://tempuri.org/IUserService/GetLastOpenedUsersResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetLastOpenedUsersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> GetLastOpenedUsers();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/InsertNewUser", ReplyAction="http://tempuri.org/IUserService/InsertNewUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/InsertNewUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long InsertNewUser(BS.Shared.DataContracts.UserDC pUser);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/InsertNewUserGroup", ReplyAction="http://tempuri.org/IUserService/InsertNewUserGroupResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/InsertNewUserGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long InsertNewUserGroup(BS.Shared.DataContracts.UserGroupDC pUserGroup);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/IsUserValidTwoFactor", ReplyAction="http://tempuri.org/IUserService/IsUserValidTwoFactorResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/IsUserValidTwoFactorBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.UserValidationResult IsUserValidTwoFactor(string username, string password, string twoFactorPin, string supportPin);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/IsUserValid", ReplyAction="http://tempuri.org/IUserService/IsUserValidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/IsUserValidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.UserValidationResult IsUserValid(string pUserName, string pPassword, string pPIN);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/LoadUser", ReplyAction="http://tempuri.org/IUserService/LoadUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/LoadUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.UserDC LoadUser(long pUserOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/LoadUserByLoginName", ReplyAction="http://tempuri.org/IUserService/LoadUserByLoginNameResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/LoadUserByLoginNameBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.UserDC LoadUserByLoginName(string pUserName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/LoadUserByNameAndPassword", ReplyAction="http://tempuri.org/IUserService/LoadUserByNameAndPasswordResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/LoadUserByNameAndPasswordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.UserDC LoadUserByNameAndPassword(string pUserName, string password);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/LoadUserGroup", ReplyAction="http://tempuri.org/IUserService/LoadUserGroupResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/LoadUserGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.UserGroupDC LoadUserGroup(long pOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/UpdateUser", ReplyAction="http://tempuri.org/IUserService/UpdateUserResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/UpdateUserBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long UpdateUser(BS.Shared.DataContracts.UserDC pUser);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/UpdateUserGroup", ReplyAction="http://tempuri.org/IUserService/UpdateUserGroupResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/UpdateUserGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long UpdateUserGroup(BS.Shared.DataContracts.UserGroupDC pUserGroup);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/UpdateUserSettings", ReplyAction="http://tempuri.org/IUserService/UpdateUserSettingsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/UpdateUserSettingsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SettingsDC> UpdateUserSettings(long userOid, System.Collections.Generic.List<BS.Shared.DataContracts.SettingsDC> settings);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/InsertNewSupportPin", ReplyAction="http://tempuri.org/IUserService/InsertNewSupportPinResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/InsertNewSupportPinBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long InsertNewSupportPin(BS.Shared.DataContracts.SupportPinDC pSupportPin);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetAllSupportPins", ReplyAction="http://tempuri.org/IUserService/GetAllSupportPinsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetAllSupportPinsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.SupportPinDC> GetAllSupportPins();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/UpdateSupportPin", ReplyAction="http://tempuri.org/IUserService/UpdateSupportPinResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/UpdateSupportPinBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
long UpdateSupportPin(BS.Shared.DataContracts.SupportPinDC pSupportPin);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetSupportPinByPIN", ReplyAction="http://tempuri.org/IUserService/GetSupportPinByPINResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetSupportPinByPINBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.SupportPinDC GetSupportPinByPIN(string pin);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/GetEmailForUserName", ReplyAction="http://tempuri.org/IUserService/GetEmailForUserNameResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/GetEmailForUserNameBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool GetEmailForUserName(out string email, string pUserName, System.Uri serverName);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/CheckPassword", ReplyAction="http://tempuri.org/IUserService/CheckPasswordResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/CheckPasswordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
string CheckPassword(long userOid, string oldPassword, string newPassword);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IUserService/CheckUserGroupIsLastWithUserGroupEditRights", ReplyAction="http://tempuri.org/IUserService/CheckUserGroupIsLastWithUserGroupEditRightsRespon" +
"se")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IUserService/CheckUserGroupIsLastWithUserGroupEditRightsBeWoFa" +
"ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
bool CheckUserGroupIsLastWithUserGroupEditRights(long pUserGroupOid);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IUserServiceChannel : BeWo.ServiceProxy.IUserService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class UserServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IUserService>, BeWo.ServiceProxy.IUserService
{
public UserServiceClient()
{
}
public UserServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public UserServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public UserServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public UserServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public long ChangePassword(string pUserName, long pUserVersion, string pOldPassword, string pNewPassword)
{
return base.Channel.ChangePassword(pUserName, pUserVersion, pOldPassword, pNewPassword);
}
public void CreateNewUser(string pUserName, string pPassword, string pEmail)
{
base.Channel.CreateNewUser(pUserName, pPassword, pEmail);
}
public void DeactivateUser(long pOid, long pVersion)
{
base.Channel.DeactivateUser(pOid, pVersion);
}
public void DeactivateUserGroup(long pOid, long pVersion)
{
base.Channel.DeactivateUserGroup(pOid, pVersion);
}
public void DeactivateUsers(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeactivateUsers(pOid2Version);
}
public void DeleteUser(long pOid, long pVersion)
{
base.Channel.DeleteUser(pOid, pVersion);
}
public void DeleteUserGroup(long pOid, long pVersion)
{
base.Channel.DeleteUserGroup(pOid, pVersion);
}
public void DeleteUserGroups(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteUserGroups(pOid2Version);
}
public void DeleteUsers(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteUsers(pOid2Version);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> FindUser(string pLoginName, string pEmployeeFirstName, string pEmployeeLastName)
{
return base.Channel.FindUser(pLoginName, pEmployeeFirstName, pEmployeeLastName);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.UserGroupDC> GetAllUserGroups()
{
return base.Channel.GetAllUserGroups();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> GetAllUsersCompact()
{
return base.Channel.GetAllUsersCompact();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.UserGroupDC> GetLastOpenedUserGroups()
{
return base.Channel.GetLastOpenedUserGroups();
}
public System.Collections.Generic.List<BS.Shared.DataContracts.Compact.CompactUserDC> GetLastOpenedUsers()
{
return base.Channel.GetLastOpenedUsers();
}
public long InsertNewUser(BS.Shared.DataContracts.UserDC pUser)
{
return base.Channel.InsertNewUser(pUser);
}
public long InsertNewUserGroup(BS.Shared.DataContracts.UserGroupDC pUserGroup)
{
return base.Channel.InsertNewUserGroup(pUserGroup);
}
public BS.Shared.UserValidationResult IsUserValidTwoFactor(string username, string password, string twoFactorPin, string supportPin)
{
return base.Channel.IsUserValidTwoFactor(username, password, twoFactorPin, supportPin);
}
public BS.Shared.UserValidationResult IsUserValid(string pUserName, string pPassword, string pPIN)
{
return base.Channel.IsUserValid(pUserName, pPassword, pPIN);
}
public BS.Shared.DataContracts.UserDC LoadUser(long pUserOid)
{
return base.Channel.LoadUser(pUserOid);
}
public BS.Shared.DataContracts.UserDC LoadUserByLoginName(string pUserName)
{
return base.Channel.LoadUserByLoginName(pUserName);
}
public BS.Shared.DataContracts.UserDC LoadUserByNameAndPassword(string pUserName, string password)
{
return base.Channel.LoadUserByNameAndPassword(pUserName, password);
}
public BS.Shared.DataContracts.UserGroupDC LoadUserGroup(long pOid)
{
return base.Channel.LoadUserGroup(pOid);
}
public long UpdateUser(BS.Shared.DataContracts.UserDC pUser)
{
return base.Channel.UpdateUser(pUser);
}
public long UpdateUserGroup(BS.Shared.DataContracts.UserGroupDC pUserGroup)
{
return base.Channel.UpdateUserGroup(pUserGroup);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SettingsDC> UpdateUserSettings(long userOid, System.Collections.Generic.List<BS.Shared.DataContracts.SettingsDC> settings)
{
return base.Channel.UpdateUserSettings(userOid, settings);
}
public long InsertNewSupportPin(BS.Shared.DataContracts.SupportPinDC pSupportPin)
{
return base.Channel.InsertNewSupportPin(pSupportPin);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.SupportPinDC> GetAllSupportPins()
{
return base.Channel.GetAllSupportPins();
}
public long UpdateSupportPin(BS.Shared.DataContracts.SupportPinDC pSupportPin)
{
return base.Channel.UpdateSupportPin(pSupportPin);
}
public BS.Shared.DataContracts.SupportPinDC GetSupportPinByPIN(string pin)
{
return base.Channel.GetSupportPinByPIN(pin);
}
public bool GetEmailForUserName(out string email, string pUserName, System.Uri serverName)
{
return base.Channel.GetEmailForUserName(out email, pUserName, serverName);
}
public string CheckPassword(long userOid, string oldPassword, string newPassword)
{
return base.Channel.CheckPassword(userOid, oldPassword, newPassword);
}
public bool CheckUserGroupIsLastWithUserGroupEditRights(long pUserGroupOid)
{
return base.Channel.CheckUserGroupIsLastWithUserGroupEditRights(pUserGroupOid);
}
}
}

View File

@@ -0,0 +1,183 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace BeWo.ServiceProxy
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="BeWo.ServiceProxy.IValueListService")]
public interface IValueListService
{
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/DeactivateValueListEntries", ReplyAction="http://tempuri.org/IValueListService/DeactivateValueListEntriesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/DeactivateValueListEntriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateValueListEntries(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/DeactivateValueListEntry", ReplyAction="http://tempuri.org/IValueListService/DeactivateValueListEntryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/DeactivateValueListEntryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeactivateValueListEntry(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/DeleteValueListEntries", ReplyAction="http://tempuri.org/IValueListService/DeleteValueListEntriesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/DeleteValueListEntriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteValueListEntries(System.Collections.Generic.Dictionary<long, long> pOid2Version);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/DeleteValueListEntry", ReplyAction="http://tempuri.org/IValueListService/DeleteValueListEntryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/DeleteValueListEntryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void DeleteValueListEntry(long pOid, long pVersion);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByType", ReplyAction="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntrysByType(BS.Shared.ValueListEntryType pType);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypes", ReplyAction="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetAllValueListEntrysByTypesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntrysByTypes(System.Collections.Generic.List<BS.Shared.ValueListEntryType> pTypes);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/InsertNewValueListEntries", ReplyAction="http://tempuri.org/IValueListService/InsertNewValueListEntriesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/InsertNewValueListEntriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<long> InsertNewValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/UpdateValueListEntries", ReplyAction="http://tempuri.org/IValueListService/UpdateValueListEntriesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/UpdateValueListEntriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
void UpdateValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetAllValueListEntriesByOidForType", ReplyAction="http://tempuri.org/IValueListService/GetAllValueListEntriesByOidForTypeResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetAllValueListEntriesByOidForTypeBeWoFaultF" +
"ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntriesByOidForType(long pOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/InsertNewValueListEntry", ReplyAction="http://tempuri.org/IValueListService/InsertNewValueListEntryResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/InsertNewValueListEntryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.ValueListEntryDC InsertNewValueListEntry(BS.Shared.DataContracts.ValueListEntryDC pEntry);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetValueListEntryByOid", ReplyAction="http://tempuri.org/IValueListService/GetValueListEntryByOidResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetValueListEntryByOidBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
BS.Shared.DataContracts.ValueListEntryDC GetValueListEntryByOid(long pOid);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/InsertAndLoadNewValueListEntries", ReplyAction="http://tempuri.org/IValueListService/InsertAndLoadNewValueListEntriesResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/InsertAndLoadNewValueListEntriesBeWoFaultFau" +
"lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> InsertAndLoadNewValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetValueListEntriesByOids", ReplyAction="http://tempuri.org/IValueListService/GetValueListEntriesByOidsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetValueListEntriesByOidsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetValueListEntriesByOids(System.Collections.Generic.List<long> oids);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IValueListService/GetGoalCategoriesByOids", ReplyAction="http://tempuri.org/IValueListService/GetGoalCategoriesByOidsResponse")]
[System.ServiceModel.FaultContractAttribute(typeof(BS.Shared.Core.BeWoFault), Action="http://tempuri.org/IValueListService/GetGoalCategoriesByOidsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BS.Shared.Core")]
System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetGoalCategoriesByOids(System.Collections.Generic.List<long> oids);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IValueListServiceChannel : BeWo.ServiceProxy.IValueListService, System.ServiceModel.IClientChannel
{
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class ValueListServiceClient : System.ServiceModel.ClientBase<BeWo.ServiceProxy.IValueListService>, BeWo.ServiceProxy.IValueListService
{
public ValueListServiceClient()
{
}
public ValueListServiceClient(string endpointConfigurationName) :
base(endpointConfigurationName)
{
}
public ValueListServiceClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ValueListServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress)
{
}
public ValueListServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress)
{
}
public void DeactivateValueListEntries(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeactivateValueListEntries(pOid2Version);
}
public void DeactivateValueListEntry(long pOid, long pVersion)
{
base.Channel.DeactivateValueListEntry(pOid, pVersion);
}
public void DeleteValueListEntries(System.Collections.Generic.Dictionary<long, long> pOid2Version)
{
base.Channel.DeleteValueListEntries(pOid2Version);
}
public void DeleteValueListEntry(long pOid, long pVersion)
{
base.Channel.DeleteValueListEntry(pOid, pVersion);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntrysByType(BS.Shared.ValueListEntryType pType)
{
return base.Channel.GetAllValueListEntrysByType(pType);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntrysByTypes(System.Collections.Generic.List<BS.Shared.ValueListEntryType> pTypes)
{
return base.Channel.GetAllValueListEntrysByTypes(pTypes);
}
public System.Collections.Generic.List<long> InsertNewValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries)
{
return base.Channel.InsertNewValueListEntries(pEntries);
}
public void UpdateValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries)
{
base.Channel.UpdateValueListEntries(pEntries);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetAllValueListEntriesByOidForType(long pOid)
{
return base.Channel.GetAllValueListEntriesByOidForType(pOid);
}
public BS.Shared.DataContracts.ValueListEntryDC InsertNewValueListEntry(BS.Shared.DataContracts.ValueListEntryDC pEntry)
{
return base.Channel.InsertNewValueListEntry(pEntry);
}
public BS.Shared.DataContracts.ValueListEntryDC GetValueListEntryByOid(long pOid)
{
return base.Channel.GetValueListEntryByOid(pOid);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> InsertAndLoadNewValueListEntries(System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> pEntries)
{
return base.Channel.InsertAndLoadNewValueListEntries(pEntries);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetValueListEntriesByOids(System.Collections.Generic.List<long> oids)
{
return base.Channel.GetValueListEntriesByOids(oids);
}
public System.Collections.Generic.List<BS.Shared.DataContracts.ValueListEntryDC> GetGoalCategoriesByOids(System.Collections.Generic.List<long> oids)
{
return base.Channel.GetGoalCategoriesByOids(oids);
}
}
}

View File

@@ -65,7 +65,8 @@ namespace BeWo.ServiceProxy
{ typeof(IAccountingService), new EndpointAddress(_ServerName + "AccountingService.svc") },
{ typeof(IGkvAccountingService), new EndpointAddress(_ServerName + "GkvAccountingService.svc") },
{ typeof(IReportService), new EndpointAddress(_ServerName + "ReportService.svc") },
{ typeof(IAiEnhancedService), new EndpointAddress(_ServerName + "AiEnhancedService.svc") }
{ typeof(IAiEnhancedService), new EndpointAddress(_ServerName + "AiEnhancedService.svc") },
{ typeof(IAccountingEnhancedService), new EndpointAddress(_ServerName + "AccountingEnhancedService.svc") }
};
}
@@ -75,6 +76,17 @@ namespace BeWo.ServiceProxy
_ProxyCache = new Dictionary<Type, object>();
}
#region AccountingEnhancedService
public static void DoAccountingEnhancedServiceSnyc(Action<IAccountingEnhancedService> pAction)
=> DoSync<AccountingEnhancedServiceClient, IAccountingEnhancedService>(pAction);
public static T DoAccountingEnhancedServiceSnyc<T>(Func<IAccountingEnhancedService, T> pFunc)
=> DoSync<AccountingEnhancedServiceClient, IAccountingEnhancedService, T>(pFunc);
public static void DoAccountingEnhancedServiceAsnyc(Action<IAccountingEnhancedService> pAction, Action pCallback = null, Action<Exception> pErrorCallback = null, bool showWaitDialog = true, UserControl caller = null)
=> DoAsync<AccountingEnhancedServiceClient, IAccountingEnhancedService>(pAction, pCallback, pErrorCallback, showWaitDialog, caller?.Dispatcher);
public static void DoAccountingEnhancedServiceAsnyc<T>(Func<IAccountingEnhancedService, T> pFunc, Action<T> pCallback = null, Action<Exception> pErrorCallback = null, bool showWaitDialog = true, UserControl caller = null)
=> DoAsync<AccountingEnhancedServiceClient, IAccountingEnhancedService, T>(pFunc, pCallback, pErrorCallback, showWaitDialog, caller?.Dispatcher);
#endregion
#region AiEnhancedService
public static void DoAiEnhancedServiceSnyc(Action<IAiEnhancedService> pAction)
=> DoSync<AiEnhancedServiceClient, IAiEnhancedService>(pAction);

View File

@@ -1 +0,0 @@
svcutil.exe /noConfig /edb /n:*,BeWo.ServiceProxy /out:ServiceProxy\Generated.cs /ct:System.Collections.Generic.List`1 /r:..\Shared\bin\Debug\BS.Shared.dll http://localhost:3777/Host/EmployeeService.svc?wsdl http://localhost:3777/Host/CustomerService.svc?wsdl http://localhost:3777/Host/UserService.svc?wsdl http://localhost:3777/Host/StreamingService.svc?wsdl http://localhost:3777/Host/ValueListService.svc?wsdl http://localhost:3777/Host/DownloadService.svc?wsdl http://localhost:3777/Host/ResourceService.svc?wsdl http://localhost:3777/Host/OperationsService.svc?wsdl http://localhost:3777/Host/AnalysisService.svc?wsdl http://localhost:3777/Host/MailService.svc?wsdl http://localhost:3777/Host/AccountingService.svc?wsdl http://localhost:3777/Host/GkvAccountingService.svc?wsdl http://localhost:3777/Host/ReportService.svc?wsdl http://localhost:3777/Host/QueryService.svc?wsdl

View File

@@ -1,23 +0,0 @@
@echo off
REM Diese Batch-Datei führt eine andere Batch-Datei aus und schreibt das Ergebnis in eine Log-Datei
REM Pfad zur anderen Batch-Datei
set "SCRIPT_PATH=ServiceReferences.bat"
REM Pfad zur Log-Datei
set "LOG_FILE=ServiceReferencesWithLog.log.txt"
REM Leere die Log-Datei vor dem Start
echo. > %LOG_FILE%
REM Führe die andere Batch-Datei aus und leite die Ausgabe in die Log-Datei um
call %SCRIPT_PATH% >> %LOG_FILE% 2>&1
REM Überprüfe, ob die Ausführung erfolgreich war
if %errorlevel% equ 0 (
echo Die Ausführung von %SCRIPT_PATH% war erfolgreich. >> %LOG_FILE%
) else (
echo Die Ausführung von %SCRIPT_PATH% ist fehlgeschlagen. >> %LOG_FILE%
)
echo Log wurde in %LOG_FILE% geschrieben.

View File

@@ -0,0 +1,20 @@
REM Pfad zum Unterordner xyz
set "folder=Scripts"
REM Prüfen, ob der Ordner existiert
if not exist "%folder%" (
echo Der Ordner "%folder%" wurde nicht gefunden.
exit /b 1
)
cd %folder%
REM Alle .bat-Dateien im Ordner ausführen
for %%f in ("*.bat") do (
echo Starte %%f ...
start "" cmd /c "%%f"
)
echo Alle Batch-Dateien wurden gestartet.
endlocal

View File

@@ -0,0 +1,28 @@
REM Pfad zum Unterordner xyz
set "folder=Scripts"
REM Prüfen, ob der Ordner existiert
if not exist "%folder%" (
echo Der Ordner "%folder%" wurde nicht gefunden.
exit /b 1
)
cd %folder%
set startTime=%time%
REM Alle .bat-Dateien im Ordner ausführen
for %%f in ("*.bat") do (
echo Starte %%f ...
call "%%f"
)
echo Alle Batch-Dateien wurden ausgeführt.
echo Start Time: %startTime%
echo Finish Time: %time%
endlocal
pause

View File

@@ -1,7 +1,11 @@
using BeWo.View.Detail.AI;
using BeWo.View.Controls;
using BeWo.View.Detail.AI;
using BeWo.ViewModel;
using BeWo.ViewModel.Light;
using BS.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -24,6 +28,34 @@ namespace BeWo.Services
return control;
}
public PdfViewer GetPdfViewer(byte[] bytes) => GetPdfViewer(new MemoryStream(bytes));
public PdfViewer GetPdfViewer(MemoryStream ms)
{
var control = new PdfViewer();
control.PdfData = ms;
return control;
}
public TextViewer GetTextViewer(string text)
{
var textViewer = new TextViewer();
textViewer.Text = text;
return textViewer;
}
public GkvAbrechnungDetailControl GetGkvAbrechnungDetailControl(GkvAbrechnungLightVM vm)
{
var control = new GkvAbrechnungDetailControl(vm);
return control;
}
private string getStyleString(UIContext uIContext) {
switch (uIContext)
{

View File

@@ -1,5 +1,7 @@
using BeWo.View.Detail.AI;
using BeWo.View.Windows;
using BeWo.ViewModel;
using BeWo.ViewModel.Light;
using BS.Shared;
using System;
using System.Collections.Generic;
@@ -8,11 +10,52 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
namespace BeWo.Services
{
internal class BeWoWindowFactory : IWindowFactory
{
public AnimatedBeWoWindow GetAnimatedBeWoWindow(string title, Control control, double? height, double? width)
{
var beWoWindow = new AnimatedBeWoWindow();
if (height is double h)
beWoWindow.Height = h;
else
beWoWindow.Height = double.NaN;
if (width is double w)
beWoWindow.Width = w;
else
beWoWindow.Width = double.NaN;
beWoWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
beWoWindow.Owner = BeWoApp.CurrentBeWo.MainWindow;
beWoWindow.Title = title + " Fenster";
beWoWindow.rootGroupBox.Header = title;
beWoWindow.GroupBoxContent = control;
return beWoWindow;
}
public Control GetGenericModalViewWindow(string title, Control control, double? height , double? width)
{
var popup = new GroupBox();
popup.Style = Application.Current.FindResource("PopUpWindowStyle") as Style;
popup.Header = title;
popup.Content = control;
if(height is double h)
popup.Height = h;
if (width is double w)
popup.Width= w;
return popup;
}
public Dictionary<UIContext, string> UIContext2Header { get; set; } = new Dictionary<UIContext, string>()
{
{UIContext.ServiceRecord, "KI Chat: Zeiterfassung" },
@@ -24,57 +67,17 @@ namespace BeWo.Services
{UIContext.CustomerSingle, "KI Chat: Klient" },
};
public AnimatedBeWoWindow GetAiConversationWindow(UIContext uIContext, Control control, double height = 600, double width = 1200)
public string GetAiTitle(UIContext context)
{
UIContext2Header.TryGetValue(uIContext, out string title);
if (UIContext2Header.TryGetValue(context, out string title))
return title;
if (string.IsNullOrEmpty(title))
title = "default";
var window = GetAnimatedBeWoWindow(title, control,height, width);
return window;
return "default";
}
private AnimatedBeWoWindow GetAnimatedBeWoWindow(string title, Control control, double height = 600, double width = 600)
public string GetGkvTitle(GkvAbrechnungLightVM vm)
{
var beWoWindow = new AnimatedBeWoWindow();
beWoWindow.Height = height;
beWoWindow.Width = width;
beWoWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner;
beWoWindow.Owner = BeWoApp.CurrentBeWo.MainWindow;
beWoWindow.Title = title + " Fenster";
beWoWindow.rootGroupBox.Header = title;
beWoWindow.GroupBoxContent = control;
return beWoWindow;
}
public Control GetAiModalViewWindow(UIContext uIContext, Control control, double height = 600, double width = 1200)
{
UIContext2Header.TryGetValue(uIContext, out string title);
if (string.IsNullOrEmpty(title))
title = "default";
var popup = GetAiModalViewWindow(title, control, height, width);
return popup;
}
private Control GetAiModalViewWindow(string title, Control control, double height = 600, double width = 600)
{
var popup = new GroupBox();
popup.Style = Application.Current.FindResource("PopUpWindowStyle") as Style;
popup.Header = title;
popup.Content = control;
popup.Height = height;
popup.Width = width;
return popup;
return "GKV-Abrechnung Nr. " + vm.Oid;
}
}
}

View File

@@ -1,28 +1,35 @@
using BeWo.View.Windows;
using BeWo.View.Controls;
using BeWo.View;
using BeWo.View.Windows;
using BeWo.ViewModel;
using BS.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.ComponentModel;
using BeWo.ViewModel.Light;
namespace BeWo.Services
{
internal class BeWoWindowService : IWindowService
{
private readonly IWindowFactory _builder;
private readonly IWindowFactory _windowFactory;
private readonly IControlFactory _controlFactory;
public BeWoWindowService(IWindowFactory builder, IControlFactory controlFactory)
{
_builder = builder;
_windowFactory = builder;
_controlFactory = controlFactory;
}
public void ShowAiConversationWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null)
public void ShowAiConversationWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid, double height, double width)
{
//#if !DEBUG
// BeWoApp.ShowInfoMessage("Diese Funktion befindet sich in der Testphase.");
@@ -30,38 +37,94 @@ namespace BeWo.Services
//#endif
ShowWindowDialog(
wf => wf.GetAiTitle(uIContext),
cf => cf.GetAiConversationControl(uIContext, bewoObjects, reference_oid),
(wf, ctrl) => wf.GetAiConversationWindow(uIContext, ctrl));
height, width);
}
public void ShowAiConversationModalViewWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null)
public void ShowAiConversationModalViewWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid, double height, double width)
{
//#if !DEBUG
// BeWoApp.ShowInfoMessage("Diese Funktion befindet sich in der Testphase.");
// return;
//#endif
ShowModalViewWindow(cf => cf.GetAiConversationControl(uIContext, bewoObjects, reference_oid),
(wf, ctrl) => wf.GetAiModalViewWindow(uIContext, ctrl));
ShowModalViewWindow(
wf => wf.GetAiTitle(uIContext),
cf => cf.GetAiConversationControl(uIContext, bewoObjects, reference_oid),
height, width);
}
private void ShowWindow(Func<IControlFactory, Control> getControl, Func<IWindowFactory, Control, Window> getWindow)
public void ShowERechnungWindow(MemoryStream pdf)
{
var control = getControl(_controlFactory);
var window = getWindow(_builder, control);
window.Show();
ShowWindowDialog(
"E-Rechnung",
cf => cf.GetPdfViewer(pdf));
}
private void ShowWindowDialog(Func<IControlFactory, Control> getControl, Func<IWindowFactory, Control, Window> getWindow)
public void ShowERechnungModalViewWindow(MemoryStream pdf)
{
var control = getControl(_controlFactory);
var window = getWindow(_builder, control);
ShowModalViewWindow(
"E-Rechnung",
cf => cf.GetPdfViewer(pdf));
}
public void ShowTextViewerWindow(string title, string text, double height, double width)
{
ShowWindowDialog(
title,
cf => cf.GetTextViewer(text),
height, width);
}
public void ShowPdfViewerWindow(string title, MemoryStream pdf, double height = 900, double width = 600)
{
ShowWindowDialog(title,
cf => cf.GetPdfViewer(pdf),
height, width);
}
public void ShowPdfViewerModalViewWindow(string title, MemoryStream pdf)
{
ShowModalViewWindow(title,
cf => cf.GetPdfViewer(pdf));
}
public void ShowGkvAbrechnungDetailWindow(GkvAbrechnungLightVM vm, CancelEventHandler cancelEvent, double height, double width)
{
// Kleiner Hack
// - Ggf WindowFactory kapselt Zuorgnudn von Control zu Window
var title = _windowFactory.GetGkvTitle(vm);
var control = _controlFactory.GetGkvAbrechnungDetailControl(vm);
var window = _windowFactory.GetAnimatedBeWoWindow(title, control, height, width);
window.Closing += cancelEvent;
window.ShowDialog();
}
private void ShowModalViewWindow(Func<IControlFactory, Control> getControl, Func<IWindowFactory, Control, Control> getPopup)
private void ShowWindow(Func<IWindowFactory, string> getTitle, Func<IControlFactory, Control> getControl, double height, double width)
=> ShowWindow(getTitle(_windowFactory), getControl, height, width);
private void ShowWindowDialog(Func<IWindowFactory, string> getTitle, Func<IControlFactory, Control> getControl, double? height = null, double? width = null)
=> ShowWindowDialog(getTitle(_windowFactory), getControl, height, width);
private void ShowModalViewWindow(Func<IWindowFactory, string> getTitle, Func<IControlFactory, Control> getControl, double? height = null, double? width = null)
=> ShowModalViewWindow(getTitle(_windowFactory), getControl, height, width);
private void ShowWindow(string title, Func<IControlFactory, Control> getControl, double? height = null, double? width = null)
{
var control = getControl(_controlFactory);
var window = getPopup(_builder, control);
var window = _windowFactory.GetAnimatedBeWoWindow(title, control, height, width);
window.Show();
}
private void ShowWindowDialog(string title, Func<IControlFactory, Control> getControl, double? height = null, double? width = null)
{
var control = getControl(_controlFactory);
var window = _windowFactory.GetAnimatedBeWoWindow(title, control, height, width);
window.ShowDialog();
}
private void ShowModalViewWindow(string title, Func<IControlFactory, Control> getControl, double? height = null, double? width = null)
{
var control = getControl(_controlFactory);
var window = _windowFactory.GetGenericModalViewWindow(title, control, height, width);
window.CommandBindings.Add(new CommandBinding(ApplicationCommands.Close, (s, e) => BeWoApp.MainControl.CloseCurrentPopUp()));
BeWoApp.MainControl.ShowControlAsModalPopup(window);
}

View File

@@ -1,6 +1,10 @@
using BS.Shared;
using BeWo.View.Controls;
using BeWo.ViewModel;
using BeWo.ViewModel.Light;
using BS.Shared;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -12,5 +16,12 @@ namespace BeWo.Services
internal interface IControlFactory
{
Control GetAiConversationControl(UIContext uIContext, Dictionary<TableID, long[]> context, long? reference_oid = null);
PdfViewer GetPdfViewer(MemoryStream ms);
PdfViewer GetPdfViewer(byte[] bytes);
TextViewer GetTextViewer(string text);
GkvAbrechnungDetailControl GetGkvAbrechnungDetailControl(GkvAbrechnungLightVM vm);
}
}

View File

@@ -1,4 +1,6 @@
using BeWo.View.Windows;
using BeWo.ViewModel;
using BeWo.ViewModel.Light;
using BS.Shared;
using System;
using System.Collections.Generic;
@@ -12,7 +14,10 @@ namespace BeWo.Services
{
internal interface IWindowFactory
{
AnimatedBeWoWindow GetAiConversationWindow(UIContext uIContext, Control control, double height = 600, double width = 1200);
Control GetAiModalViewWindow(UIContext uIContext, Control control, double height = 600, double width = 1200);
AnimatedBeWoWindow GetAnimatedBeWoWindow(string title, Control control, double? height = null, double? width = null);
Control GetGenericModalViewWindow(string title, Control control, double? height = null, double? width = null);
string GetAiTitle(UIContext context);
string GetGkvTitle(GkvAbrechnungLightVM vm);
}
}

View File

@@ -1,6 +1,10 @@
using BS.Shared;
using BeWo.ViewModel;
using BeWo.ViewModel.Light;
using BS.Shared;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -11,7 +15,23 @@ namespace BeWo.Services
{
internal interface IWindowService
{
void ShowAiConversationWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null);
void ShowAiConversationModalViewWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null);
#region special
void ShowAiConversationWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null, double height = 600, double width = 1200);
void ShowAiConversationModalViewWindow(UIContext uIContext, Dictionary<TableID, long[]> bewoObjects, long? reference_oid = null, double height = 600, double width = 1200);
void ShowGkvAbrechnungDetailWindow(GkvAbrechnungLightVM vm, CancelEventHandler cancelEvent, double height = 900, double width = 600);
#endregion
#region base extended
void ShowERechnungWindow(MemoryStream pdf);
void ShowERechnungModalViewWindow(MemoryStream pdf);
#endregion
#region base
void ShowTextViewerWindow(string title, string text, double height = 900, double width = 600);
void ShowPdfViewerWindow(string title, MemoryStream pdf, double height = 900, double width = 600);
void ShowPdfViewerModalViewWindow(string title, MemoryStream pdf);
#endregion
}
}

View File

@@ -32,16 +32,13 @@ namespace BeWo.View.Controls
{
public GkvAbrechnungLightVM GkvAbrechnungLightVM { get; set; }
public Window Window { get; private set; }
public GkvAbrechnungDetailControl(GkvAbrechnungLightVM vm, Window window)
public GkvAbrechnungDetailControl(GkvAbrechnungLightVM vm)
{
InitializeComponent();
GkvAbrechnungLightVM = vm;
DataContext = vm;
Window = window;
}
private void Hyperlink_OnRequestNavigate(object sender, RequestNavigateEventArgs e)
@@ -69,7 +66,7 @@ namespace BeWo.View.Controls
this.DoGkvAccountingServiceAsync(
service => service.GetProtokollRawDataString(oid, BS.Shared.GkvRawDataType.Auftragsdatei),
callback => ShowTextViewer("Auftragsdatei", callback));
callback => BeWoApp.MainControl.WindowService.ShowTextViewerWindow("Auftragsdatei", callback));
}
private void btn_nutzdatendatei_Click(object sender, RoutedEventArgs e)
@@ -80,16 +77,7 @@ namespace BeWo.View.Controls
this.DoGkvAccountingServiceAsync(
service => service.GetProtokollRawDataString(oid, BS.Shared.GkvRawDataType.Nutzdatendatei),
callback => ShowTextViewer("Nutzdatendatei", callback));
}
private void ShowTextViewer(string title, string text)
{
var window = BeWoWindowBuilder.GetTextViewer(title, text);
window.Owner = Window;
window.ShowDialog();
callback => BeWoApp.MainControl.WindowService.ShowTextViewerWindow("Nutzdatendatei", callback));
}
private void gridView_CellValueChanging(object sender, CellValueChangedEventArgs e)

View File

@@ -0,0 +1,16 @@
<UserControl
x:Class="BeWo.View.Controls.PdfViewer"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dxpdf="http://schemas.devexpress.com/winfx/2008/xaml/pdf"
xmlns:local="clr-namespace:BeWo.View.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Name="root"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Grid>
<dxpdf:PdfViewerControl x:Name="pdfviewer" DocumentSource="{Binding PdfData, ElementName=root}" />
</Grid>
</UserControl>

View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace BeWo.View.Controls
{
/// <summary>
/// Interaktionslogik für PdfViewerPopup.xaml
/// </summary>
public partial class PdfViewer : UserControl
{
/// <summary>
/// Hier ein Memory Stream dran binden
/// </summary>
public object PdfData
{
get { return (object)GetValue(PdfDataProperty); }
set { SetValue(PdfDataProperty, value); }
}
// Using a DependencyProperty as the backing store for PdfData. This enables animation, styling, binding, etc...
public static readonly DependencyProperty PdfDataProperty =
DependencyProperty.Register("PdfData", typeof(object), typeof(PdfViewer), new PropertyMetadata(null));
public PdfViewer()
{
InitializeComponent();
}
}
}

View File

@@ -15,19 +15,20 @@
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<ScrollViewer
<TextBox
x:Name="txt"
Height="auto"
Margin="3"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
HorizontalContentAlignment="Left"
VerticalContentAlignment="Top"
Background="#eeeeee"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto">
<TextBox
x:Name="txt"
Background="#f1f1f1"
BorderThickness="1"
Foreground="Black"
IsReadOnly="True"
Text="test" />
</ScrollViewer>
BorderThickness="1"
Foreground="Black"
IsReadOnly="True"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"/>
</Grid>
<Button

View File

@@ -1,6 +1,7 @@
using System;
using System.Activities.Statements;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
@@ -217,11 +218,7 @@ namespace BeWo.View.Detail.Accounting
{
var vm = this.datagrid_gkvAbrechnungen.GetCurrentValue<GkvAbrechnungLightVM>();
var window = BeWoWindowBuilder.GetGkvAbrechnungDetailWindow(vm);
window.Closing += Detail_Window_Closing;
window.ShowDialog();
BeWoApp.MainControl.WindowService.ShowGkvAbrechnungDetailWindow(vm, Detail_Window_Closing);
}
private void Detail_Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)

View File

@@ -81,7 +81,8 @@
Margin="3"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
DataSource="{Binding VMList}">
DataSource="{Binding VMList}"
SelectedItem="{Binding SelectedVM}">
<dxg:GridControl.Columns>
<dxg:GridColumn
x:Name="ColumnChecked"
@@ -123,6 +124,20 @@
</Hyperlink>
</TextBlock>
</Button>
<Button
x:Name="btn_xRechnung"
Width="20"
Height="20"
Margin="1"
Padding="0"
VerticalAlignment="Center"
Command="{Binding DataContext.ShowXRechnungCommand, RelativeSource={RelativeSource AncestorType={x:Type dxg:GridControl}}}"
CommandParameter="{Binding RowData.Row}"
Content="a"
FontFamily="Webdings"
FontSize="13"
Foreground="#FFFFFF"
ToolTip="xRechnung erstellen" />
<Button
x:Name="btn_edit"
Width="20"
@@ -405,6 +420,14 @@
ToolTip="Ausgewählte Rechnungen auf bezahlt setzen">
Bezahlt setzen
</Button>
<Button
Name="button_eRechnung"
Margin="20,3,0,0"
HorizontalAlignment="Left"
Click="button_eRechnung_Click"
ToolTip="Ausgewählte Rechnungen eRechnung erstellen">
eRechnung erstellen
</Button>
</StackPanel>
</Grid>
</GroupBox>

File diff suppressed because it is too large Load Diff

View File

@@ -1,26 +1,47 @@
<localView:BeWoView x:Class="BeWo.View.Detail.Accounting.ServiceInvoiceCreatePopUpView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:localView="clr-namespace:BeWo.View"
xmlns:localViewModel="clr-namespace:BeWo.ViewModel" xmlns:localViewDetail="clr-namespace:BeWo.View.Detail.Accounting"
xmlns:val="clr-namespace:BeWo.Validation" xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" Height="Auto" Width="Auto"
HorizontalAlignment="Stretch" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:r="clr-namespace:BeWo.Security"
VerticalAlignment="Stretch" Focusable="True"
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic">
<localView:BeWoView
x:Class="BeWo.View.Detail.Accounting.ServiceInvoiceCreatePopUpView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:localView="clr-namespace:BeWo.View"
xmlns:localViewDetail="clr-namespace:BeWo.View.Detail.Accounting"
xmlns:localViewModel="clr-namespace:BeWo.ViewModel"
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
xmlns:r="clr-namespace:BeWo.Security"
xmlns:s="clr-namespace:System;assembly=mscorlib"
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
xmlns:val="clr-namespace:BeWo.Validation"
Width="Auto"
Height="Auto"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Focusable="True">
<GroupBox Width="1100" Style="{StaticResource PopUpWindowStyle}">
<GroupBox.Header>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,0,0">
<Image Source="..\..\Ressources\Icons\CoinsDisabled.png" Height="28" />
<TextBox Margin="10,4,0,0" Background="{x:Null}" Foreground="{DynamicResource MainGroupBoxForegroundBrush}"
FontSize="20" BorderBrush="{x:Null}" VerticalAlignment="Stretch" BorderThickness="0,0,0,0"
Padding="0,0,0,0" />
<StackPanel
Margin="0,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<Image Height="28" Source="..\..\Ressources\Icons\CoinsDisabled.png" />
<TextBox
Margin="10,4,0,0"
Padding="0,0,0,0"
VerticalAlignment="Stretch"
Background="{x:Null}"
BorderBrush="{x:Null}"
BorderThickness="0,0,0,0"
FontSize="20"
Foreground="{DynamicResource MainGroupBoxForegroundBrush}" />
</StackPanel>
</GroupBox.Header>
<Grid Background="{StaticResource ObjectEditBackgroundBrush}">
<GroupBox Margin="10" Header="Rechnung(en) erstellen" Style="{StaticResource ObjectEditGroupBox}">
<GroupBox
Margin="10"
Header="Rechnung(en) erstellen"
Style="{StaticResource ObjectEditGroupBox}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
@@ -38,41 +59,84 @@
<AccessText Margin="2">Klicken Sie anschließend auf "Erstellen".</AccessText>
</StackPanel>
</Label>
<TextBlock x:Name="txtWarnhinweis" Foreground="Red" Grid.Column="1" ></TextBlock>
<TextBlock
x:Name="txtWarnhinweis"
Grid.Column="1"
Foreground="Red" />
<dxg:GridControl x:Name="grid_newInvoices" Margin="3" Grid.Row="1" Grid.ColumnSpan="2" MinHeight="200">
<dxg:GridControl
x:Name="grid_newInvoices"
Grid.Row="1"
Grid.ColumnSpan="2"
MinHeight="200"
Margin="3">
<dxg:GridControl.Columns>
<dxg:GridColumn FieldName="Notice" Header="" FixedWidth="True" Width="24" ReadOnly="True">
<dxg:GridColumn
Width="24"
FieldName="Notice"
FixedWidth="True"
Header=""
ReadOnly="True">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<Button Content="r" Click="btn_delete_Click" FontFamily="Webdings" Width="18" Height="18"
VerticalAlignment="Center" />
<Button
Width="18"
Height="18"
VerticalAlignment="Center"
Click="btn_delete_Click"
Content="r"
FontFamily="Webdings" />
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.InvoiceTitle" Header="Über"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.RecipientOrganisation" Header="{markup:Translate EmpfängerSingular}"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.PeriodString" Header="Abrechnungszeitraum"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.InvoiceTitle" Header="Über" />
<dxg:GridColumn FieldName="InvoiceBase.RecipientOrganisation" Header="{markup:Translate EmpfängerSingular}" />
<dxg:GridColumn FieldName="InvoiceBase.PeriodString" Header="Abrechnungszeitraum" />
<dxg:GridColumn FieldName="EndClaim" Header="Betrag">
<dxg:GridColumn.EditSettings>
<dxe:TextEditSettings DisplayFormat="c" Mask="c" MaskType="Numeric"></dxe:TextEditSettings>
<dxe:TextEditSettings
DisplayFormat="c"
Mask="c"
MaskType="Numeric" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.Details" Header="Details"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.NeuErstellen" Header="Neu erstellen" ></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.DiffErstellen" Header="{markup:Translate Diff.-Rg erstellen}"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.Hinweise" Header="Hinweise"></dxg:GridColumn>
<dxg:GridColumn FieldName="InvoiceBase.Details" Header="Details" />
<dxg:GridColumn FieldName="InvoiceBase.NeuErstellen" Header="Neu erstellen" />
<dxg:GridColumn FieldName="InvoiceBase.DiffErstellen" Header="{markup:Translate Diff.-Rg erstellen}" />
<dxg:GridColumn FieldName="InvoiceBase.Hinweise" Header="Hinweise" />
</dxg:GridControl.Columns>
<dxg:GridControl.View>
<dxg:TableView ShowGroupPanel="False" CellValueChanging="TableView_CellValueChanging"/>
<dxg:TableView CellValueChanging="TableView_CellValueChanging" ShowGroupPanel="False" />
</dxg:GridControl.View>
</dxg:GridControl>
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="2" Grid.ColumnSpan="2">
<Button Content=" Für alle neu erstellen auswählen " Click="btn_SelectAllNeu" Margin="3" />
<Button Content=" Für alle Diff-Rg erstellen auswählen " Click="btn_SelectAllDiff" Margin="3" />
<Button Content=" Alle abwählen " Click="btn_DeselectAll" Padding="5 0" Margin="3" />
<Button Content=" Erstellen " x:Name="btn_create" Click="btn_create_Click" Margin="20,3,3,3" />
<Button Content=" Abbrechen " x:Name="btn_cancel" Click="btn_cancel_Click" Margin="3" />
<StackPanel
Grid.Row="2"
Grid.ColumnSpan="2"
HorizontalAlignment="Right"
Orientation="Horizontal">
<Button
Margin="3"
Click="btn_SelectAllNeu"
Content=" Für alle neu erstellen auswählen " />
<Button
Margin="3"
Click="btn_SelectAllDiff"
Content=" Für alle Diff-Rg erstellen auswählen " />
<Button
Margin="3"
Padding="5,0"
Click="btn_DeselectAll"
Content=" Alle abwählen " />
<Button
x:Name="btn_create"
Margin="20,3,3,3"
Click="btn_create_Click"
Content=" Erstellen " />
<Button
x:Name="btn_cancel"
Margin="3"
Click="btn_cancel_Click"
Content=" Abbrechen " />
</StackPanel>
</Grid>
</GroupBox>

View File

@@ -8,6 +8,7 @@ using BeWo.ServiceProxy;
using BeWo.ViewModel;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.Extensions;
namespace BeWo.View.Detail

View File

@@ -1,70 +1,158 @@
<localView:BeWoView x:Class="BeWo.View.Master.ReportView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
xmlns:localView="clr-namespace:BeWo.View"
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
Loaded="ReportView_OnLoaded"
Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True">
<localView:BeWoView
x:Class="BeWo.View.Master.ReportView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:localView="clr-namespace:BeWo.View"
xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup"
xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls"
Width="Auto"
Height="Auto"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Focusable="True"
Loaded="ReportView_OnLoaded">
<Grid>
<uc:ShadowChrome>
<GroupBox Style="{StaticResource MainContentGroupBoxStyle}">
<GroupBox.Header>
<StackPanel Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,11,0,0">
<Image Source="..\..\Ressources\Icons\ChartBarDisabled.png" RenderTransformOrigin="0.5,0.5" Width="32">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.3" ScaleY="1.3" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="-2" />
</TransformGroup>
</Image.RenderTransform>
</Image>
<TextBox Text="Auswertungen" Margin="10,0,0,0" Background="{x:Null}" Foreground="{DynamicResource MainGroupBoxForegroundBrush}" FontSize="22" BorderBrush="{x:Null}" VerticalAlignment="Stretch" Padding="0,0,0,0" BorderThickness="0,0,0,0" />
</StackPanel>
</GroupBox.Header>
<Grid Margin="0,3,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Rectangle Fill="{DynamicResource ReportContentBrush}" Height="6" />
<TabControl x:Name="root" Grid.Row="1" Style="{StaticResource ObjectEditTabControl}" BorderThickness="0,0,0,0">
<TabItem Header="{markup:Translate Berichte}" Name="tabitem_queries" Selector.Selected="tabitem_queries_Selected" />
<Grid>
<uc:ShadowChrome>
<GroupBox Style="{StaticResource MainContentGroupBoxStyle}">
<GroupBox.Header>
<StackPanel
Margin="0,11,0,0"
VerticalAlignment="Bottom"
Orientation="Horizontal">
<Image
Width="32"
RenderTransformOrigin="0.5,0.5"
Source="..\..\Ressources\Icons\ChartBarDisabled.png">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.3" ScaleY="1.3" />
<SkewTransform AngleX="0" AngleY="0" />
<RotateTransform Angle="0" />
<TranslateTransform X="0" Y="-2" />
</TransformGroup>
</Image.RenderTransform>
</Image>
<TextBox
Margin="10,0,0,0"
Padding="0,0,0,0"
VerticalAlignment="Stretch"
Background="{x:Null}"
BorderBrush="{x:Null}"
BorderThickness="0,0,0,0"
FontSize="22"
Foreground="{DynamicResource MainGroupBoxForegroundBrush}"
Text="Auswertungen" />
</StackPanel>
</GroupBox.Header>
<Grid Margin="0,3,0,0" Background="{StaticResource ObjectEditBackgroundBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Rectangle Height="6" Fill="{DynamicResource ReportContentBrush}" />
<TabControl
x:Name="root"
Grid.Row="1"
BorderThickness="0,0,0,0"
Style="{StaticResource ObjectEditTabControl}">
<TabItem
Name="tabitem_queries"
Header="{markup:Translate Berichte}"
Selector.Selected="tabitem_queries_Selected" />
<!--<TabItem Header="Abrechnung" IsSelected="True" Name="tabitem_accountingreport" Selector.Selected="tabitem_accountingreport_Selected" />-->
<TabItem Header="{markup:Translate Stundenübersicht}" Name="tabitem_flsReport" Selector.Selected="tabitem_flsReport_Selected" />
<TabItem Header="{markup:Translate Kilometerauswertung}" Name="TabItemKilometerauswertung" Selector.Selected="TabItemKilometerauswertung_OnSelected" />
<TabItem Header="{markup:Translate Mitarbeiterauswertung}" Name="tabitem_Mitarbeiter" Selector.Selected="tabitem_Mitarbeiter_Selected"/>
<TabItem Header="{markup:Translate Mitarbeiterauslastung}" Name="tabitem_maReport" Selector.Selected="tabitem_maReport_Selected"/>
<TabItem Header="{markup:Translate Mitarbeiterstundenkonto}" Name="tabitem_makonto" Selector.Selected="tabitem_maKonto_Selected"/>
<TabItem Header="{markup:Translate Urlaubsplanung}" Name="tabitem_abwesenheitsTabelle" Selector.Selected="tabitem_abwesenheitsTabelle_Selected"/>
<TabItem Header="{markup:Translate Dienstplanung}" Name="tabitem_dienstPlaner" Selector.Selected="tabitem_dienstPlaner_Selected"/>
<TabItem Header="{markup:Translate Hilfeplanübersicht}" Name="tabitem_supportConceptAnalysis" Selector.Selected="tabitem_supportConceptAnalysis_Selected" />
<TabItem Header="{markup:Translate Bewertungen}" Name="tabitem_RatingAnalysis" Selector.Selected="tabitem_RatingAnalysis_Selected" />
<TabItem Header="{markup:Translate Jahresbericht}" Name="tabitem_annualReport" Selector.Selected="tabitem_annualReport_Selected" />
<TabItem Header="{markup:Translate Quittierungsbelege}" Name="tabitem_serviceOverview" Selector.Selected="tabitem_serviceOverview_Selected" />
<TabItem Header="{markup:Translate Quittierungsbelege}" Name="tabitem_serviceOverview2" Selector.Selected="tabitem_serviceOverview2_Selected" Visibility="Collapsed"/>
<TabItem Header="{markup:Translate Stundenzettel}" Name="tabitem_stundenzettelOverview" Selector.Selected="tabitem_stundenzettelOverview_Selected" />
<TabItem Header="{markup:Translate Pivot Tabelle}" Name="tabitem_flexibleReport" Selector.Selected="tabitem_flexibleReport_Selected" />
<!--<TabItem Header="Spitzabrechnung" Name="tabitem_settlement" Selector.Selected="tabitem_settlement_Selected"/>-->
</TabControl>
<Border Grid.Row="2" Grid.ColumnSpan="3" Height="40" Margin="0,0,0,0" VerticalAlignment="Stretch" Background="#FF000000">
<Border.OpacityMask>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#19000000" Offset="0" />
<GradientStop Color="#33FFFFFF" Offset="1" />
</LinearGradientBrush>
</Border.OpacityMask>
</Border>
<StackPanel Grid.ColumnSpan="3" Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Height="Auto" Margin="0,5,5,0" HorizontalAlignment="Right">
<Button x:Name="btnClose" Content="Schließen" Margin="0,0,0,0" Command="ApplicationCommands.Close" Height="25" />
</StackPanel>
</Grid>
</GroupBox>
</uc:ShadowChrome>
</Grid>
<TabItem
Name="tabitem_flsReport"
Header="{markup:Translate Stundenübersicht}"
Selector.Selected="tabitem_flsReport_Selected" />
<TabItem
Name="TabItemKilometerauswertung"
Header="{markup:Translate Kilometerauswertung}"
Selector.Selected="TabItemKilometerauswertung_OnSelected" />
<TabItem
Name="tabitem_Mitarbeiter"
Header="{markup:Translate Mitarbeiterauswertung}"
Selector.Selected="tabitem_Mitarbeiter_Selected" />
<TabItem
Name="tabitem_maReport"
Header="{markup:Translate Mitarbeiterauslastung}"
Selector.Selected="tabitem_maReport_Selected" />
<TabItem
Name="tabitem_makonto"
Header="{markup:Translate Mitarbeiterstundenkonto}"
Selector.Selected="tabitem_maKonto_Selected" />
<TabItem
Name="tabitem_abwesenheitsTabelle"
Header="{markup:Translate Urlaubsplanung}"
Selector.Selected="tabitem_abwesenheitsTabelle_Selected" />
<TabItem
Name="tabitem_dienstPlaner"
Header="{markup:Translate Dienstplanung}"
Selector.Selected="tabitem_dienstPlaner_Selected" />
<TabItem
Name="tabitem_supportConceptAnalysis"
Header="{markup:Translate Hilfeplanübersicht}"
Selector.Selected="tabitem_supportConceptAnalysis_Selected" />
<TabItem
Name="tabitem_RatingAnalysis"
Header="{markup:Translate Bewertungen}"
Selector.Selected="tabitem_RatingAnalysis_Selected" />
<TabItem
Name="tabitem_annualReport"
Header="{markup:Translate Jahresbericht}"
Selector.Selected="tabitem_annualReport_Selected" />
<TabItem
Name="tabitem_serviceOverview"
Header="{markup:Translate Quittierungsbelege}"
Selector.Selected="tabitem_serviceOverview_Selected" />
<TabItem
Name="tabitem_serviceOverview2"
Header="{markup:Translate Quittierungsbelege}"
Selector.Selected="tabitem_serviceOverview2_Selected"
Visibility="Collapsed" />
<TabItem
Name="tabitem_stundenzettelOverview"
Header="{markup:Translate Stundenzettel}"
Selector.Selected="tabitem_stundenzettelOverview_Selected" />
<TabItem
Name="tabitem_flexibleReport"
Header="{markup:Translate Pivot Tabelle}"
Selector.Selected="tabitem_flexibleReport_Selected" />
<!--<TabItem Header="Spitzabrechnung" Name="tabitem_settlement" Selector.Selected="tabitem_settlement_Selected"/>-->
</TabControl>
<Border
Grid.Row="2"
Grid.ColumnSpan="3"
Height="40"
Margin="0,0,0,0"
VerticalAlignment="Stretch"
Background="#FF000000">
<Border.OpacityMask>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="#19000000" />
<GradientStop Offset="1" Color="#33FFFFFF" />
</LinearGradientBrush>
</Border.OpacityMask>
</Border>
<StackPanel
Grid.Row="2"
Grid.ColumnSpan="3"
Height="Auto"
Margin="0,5,5,0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Orientation="Horizontal">
<Button
x:Name="btnClose"
Height="25"
Margin="0,0,0,0"
Command="ApplicationCommands.Close"
Content="Schließen" />
</StackPanel>
</Grid>
</GroupBox>
</uc:ShadowChrome>
</Grid>
</localView:BeWoView>

View File

@@ -9,6 +9,7 @@
Background="Transparent"
Closed="Window_Closed"
Closing="Window_Closing"
Loaded="Window_Loaded"
ResizeMode="CanResizeWithGrip"
SnapsToDevicePixels="True"
TextOptions.TextFormattingMode="Display"

View File

@@ -1,7 +1,9 @@
using System;
using BeWo.ServiceProxy;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Runtime.Serialization.Formatters;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
@@ -47,7 +49,8 @@ namespace BeWo.View.Windows
CommandBindings.Add(new CommandBinding(ApplicationCommands.Close, (s, e) => Close()));
StartWaiting();
if(ServiceFacade.IsWaiting())
StartWaiting();
if (BeWoApp.MainControl.CurrentAnimatedBeWoWindow == null)
{
@@ -181,5 +184,11 @@ namespace BeWo.View.Windows
}
});
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
if (!ServiceFacade.IsWaiting() && _WaitLayer != null)
EndWaiting();
}
}
}

View File

@@ -16,41 +16,6 @@ namespace BeWo.View.Windows
{
public static class BeWoWindowBuilder
{
public static BeWoWindow GetTextViewer(string title, string text, bool fixed_size = false, double height = 600, double width = 600)
{
if (fixed_size)
return GetTextViewer(title, text, height, height, height, width, width, width);
var min_height = Math.Min(height, 300);
var max_height = Math.Max(height, 1000);
var min_width = Math.Min(width, 200);
var max_width = Math.Max(width, 1900);
return GetTextViewer(title, text, min_height, height, max_height, min_width, width, max_width);
}
public static BeWoWindow GetTextViewer(string title, string text, double min_height, double height, double max_height, double min_width, double width, double max_width)
{
var control = new TextViewer();
control.Text = text;
var beWoWindow = GetGenericBeWoWindow(title, min_height, height, max_height, min_width, width, max_width);
beWoWindow.GroupBoxContent = control;
return beWoWindow;
}
public static BeWoWindow GetGkvAbrechnungDetailWindow(GkvAbrechnungLightVM vM, double height = 600, double width = 900)
{
var beWoWindow = GetGenericBeWoWindow("GKV-Abrechnung Nr. " + vM.Oid + ": Details", 100, height, 1000, 400, width, 1600);
var detail = new GkvAbrechnungDetailControl(vM, beWoWindow);
beWoWindow.GroupBoxContent = detail;
return beWoWindow;
}
public static BeWoWindow GetBeWoWindow(String title, Control control, double height = 600, double width = 1200)
{
var beWoWindow = GetGenericBeWoWindow(title, 100, height, 1000, 100, width, 1600);

View File

@@ -94,12 +94,28 @@ namespace BeWo.ViewModel
if (originalValueProvider != null)
{
bool isDirty = !EqualityComparer<T>.Default.Equals(originalValueProvider(), value);
var isDirty = true;
if(DataContract != null)
{
isDirty = !EqualityComparer<T>.Default.Equals(getSafe(originalValueProvider), value);
}
StoreDirtyInformation(isDirty, propertyName);
}
FirePropertyChanged(propertyName);
return true;
}
private T getSafe<T>(Func<T> originalValueProvider)
{
try
{
return originalValueProvider();
}
catch (Exception e)
{
return default(T);
}
}
}
}

View File

@@ -917,6 +917,9 @@ namespace BeWo.ViewModel
get; set;
}
public StoredFileVM XRechnungStoredFileVM { get; set; }
public long? Oid => DataContract.InvoiceBaseOid;
public string SenderStreet => DataContract.SenderStreet;
public string SenderTown => DataContract.SenderTown;
public string SenderPostCode => DataContract.SenderPostCode;
@@ -989,6 +992,8 @@ namespace BeWo.ViewModel
IsGkvValid = pDataContract.IsGkvValid;
IsGkvValidError = pDataContract.IsGkvValidError;
IsAlreadyInActiveGkvAbrechnung = pDataContract.IsAlreadyInActiveGkvAbrechnung;
XRechnungStoredFileVM = new StoredFileVM(pDataContract.XRechnungStoredFile);
}
protected override InvoiceBaseDC MapToDataContract(InvoiceBaseDC pDataContract, bool doCommit)

View File

@@ -1,98 +1,134 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Windows;
using BeWo.ServiceProxy;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Extensions;
using DevExpress.DataAccess.Native.Web;
using DevExpress.Mvvm;
using DevExpress.Xpf.Editors;
using DevExpress.Xpf.Layout.Core;
namespace BeWo.ViewModel.ListViewModel
{
public class InvoiceBaseListVM : AbstractDCListMapperVM<InvoiceBaseDC, InvoiceBaseVM>
{
#region Constants and Fields
public class InvoiceBaseListVM : AbstractDCListMapperVM<InvoiceBaseDC, InvoiceBaseVM>
{
public static string PropertyName_DateTimeSpanFilter = "DateTimeSpanFilter";
public static string PropertyName_DateTimeSpanFilter = "DateTimeSpanFilter";
public static string PropertyName_FilterResultAmountSum = "FilterResultAmountSum";
public static string PropertyName_FilterResultAmountNotPaidSum = "FilterResultAmountNotPaidSum";
public static string PropertyName_FilterResultAmountSum = "FilterResultAmountSum";
public static string PropertyName_FilterResultAmountNotPaidSum = "FilterResultAmountNotPaidSum";
private DateTimeSpan _DateTimeSpanFilter;
private DateTimeSpan _DateTimeSpanFilter;
private BindingList<InvoiceBaseVM> _FilteredInvoices;
private BindingList<InvoiceBaseVM> _FilteredInvoices;
public InvoiceBaseListVM(List<InvoiceBaseDC> pDCs) : base(pDCs)
{
VMList.ListChanged += (s, e) => FirePropertyChanged(PropertyName_FilterResultAmountSum);
VMList.ListChanged += (s, e) => FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
#endregion
bool canExecute(InvoiceBaseVM invoice_vm) => invoice_vm is object && true;
ShowXRechnungCommand = new DelegateCommand<InvoiceBaseVM>(ShowXRechnung, canExecute);
}
#region Constructors and Destructors
public DelegateCommand<InvoiceBaseVM> ShowXRechnungCommand { get; set; }
public InvoiceBaseListVM(List<InvoiceBaseDC> pDCs) : base(pDCs)
{
this.VMList.ListChanged += (s, e) => this.FirePropertyChanged(PropertyName_FilterResultAmountSum);
this.VMList.ListChanged += (s, e) => this.FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
}
public DateTimeSpan DateTimeSpanFilter
{
get
{
return _DateTimeSpanFilter;
}
#endregion
set
{
if (AreDifferent(_DateTimeSpanFilter, value))
{
_DateTimeSpanFilter = value;
FirePropertyChanged(PropertyName_DateTimeSpanFilter);
#region Properties
}
}
}
public DateTimeSpan DateTimeSpanFilter
{
get
{
return this._DateTimeSpanFilter;
}
public decimal? FilterResultAmountSum
{
get
{
return VMList.Sum(e => e.TotalAmount);
}
}
public decimal? FilterResultAmountNotPaidSum
{
get
{
decimal? sum = 0.0m;
foreach (var item in VMList)
sum += item.IsPaid ? item.TotalAmount : 0;
set
{
if (this.AreDifferent(this._DateTimeSpanFilter, value))
{
this._DateTimeSpanFilter = value;
this.FirePropertyChanged(PropertyName_DateTimeSpanFilter);
return FilterResultAmountSum - sum;
}
}
}
}
}
public void ShowXRechnung(InvoiceBaseVM invoice_vm)
{
var invoice_base = invoice_vm;
public decimal? FilterResultAmountSum
{
get
{
return this.VMList.Sum(e => e.TotalAmount);
}
}
public decimal? FilterResultAmountNotPaidSum
{
get
{
decimal? sum = 0.0m;
foreach (var item in this.VMList)
sum += item.IsPaid ? item.TotalAmount : 0;
// Holt bereits geladene
if (invoice_base.XRechnungStoredFileVM is StoredFileVM vm && vm.Data is byte[] bytes)
{
BeWoApp.MainControl.WindowService.ShowERechnungWindow(new MemoryStream(bytes));
return;
}
return FilterResultAmountSum - sum;
}
}
// Noch nicht geladen
var invoice_base_dc = invoice_base.DataContract;
var invoice_base_oid = invoice_base_dc.InvoiceBaseOid ?? -1;
var invoice_type = (int)invoice_base_dc.Type;
var report_link = invoice_base.ReportLink;
ServiceFacade.DoAccountingEnhancedServiceAsnyc(
x => x.GetXRechnung(invoice_base_oid, invoice_type, report_link),
response =>
{
if (response.Success)
{
if (response.Data.Item1 is StoredFileDC dc)
{
invoice_base.XRechnungStoredFileVM.UpdateByDataContract(dc);
}
bytes = response.Data.Item2;
#endregion
invoice_base.XRechnungStoredFileVM.Data = bytes;
BeWoApp.MainControl.WindowService.ShowERechnungWindow(new MemoryStream(bytes));
}
else
{
MessageBox.Show(response.ToErrorString());
}
}
);
}
internal void UpdateList(IList<InvoiceBaseDC> dcList)
{
this.VMList.Clear();
this.VMList.AddRange(dcList.Select(CreateVM));
VMList.Clear();
VMList.AddRange(dcList.Select(CreateVM));
this.FirePropertyChanged(PropertyName_FilterResultAmountSum);
this.FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
FirePropertyChanged(PropertyName_FilterResultAmountSum);
FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
}
internal void UpdateList(IList<InvoiceBaseVM> vmList)
{
this.VMList.Clear();
this.VMList.AddRange(vmList);
internal void UpdateList(IList<InvoiceBaseVM> vmList)
{
VMList.Clear();
VMList.AddRange(vmList);
this.FirePropertyChanged(PropertyName_FilterResultAmountSum);
this.FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
}
}
FirePropertyChanged(PropertyName_FilterResultAmountSum);
FirePropertyChanged(PropertyName_FilterResultAmountNotPaidSum);
}
}
}

View File

@@ -0,0 +1,113 @@
using System;
using BS.Shared;
using BS.Shared.DataContracts;
namespace BeWo.ViewModel
{
public class StoredFileVM : AbstractDCMapperVM<StoredFileDC>
{
private string _FileName;
private string _FilePath;
private string _ContentType;
private long _Size;
private string _Checksum;
private int? _BeWoObjectTid;
private long? _BeWoObjectOid;
private byte[] _Data;
public StoredFileVM(StoredFileDC dc) : base(dc, dc?.Oid)
{
}
public string FileName
{
get => _FileName;
set => SetProperty(ref _FileName, value, nameof(FileName), () => DataContract.FileName);
}
public string FilePath
{
get => _FilePath;
set => SetProperty(ref _FilePath, value, nameof(FilePath), () => DataContract.FilePath);
}
public string ContentType
{
get => _ContentType;
set => SetProperty(ref _ContentType, value, nameof(ContentType), () => DataContract.ContentType);
}
public long Size
{
get => _Size;
set => SetProperty(ref _Size, value, nameof(Size), () => DataContract.Size);
}
public string Checksum
{
get => _Checksum;
set => SetProperty(ref _Checksum, value, nameof(Checksum), () => DataContract.Checksum);
}
public int? BeWoObjectTid
{
get => _BeWoObjectTid;
set => SetProperty(ref _BeWoObjectTid, value, nameof(BeWoObjectTid), () => DataContract.BeWoObjectTid);
}
public long? BeWoObjectOid
{
get => _BeWoObjectOid;
set => SetProperty(ref _BeWoObjectOid, value, nameof(BeWoObjectOid), () => DataContract.BeWoObjectOid);
}
public byte[] Data
{
get => _Data;
set => SetProperty(ref _Data, value, nameof(Data));
}
protected override void InitByDataContract(StoredFileDC pDataContract)
{
if (pDataContract is null)
return;
_FileName = pDataContract.FileName;
_FilePath = pDataContract.FilePath;
_ContentType = pDataContract.ContentType;
_Size = pDataContract.Size;
_Checksum = pDataContract.Checksum;
_BeWoObjectTid = pDataContract.BeWoObjectTid;
_BeWoObjectOid = pDataContract.BeWoObjectOid;
}
protected override StoredFileDC MapToDataContract(StoredFileDC pDataContract, bool doCommit)
{
pDataContract.FileName = _FileName;
pDataContract.FilePath = _FilePath;
pDataContract.ContentType = _ContentType;
pDataContract.Size = _Size;
pDataContract.Checksum = _Checksum;
pDataContract.BeWoObjectTid = _BeWoObjectTid;
pDataContract.BeWoObjectOid = _BeWoObjectOid;
return pDataContract;
}
public override void UpdateByDataContract(StoredFileDC pDataContract)
{
if (pDataContract is null)
return;
FileName = pDataContract.FileName;
FilePath = pDataContract.FilePath;
ContentType = pDataContract.ContentType;
Size = pDataContract.Size;
Checksum = pDataContract.Checksum;
BeWoObjectTid = pDataContract.BeWoObjectTid;
BeWoObjectOid = pDataContract.BeWoObjectOid;
}
}
}

View File

@@ -49,6 +49,7 @@
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint" contract="BeWo.ServiceProxy.IReportService" name="ReportServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint" contract="BeWo.ServiceProxy.IOperationsEnhancedService" name="OperationsEnhancedServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint" contract="BeWo.ServiceProxy.IAiEnhancedService" name="AiEnhancedServiceEndpoint" />
<endpoint binding="basicHttpBinding" bindingConfiguration="BeWoBasicEndpoint" contract="BeWo.ServiceProxy.IAccountingEnhancedService" name="AccountingEnhancedServiceEndpoint" />
</client>
<behaviors>
<endpointBehaviors>

View File

@@ -43,6 +43,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Translation", "Translation"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TranslationUnitTest", "TranslationUnitTest\TranslationUnitTest.csproj", "{83C43FEC-233D-49EF-BD23-BF842A3EBDF5}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Invoicing", "Invoicing", "{67C70649-9837-49F3-982A-993DBD5A7AD3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XRechnungUnitTest", "XRechnungUnitTest\XRechnungUnitTest.csproj", "{6CED1002-FFB1-46AD-97C7-583BA11208F3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -189,6 +193,18 @@ Global
{83C43FEC-233D-49EF-BD23-BF842A3EBDF5}.Release|Any CPU.Build.0 = Release|Any CPU
{83C43FEC-233D-49EF-BD23-BF842A3EBDF5}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{83C43FEC-233D-49EF-BD23-BF842A3EBDF5}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|.NET.ActiveCfg = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|.NET.Build.0 = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|.NET.ActiveCfg = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|.NET.Build.0 = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|Any CPU.Build.0 = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{6CED1002-FFB1-46AD-97C7-583BA11208F3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -207,6 +223,8 @@ Global
{7630915F-DFE4-45A4-A7B1-B6D19B0126C1} = {2F7893AD-34FC-40A2-838A-3D2D8596E9AC}
{B331128C-7E9F-4BDC-B509-A8DAE1B94E5C} = {CCD6B644-49E7-4A11-BD8F-607088A4AC83}
{83C43FEC-233D-49EF-BD23-BF842A3EBDF5} = {B331128C-7E9F-4BDC-B509-A8DAE1B94E5C}
{67C70649-9837-49F3-982A-993DBD5A7AD3} = {CCD6B644-49E7-4A11-BD8F-607088A4AC83}
{6CED1002-FFB1-46AD-97C7-583BA11208F3} = {67C70649-9837-49F3-982A-993DBD5A7AD3}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5352BE53-F2FD-442F-85A8-4157599AA153}

View File

@@ -170,12 +170,6 @@
<SubType>Designer</SubType>
</Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
@@ -193,6 +187,12 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -147,16 +147,6 @@
<Compile Include="Models\Segmente\SLGA\SegmentSLGAUST.cs" />
<Compile Include="Models\Blocke\Nutzdatendatei.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj">
<Project>{B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE}</Project>
<Name>Data</Name>
</ProjectReference>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
@@ -180,5 +170,15 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Data\Data.csproj">
<Project>{b0d73e3d-4ae7-4024-93a6-db1f46d7ccee}</Project>
<Name>Data</Name>
</ProjectReference>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -233,9 +233,9 @@ namespace BeWo.Data
return clientip == appsettingip;
}
private static string GetRequestIP(bool CheckForward = false)
{
// https://stackoverflow.com/a/13249280
private static string GetRequestIP(bool CheckForward = false)
{
// https://stackoverflow.com/a/13249280
string ip = null;
if (CheckForward)

View File

@@ -59,5 +59,5 @@ namespace BeWo.Data.Access
{
return Session.CreateCriteria(typeof(T), alias).Add(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Active));
}
}
}
}

View File

@@ -1,4 +1,5 @@
using System;
using BS.Shared.Interface;
using System;
namespace BeWo.Data.Access
{
@@ -25,5 +26,15 @@ namespace BeWo.Data.Access
public static ScriptDAO ScriptDAO => _ScriptDAO.Value;
public static SearchDAO SearchDAO => _SearchDAO.Value;
public static UserDAO UserDAO => _UserDAO.Value;
}
public static LocalFileStorageDAO GetLocalFileStorage(string rootpath)
{
return new LocalFileStorageDAO(rootpath);
}
public static LocalTenantFileStorageDAO GetLocalTenantFileStorage(string rootpath)
{
return new LocalTenantFileStorageDAO(rootpath);
}
}
}

View File

@@ -12,142 +12,142 @@ using NHibernate.Proxy;
namespace BeWo.Data.Access
{
public class GenericDAO : AbstractBaseDAO
{
internal GenericDAO()
{
}
public class GenericDAO : AbstractBaseDAO
{
internal GenericDAO()
{
}
public virtual void Deactivate(BeWoEntityBase pEntity)
{
Debug.WriteLine($"---->DEACTIVATE von {pEntity.GetType().FullName}");
public virtual void Deactivate(BeWoEntityBase pEntity)
{
Debug.WriteLine($"---->DEACTIVATE von {pEntity.GetType().FullName}");
this.SetActivationType(pEntity, ActivationTypeId.Deleted);
}
this.SetActivationType(pEntity, ActivationTypeId.Deleted);
}
public virtual void Deactivate<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if(pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"---->DEACTIVATE von {obj.GetType().FullName}");
}
public virtual void Deactivate<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if (pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"---->DEACTIVATE von {obj.GetType().FullName}");
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
foreach (BeWoEntityBase iEntity in pEntitys)
{
iEntity.IsActive = ActivationTypeId.Deleted;
if (iEntity.SystemEntryID == null)
{
this.Session.SaveOrUpdate(iEntity);
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual void Delete(BeWoEntityBase pEntity)
{
Debug.WriteLine($"---->DELETE von {pEntity.GetType().FullName}");
if(pEntity.SystemEntryID is null)
{
LogSignatureDeletion(pEntity);
var lTransaction = Session.BeginTransaction();
try
{
Session.Delete(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
public virtual void Delete<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if(pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"---->DELETE von {obj.GetType().FullName}");
}
var entities = pEntitys.ToList();
foreach(var entity in entities)
{
LogSignatureDeletion(entity);
}
var lTransaction = Session.BeginTransaction();
try
{
foreach(var iEntity in entities)
{
if(iEntity.SystemEntryID is null || iEntity.SystemEntryID.Value == SystemEntryID.AdditionalServiceAssessmentSheet)
{
Session.Delete(iEntity);
}
else
{
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
foreach (BeWoEntityBase iEntity in pEntitys)
{
iEntity.IsActive = ActivationTypeId.Deleted;
if (iEntity.SystemEntryID == null)
{
this.Session.SaveOrUpdate(iEntity);
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
}
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual IList<T> GetAll<T>() where T : BeWoEntityBase
{
return this.CreateCriteria<T>().List<T>();
}
public virtual void Delete(BeWoEntityBase pEntity)
{
Debug.WriteLine($"---->DELETE von {pEntity.GetType().FullName}");
public virtual IList<T> GetAllActive<T>() where T : BeWoEntityBase
{
return this.GetAllWithActivationType<T>(ActivationTypeId.Active);
}
if (pEntity.SystemEntryID is null)
{
LogSignatureDeletion(pEntity);
public virtual IList<T> GetAllActiveAndArchived<T>() where T : BeWoEntityBase
{
return this.CreateCriteria<T>().Add(Restrictions.Or(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Active), Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Archived))).List<T>();
}
var lTransaction = Session.BeginTransaction();
public virtual IList<T> GetAllWithActivationType<T>(ActivationTypeId activationType) where T : BeWoEntityBase
{
try
{
Session.Delete(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
public virtual void Delete<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if (pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"---->DELETE von {obj.GetType().FullName}");
}
var entities = pEntitys.ToList();
foreach (var entity in entities)
{
LogSignatureDeletion(entity);
}
var lTransaction = Session.BeginTransaction();
try
{
foreach (var iEntity in entities)
{
if (iEntity.SystemEntryID is null || iEntity.SystemEntryID.Value == SystemEntryID.AdditionalServiceAssessmentSheet)
{
Session.Delete(iEntity);
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual IList<T> GetAll<T>() where T : BeWoEntityBase
{
return this.CreateCriteria<T>().List<T>();
}
public virtual IList<T> GetAllActive<T>() where T : BeWoEntityBase
{
return this.GetAllWithActivationType<T>(ActivationTypeId.Active);
}
public virtual IList<T> GetAllActiveAndArchived<T>() where T : BeWoEntityBase
{
return this.CreateCriteria<T>().Add(Restrictions.Or(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Active), Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Archived))).List<T>();
}
public virtual IList<T> GetAllWithActivationType<T>(ActivationTypeId activationType) where T : BeWoEntityBase
{
return this.CreateCriteria<T>().Add(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, activationType)).List<T>();
}
}
public virtual T GetByID<T>(long pOid) where T : BeWoEntityBase, new()
{
return this.Session.Get<T>(pOid);
}
public virtual T GetByID<T>(long pOid) where T : BeWoEntityBase, new()
{
return this.Session.Get<T>(pOid);
}
public virtual List<T> GetByIDs<T>(IEnumerable<long> pOids) where T : BeWoEntityBase, new()
{
@@ -155,307 +155,330 @@ namespace BeWo.Data.Access
}
public virtual IList<T> GetActiveByIDs<T>(IEnumerable<long> pOids) where T : BeWoEntityBase, new()
{
return CreateCriteria<T>().Add(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Active)).Add(Restrictions.In(BeWoEntityBase.PropertyName_Oid, pOids.ToArray())).List<T>();
}
{
return CreateCriteria<T>().Add(Restrictions.Eq(BeWoEntityBase.PropertyName_IsActive, ActivationTypeId.Active)).Add(Restrictions.In(BeWoEntityBase.PropertyName_Oid, pOids.ToArray())).List<T>();
}
public virtual void Insert(BeWoEntityBase pEntity)
{
var entityType = pEntity.GetType();
public virtual void Insert(BeWoEntityBase pEntity)
{
var entityType = pEntity.GetType();
Debug.WriteLine($"++++>INSERT von {entityType.FullName}");
Debug.WriteLine($"++++>INSERT von {entityType.FullName}");
if (pEntity is LightEntity)
throw new InvalidOperationException("Cannot insert LightEntity, only update! str:" + pEntity.ToString());
var session = Session;
if (session is null)
{
throw new InvalidOperationException("GenericDAO.Insert(): Session is null");
}
var lTransaction = session.BeginTransaction();
try
{
var session = Session;
{
pEntity.IsActive = ActivationTypeId.Active;
session.Save(pEntity);
lTransaction.Commit();
if(session is null)
{
throw new InvalidOperationException("GenericDAO.Insert(): Session is null");
}
if (pEntity is Signature signature)
{
LogSignatureInsert(signature);
}
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
var lTransaction = session.BeginTransaction();
try
{
pEntity.IsActive = ActivationTypeId.Active;
session.Save(pEntity);
lTransaction.Commit();
public virtual void Insert<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if (pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"++++>INSERT von {obj.GetType().FullName}");
}
if(pEntity is Signature signature)
{
LogSignatureInsert(signature);
}
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
catch (Exception ex)
{
throw ex;
}
}
public virtual void Insert<T>(IEnumerable<T> pEntitys) where T : BeWoEntityBase, new()
{
if(pEntitys?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"++++>INSERT von {obj.GetType().FullName}");
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
foreach (BeWoEntityBase iEntity in pEntitys)
{
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
foreach (BeWoEntityBase iEntity in pEntitys)
{
if (iEntity is LightEntity)
throw new InvalidOperationException("Cannot insert LightEntity, only update! str:" + iEntity.ToString());
this.Session.Save(iEntity);
}
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual T LoadByID<T>(long pOid) where T : BeWoEntityBase, new()
{
return this.Session.Load<T>(pOid);
}
public virtual List<T> LoadByIDs<T>(IEnumerable<long> pOids) where T : BeWoEntityBase, new()
{
return pOids.Select(oid => this.LoadByID<T>(oid)).ToList();
}
public virtual T LoadSystemEntry<T>(SystemEntryID pId) where T : BeWoEntityBase, new()
{
return this.CreateCriteria<T>().Add(Restrictions.Eq(BeWoEntityBase.PropertyName_SystemEntryID, pId)).UniqueResult<T>();
}
public void Reattach<T>(T entity) where T : BeWoEntityBase, new()
{
this.Session.Lock(entity, LockMode.None);
}
public virtual void SetActivationType(BeWoEntityBase pEntity, ActivationTypeId activationType)
{
if (pEntity.SystemEntryID == null)
{
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
pEntity.IsActive = activationType;
this.Session.SaveOrUpdate(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
public virtual void Update(BeWoEntityBase pEntity)
{
Debug.WriteLine($"####>UPDATE von {pEntity.GetType().FullName}");
if(pEntity is ServiceRecord serviceRecord && serviceRecord.Oid.HasValue)
{
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
if(hasPreviouslyExistingSignature && serviceRecord.SignatureOid is null)
{
LogSignatureDeletion(serviceRecord);
}
}
if(pEntity is Bargeldkasse bargeldkasse && bargeldkasse.Oid.HasValue)
{
var oldTransactions = DAOFactory.SearchDAO.LoadBargeldTransaktionenNonLazy(bargeldkasse.Oid.Value);
var deletedTransactions = oldTransactions.Where(oldTransaction => false == bargeldkasse.Bargeldtransaktionen.Any(x => x.Oid.HasValue && x.Oid.Equals(oldTransaction.Oid))).ToList();
var deletedTransactionsWithSignature = deletedTransactions.Where(oldTransaction => oldTransaction.SignatureOid.HasValue).ToList();
foreach(var deletedTransactionWithSignature in deletedTransactionsWithSignature)
{
LogSignatureDeletion(deletedTransactionWithSignature);
}
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
this.Session.SaveOrUpdate(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual void Update<T>(IEnumerable<T> pEntities) where T : BeWoEntityBase, new()
{
if(pEntities?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"####>UPDATE von {obj.GetType().FullName}");
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
if(pEntities is IEnumerable<ServiceRecord> serviceRecords)
{
foreach(var serviceRecord in serviceRecords)
{
if(serviceRecord.Oid is null)
{
continue;
}
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
if(hasPreviouslyExistingSignature && serviceRecord.SignatureOid is null)
{
LogSignatureDeletion(serviceRecord);
}
}
}
if(pEntities is IEnumerable<Bargeldkasse> bargeldkassen)
{
foreach(var bargeldkasse in bargeldkassen)
{
if(bargeldkasse.Oid is null)
{
continue;
}
var oldTransactions = DAOFactory.SearchDAO.LoadBargeldTransaktionenNonLazy(bargeldkasse.Oid.Value);
var deletedTransactions = oldTransactions.Where(oldTransaction => bargeldkasse.Bargeldtransaktionen.Any(x => x.Oid.HasValue && x.Oid.Equals(oldTransaction.Oid))).ToList();
var deletedTransactionsWithSignature = deletedTransactions.Where(oldTransaction => oldTransaction.SignatureOid.HasValue).ToList();
foreach(var deletedTransactionWithSignature in deletedTransactionsWithSignature)
{
LogSignatureDeletion(deletedTransactionWithSignature);
}
}
}
foreach (BeWoEntityBase iEntity in pEntities)
{
this.Session.SaveOrUpdate(iEntity);
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual T Unproxy<T>(T obj)
{
if (!NHibernateUtil.IsInitialized(obj))
{
NHibernateUtil.Initialize(obj);
}
if (obj is INHibernateProxy)
{
return (T)this.Session.GetSessionImplementation().PersistenceContext.Unproxy(obj);
}
return obj;
}
public virtual int GetRowCount<T>() where T : BeWoEntityBase
{
return Session.QueryOver<T>().RowCount();
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
private static void LogSignatureDeletion(BeWoEntityBase entity)
{
var signatureHistoryEntries = new List<SignatureHistory>();
public virtual T LoadByID<T>(long pOid) where T : BeWoEntityBase, new()
{
return this.Session.Load<T>(pOid);
}
switch(entity)
{
case Signature signature:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryEntry(signature, SignatureEventType.Delete));
break;
case ConfirmationReceiptSignature confirmationReceiptSignature:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateMonthlySignatureHistoryEntry(confirmationReceiptSignature, SignatureEventType.Delete));
break;
case ServiceRecord serviceRecord when serviceRecord.Oid.HasValue:
{
var s = DAOFactory.SearchDAO.LoadJustDeletedSignature(serviceRecord.Oid.Value, true);
public virtual List<T> LoadByIDs<T>(IEnumerable<long> pOids) where T : BeWoEntityBase, new()
{
return pOids.Select(oid => this.LoadByID<T>(oid)).ToList();
}
var signatureHistoryEntry = DAOFactory.SearchDAO.CreateSignatureHistoryEntry(s, SignatureEventType.CascadingDelete);
public virtual T LoadSystemEntry<T>(SystemEntryID pId) where T : BeWoEntityBase, new()
{
return this.CreateCriteria<T>().Add(Restrictions.Eq(BeWoEntityBase.PropertyName_SystemEntryID, pId)).UniqueResult<T>();
}
signatureHistoryEntries.AddIfNotNull(signatureHistoryEntry);
break;
}
case Bargeldkasse bargeldkasse when bargeldkasse.Bargeldtransaktionen.Any(bargeldtransaktion => bargeldtransaktion.SignatureOid.HasValue):
signatureHistoryEntries.AddRangeIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryEntryForBargeldkasse(bargeldkasse));
break;
case Bargeldtransaktion bargeldtransaktion when bargeldtransaktion.SignatureOid.HasValue:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryForBargeldtransaktion(bargeldtransaktion, SignatureEventType.CascadingDelete));
break;
}
public void Reattach<T>(T entity) where T : BeWoEntityBase, new()
{
this.Session.Lock(entity, LockMode.None);
}
if(signatureHistoryEntries.Any())
{
DAOFactory.GenericDAO.Insert(signatureHistoryEntries.Where(she => she is object));
}
}
public virtual void SetActivationType(BeWoEntityBase pEntity, ActivationTypeId activationType)
{
if (pEntity.SystemEntryID == null)
{
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
pEntity.IsActive = activationType;
this.Session.SaveOrUpdate(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
else
{
throw new InvalidOperationException("Can't delete System Entries");
}
}
private static void LogSignatureUpdateForServiceRecord(ServiceRecord serviceRecord)
{
/*
public virtual void Update(BeWoEntityBase pEntity)
{
Debug.WriteLine($"####>UPDATE von {pEntity.GetType().FullName}");
if (pEntity is ServiceRecord serviceRecord && serviceRecord.Oid.HasValue)
{
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
if (hasPreviouslyExistingSignature && serviceRecord.SignatureOid is null)
{
LogSignatureDeletion(serviceRecord);
}
}
if (pEntity is Bargeldkasse bargeldkasse && bargeldkasse.Oid.HasValue)
{
var oldTransactions = DAOFactory.SearchDAO.LoadBargeldTransaktionenNonLazy(bargeldkasse.Oid.Value);
var deletedTransactions = oldTransactions.Where(oldTransaction => false == bargeldkasse.Bargeldtransaktionen.Any(x => x.Oid.HasValue && x.Oid.Equals(oldTransaction.Oid))).ToList();
var deletedTransactionsWithSignature = deletedTransactions.Where(oldTransaction => oldTransaction.SignatureOid.HasValue).ToList();
foreach (var deletedTransactionWithSignature in deletedTransactionsWithSignature)
{
LogSignatureDeletion(deletedTransactionWithSignature);
}
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
this.Session.SaveOrUpdate(pEntity);
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual void Update<T>(IEnumerable<T> pEntities) where T : BeWoEntityBase, new()
{
if (pEntities?.FirstOrDefault() is object obj)
{
Debug.WriteLine($"####>UPDATE von {obj.GetType().FullName}");
}
ITransaction lTransaction = this.Session.BeginTransaction();
try
{
if (pEntities is IEnumerable<ServiceRecord> serviceRecords)
{
foreach (var serviceRecord in serviceRecords)
{
if (serviceRecord.Oid is null)
{
continue;
}
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
if (hasPreviouslyExistingSignature && serviceRecord.SignatureOid is null)
{
LogSignatureDeletion(serviceRecord);
}
}
}
if (pEntities is IEnumerable<Bargeldkasse> bargeldkassen)
{
foreach (var bargeldkasse in bargeldkassen)
{
if (bargeldkasse.Oid is null)
{
continue;
}
var oldTransactions = DAOFactory.SearchDAO.LoadBargeldTransaktionenNonLazy(bargeldkasse.Oid.Value);
var deletedTransactions = oldTransactions.Where(oldTransaction => bargeldkasse.Bargeldtransaktionen.Any(x => x.Oid.HasValue && x.Oid.Equals(oldTransaction.Oid))).ToList();
var deletedTransactionsWithSignature = deletedTransactions.Where(oldTransaction => oldTransaction.SignatureOid.HasValue).ToList();
foreach (var deletedTransactionWithSignature in deletedTransactionsWithSignature)
{
LogSignatureDeletion(deletedTransactionWithSignature);
}
}
}
foreach (BeWoEntityBase iEntity in pEntities)
{
this.Session.SaveOrUpdate(iEntity);
}
lTransaction.Commit();
}
catch (Exception e)
{
lTransaction.Rollback();
throw e;
}
}
public virtual T Unproxy<T>(T obj)
{
if (!NHibernateUtil.IsInitialized(obj))
{
NHibernateUtil.Initialize(obj);
}
if (obj is INHibernateProxy)
{
return (T)this.Session.GetSessionImplementation().PersistenceContext.Unproxy(obj);
}
return obj;
}
public virtual int GetRowCount<T>() where T : BeWoEntityBase
{
return Session.QueryOver<T>().RowCount();
}
public virtual int GetRowCount<T>(string pPropertyName, object value) where T : BeWoEntityBase
{
var count = CreateCriteria<T>()
.Add(Restrictions.Eq(pPropertyName, value))
.SetProjection(Projections.RowCount())
.UniqueResult<int>();
return count;
}
public virtual bool Any<T>() where T : BeWoEntityBase
{
return GetRowCount<T>() > 0;
}
public virtual bool Any<T>(string pPropertyName, object value) where T : BeWoEntityBase
{
return GetRowCount<T>(pPropertyName, value) > 0;
}
public virtual bool Exists<T>(string pPropertyName, object value) where T : BeWoEntityBase
{
return GetRowCount<T>(pPropertyName, value) > 0;
}
public T GetByProperty<T>(string pPropertyName, object value) where T : BeWoEntityBase
{
return CreateCriteria<T>().Add(Restrictions.Eq(pPropertyName, value)).UniqueResult<T>();
}
private static void LogSignatureDeletion(BeWoEntityBase entity)
{
var signatureHistoryEntries = new List<SignatureHistory>();
switch (entity)
{
case Signature signature:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryEntry(signature, SignatureEventType.Delete));
break;
case ConfirmationReceiptSignature confirmationReceiptSignature:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateMonthlySignatureHistoryEntry(confirmationReceiptSignature, SignatureEventType.Delete));
break;
case ServiceRecord serviceRecord when serviceRecord.Oid.HasValue:
{
var s = DAOFactory.SearchDAO.LoadJustDeletedSignature(serviceRecord.Oid.Value, true);
var signatureHistoryEntry = DAOFactory.SearchDAO.CreateSignatureHistoryEntry(s, SignatureEventType.CascadingDelete);
signatureHistoryEntries.AddIfNotNull(signatureHistoryEntry);
break;
}
case Bargeldkasse bargeldkasse when bargeldkasse.Bargeldtransaktionen.Any(bargeldtransaktion => bargeldtransaktion.SignatureOid.HasValue):
signatureHistoryEntries.AddRangeIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryEntryForBargeldkasse(bargeldkasse));
break;
case Bargeldtransaktion bargeldtransaktion when bargeldtransaktion.SignatureOid.HasValue:
signatureHistoryEntries.AddIfNotNull(DAOFactory.SearchDAO.CreateSignatureHistoryForBargeldtransaktion(bargeldtransaktion, SignatureEventType.CascadingDelete));
break;
}
if (signatureHistoryEntries.Any())
{
DAOFactory.GenericDAO.Insert(signatureHistoryEntries.Where(she => she is object));
}
}
private static void LogSignatureUpdateForServiceRecord(ServiceRecord serviceRecord)
{
/*
* Wird bei folgenden Szenarien ausgeführt:
*
* 1. Direkt nach dem Signature-Insert (Erst das Signature-Insert, dann das ServiceRecord-Update, um die SignatureOid in die ServiceRecord-Tabelle zu schreiben).
* 2. Beim Löschen der Signature
*/
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
var hasPreviouslyExistingSignature = DAOFactory.SearchDAO.CheckForExistingServiceRecordSignature(serviceRecord.Oid.Value);
// Prüfen, ob es sich um ein Update, ausgelöst durch das Insert der Unterschrift, handelt.
if(false == hasPreviouslyExistingSignature)
{
return;
}
// Prüfen, ob es sich um ein Update, ausgelöst durch das Insert der Unterschrift, handelt.
if (false == hasPreviouslyExistingSignature)
{
return;
}
var signatureHistory = DAOFactory.SearchDAO.CreateSignatureHistoryForServiceRecordUpdate(serviceRecord, SignatureEventType.CascadingDelete);
DAOFactory.GenericDAO.Insert(signatureHistory);
}
var signatureHistory = DAOFactory.SearchDAO.CreateSignatureHistoryForServiceRecordUpdate(serviceRecord, SignatureEventType.CascadingDelete);
DAOFactory.GenericDAO.Insert(signatureHistory);
}
private static void LogSignatureInsert(Signature signature)
{
var signatureHistory = DAOFactory.SearchDAO.CreateSignatureHistoryEntry(signature, SignatureEventType.Insert);
DAOFactory.GenericDAO.Insert(signatureHistory);
}
}
private static void LogSignatureInsert(Signature signature)
{
var signatureHistory = DAOFactory.SearchDAO.CreateSignatureHistoryEntry(signature, SignatureEventType.Insert);
DAOFactory.GenericDAO.Insert(signatureHistory);
}
}
}

View File

@@ -0,0 +1,83 @@
using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.Exceptions;
using BS.Shared.Interface;
using DevExpress.Mvvm.Native;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
using Task = System.Threading.Tasks.Task;
namespace BeWo.Data.Access
{
public class LocalFileStorageDAO
{
private readonly string _rootPath;
public LocalFileStorageDAO(string rootPath)
{
_rootPath = rootPath;
}
private string GetFilePath(string filePath)
{
return Path.Combine(_rootPath, filePath);
}
private async Task SaveFileAsync(string pFilePath, string pFileName, Stream content, CancellationToken cancellationToken = default)
{
// Prüfe Namen
if (SecurityUtils.ContainsInvalidFilenameChars(pFileName))
throw new BeWoInvalidOperationException(AppError.FileNameInvalidChar);
if (Path.GetFileName(pFilePath) != pFileName)
throw new BeWoInvalidOperationException(AppError.FileNameNotEqFilePath);
// Erstelle File Ordner
var path = GetFilePath(pFilePath);
var directory = Path.GetDirectoryName(path);
Directory.CreateDirectory(directory);
// Speichere Datei
using (var stream = File.Create(path))
{
await content.CopyToAsync(stream, bufferSize: 81920, cancellationToken).ConfigureAwait(true);
}
}
public Task<bool> FileExistsAsync(string pFilePath, CancellationToken cancellationToken = default)
{
return Task.FromResult(File.Exists(GetFilePath(pFilePath)));
}
public Task<Stream> GetFileAsync(string pFilePath, CancellationToken cancellationToken = default)
{
var path = GetFilePath(pFilePath);
if (!File.Exists(path))
return Task.FromResult<Stream>(null);
Stream stream = File.OpenRead(path);
return Task.FromResult(stream);
}
public Task<bool> DeleteFileAsync(string pFilePath, CancellationToken cancellationToken = default)
{
var path = GetFilePath(pFilePath);
if (File.Exists(path))
{
File.Delete(path);
return Task.FromResult(true);
}
return Task.FromResult(false);
}
}
}

View File

@@ -0,0 +1,129 @@
using BeWo.Data.Entities;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.Exceptions;
using BS.Shared.Interface;
using DevExpress.DataAccess.Native.Web;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web.UI.WebControls;
using Task = System.Threading.Tasks.Task;
namespace BeWo.Data.Access
{
public class LocalTenantFileStorageDAO
{
public string Tenant => MultitenancyOperationContextExt.Current?.Tenant ?? throw new BeWoInvalidOperationException(AppError.MultitenancyOperationTenantUnknown);
private readonly string _rootPath;
public LocalTenantFileStorageDAO(string rootPath)
{
_rootPath = rootPath;
}
public string GetXRechnungFileName(long invoicebase_oid)
{
return $"invoicebase_{invoicebase_oid}_xrechnung.pdf";
}
private string GetFilePath(string filePath)
{
return Path.Combine(_rootPath, Tenant, filePath);
}
public StoredFile SaveHybridFile(BWPFeature feature, string pFileName, string pContentType, Stream content,
TableID? pBeWoObjectTid = null, long? pBeWoObjectOid = null, CancellationToken cancellationToken = default)
{
// Prüfe Namen
if (SecurityUtils.ContainsInvalidFilenameChars(pFileName))
throw new BeWoInvalidOperationException(AppError.FileNameInvalidChar);
var lFilePath = Path.Combine(feature.ToString(), pFileName);
// Prüfe Path
if (Path.GetFileName(lFilePath) != pFileName)
throw new BeWoInvalidOperationException(AppError.FileNameNotEqFilePath);
// Prüfe Doppelte Belegung
if (DAOFactory.GenericDAO.Exists<StoredFile>(nameof(StoredFile.FilePath), lFilePath))
throw new BeWoInvalidOperationException(AppError.StoredFileAlreadyExists);
// Erstelle DB Eintrag
var storedfile = new StoredFile();
storedfile.FileName = pFileName;
storedfile.FilePath = lFilePath;
storedfile.ContentType = pContentType;
storedfile.BeWoObjectTid = (int?)pBeWoObjectTid;
storedfile.BeWoObjectOid = pBeWoObjectOid;
// Speichere FileAsync
storedfile = SaveFileAsync(storedfile, content, cancellationToken).GetAwaiter().GetResult();
// Speichere DB Eintrag
DAOFactory.GenericDAO.Insert(storedfile);
return storedfile;
}
private async Task<StoredFile> SaveFileAsync(StoredFile storedFile, Stream content, CancellationToken cancellationToken = default)
{
// Erstelle File Ordner
var path = GetFilePath(storedFile.FilePath);
var directory = Path.GetDirectoryName(path);
Directory.CreateDirectory(directory);
// Speichere Datei
using (var stream = File.Create(path))
{
await content.CopyToAsync(stream, bufferSize: 81920, cancellationToken).ConfigureAwait(true);
storedFile.Size = content.Position;
storedFile.Checksum = SecurityUtils.GetChecksumBuffered(content);
}
return storedFile;
}
public IStoredFile GetStoredFile(BWPFeature feature, string pFileName)
{
var lFilePath = Path.Combine(feature.ToString(), pFileName);
return GetFileInfo(lFilePath);
}
public IStoredFile GetFileInfo(string filePath)
{
var file = DAOFactory.GenericDAO.GetByProperty<StoredFile>(nameof(StoredFile.FilePath), filePath);
return file;
}
public Stream GetFileContent(IStoredFile storedFile, CancellationToken cancellationToken = default)
{
var path = GetFilePath(storedFile.FilePath);
if (!File.Exists(path))
return null;
Stream stream = File.OpenRead(path);
return stream;
}
public bool DeleteFile(IStoredFile storedFile, CancellationToken cancellationToken = default)
{
var path = GetFilePath(storedFile.FilePath);
if (File.Exists(path))
{
File.Delete(path);
return true;
}
return false;
}
}
}

View File

@@ -225,6 +225,8 @@
<Compile Include="Access\DAOFactory.cs" />
<Compile Include="Access\GenericDAO.cs" />
<Compile Include="Access\FinanceDAO.cs" />
<Compile Include="Access\LocalFileStorageDAO.cs" />
<Compile Include="Access\LocalTenantFileStorageDAO.cs" />
<Compile Include="Access\GenericSearchDAO.cs" />
<Compile Include="Access\OrganisationDAO.cs" />
<Compile Include="Access\ScriptDAO.cs" />
@@ -249,6 +251,7 @@
<Compile Include="Entities\Light\InvoiceBaseLight.cs" />
<Compile Include="Entities\Light\LightEntity.cs" />
<Compile Include="Entities\Light\OrganisationLight.cs" />
<Compile Include="Entities\StoredFile.cs" />
<Compile Include="Entities\TwoFactorCode.cs" />
<Compile Include="Entities\AbwesenheitsInformationPrint.cs" />
<Compile Include="Entities\AddressHistory.cs" />
@@ -432,6 +435,16 @@
<Compile Include="LoggedInUserOperationContextExt.cs" />
<EmbeddedResource Include="Mappings\Bargeldtransaktionshistory.hbm.xml" />
<Compile Include="Models\AddressInformation.cs" />
<Compile Include="Models\XRechnung\XRBuyerBankAccount.cs" />
<Compile Include="Models\XRechnung\XRechnung.cs" />
<Compile Include="Models\XRechnung\XRSellerBankAccount.cs" />
<Compile Include="Models\XRechnung\XRSellerContact.cs" />
<Compile Include="Models\XRechnung\XRBuyer.cs" />
<Compile Include="Models\XRechnung\XRInvoice.cs" />
<Compile Include="Models\XRechnung\XRInvoicePayment.cs" />
<Compile Include="Models\XRechnung\XRInvoicePeriod.cs" />
<Compile Include="Models\XRechnung\XRPosition.cs" />
<Compile Include="Models\XRechnung\XRSeller.cs" />
<Compile Include="MultitenancyOperationContextExt.cs" />
<Compile Include="Security\BCrypt.cs" />
<Compile Include="Security\BeWoToolUserCollection.cs" />
@@ -834,6 +847,7 @@
<EmbeddedResource Include="Mappings\AiConversationMessage.hbm.xml" />
<EmbeddedResource Include="Mappings\AiModel.hbm.xml" />
<EmbeddedResource Include="Mappings\AiConfig.hbm.xml" />
<EmbeddedResource Include="Mappings\StoredFile.hbm.xml" />
<EmbeddedResource Include="Mappings\GkvAbrechnungLight.hbm.xml" />
<EmbeddedResource Include="Mappings\GkvTransferProtokollLight.hbm.xml" />
<EmbeddedResource Include="Mappings\InvoiceBaseLight.hbm.xml">
@@ -993,12 +1007,6 @@
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="Mappings\Mapping.xsd">
@@ -1010,6 +1018,12 @@
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.4.14.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.Analyzers.dll" />
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.Analyzers.4.14.0\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.Analyzers.dll" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using BeWo.Data.Access;
using BS.Shared;
using BS.Shared.Interface;
@@ -831,5 +832,51 @@ namespace BeWo.Data.Entities
public virtual string SenderTown => SenderAddress?.Town;
public virtual string SenderPostCode => SenderAddress?.PostalCode;
public virtual IEnumerable<IInvoiceItem> IInvoiceItems => InvoiceItems.Select(x => x as IInvoiceItem).ToList();
public virtual StoredFile XRechnungStoredFile { get; set; }
public virtual IEnumerable<InvoiceItem> GetInvoiceItems()
{
IEnumerable < InvoiceItem > ret = null;
if (Type == InvoiceType.Service && Oid.HasValue)
{
var inv = DAOFactory.SearchDAO.GetServiceInvoiceByInvoiceBaseOid(Oid.Value);
if (inv != null)
{
ret = inv.GetInvoiceItems();
}
else
{
//pDataContract.TotalAmount = -99999999;
}
}
else if (Type == InvoiceType.Settlement)
{
//Ist eigentlich ein Fehler. Bei Spitzabrechnungen muss immer ein InvoiceItem vorhanden sein.
//Durch einen mittlerweile behobenen Programmfehler gibt es einzelen ältere Rechnungen, bei denen das nicht so ist.
if (!string.IsNullOrEmpty(XMLData))
{
//var settlementdc = BS.Shared.Core.Utils.XMLDeserializeFromString<SettlementDC>(invoiceBase.XMLData);
//pDataContract.TotalAmount = settlementdc.Claim;
}
else
{
ret = InvoiceItems;
}
}
else
{
ret = InvoiceItems;
}
if(ret == null)
throw new NotImplementedException($"GetInvoiceItems: {Type} unbekannt.");
if (!ret.Any())
throw new NotImplementedException($"Keine InvoiceItems gefunden. InvoiceBaseOid: {Oid}");
return ret;
}
}
}

View File

@@ -127,5 +127,10 @@ namespace BeWo.Data.Entities
return res;
}
public virtual IEnumerable<InvoiceItem> GetInvoiceItems()
{
return ServiceInvoicePeriodList.SelectMany(x => x.InvoiceItemList);
}
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.Interface;
namespace BeWo.Data.Entities
{
public class StoredFile : BeWoEntityBase, IStoredFile
{
public StoredFile()
{
_Tid = TableID.StoredFile;
}
public virtual string FileName { get; set; }
public virtual string FilePath { get; set; }
public virtual string ContentType { get; set; }
public virtual long Size { get; set; }
public virtual string Checksum { get; set; }
public virtual int? BeWoObjectTid { get; set; }
public virtual long? BeWoObjectOid { get; set; }
}
}

View File

@@ -50,6 +50,7 @@
<many-to-one name="SenderAddress" column="SenderAddressOid" class="BeWo.Data.Entities.Address, BeWo.Data" cascade="all" />
<many-to-one name="RecipientAddress" column="RecipientAddressOid" class="BeWo.Data.Entities.Address, BeWo.Data" cascade="all" />
<many-to-one name="CostBearer2SupportConcept" column="CostBearer2SupportConceptOid" class="BeWo.Data.Entities.CostBearer2SupportConcept, BeWo.Data" cascade="none" />
<many-to-one name="XRechnungStoredFile" column="XRechnungStoredFileOid" class="BeWo.Data.Entities.StoredFile, BeWo.Data" cascade="all-delete-orphan" />
<bag name="InvoiceItems" table="InvoiceItem" generic="true" cascade="all-delete-orphan" batch-size="250">
<key column="InvoiceBaseOid" />
<one-to-many class="BeWo.Data.Entities.InvoiceItem,BeWo.Data" />

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
<class name="BeWo.Data.Entities.StoredFile,BeWo.Data" table="StoredFile">
<id name="Oid" column ="Oid" unsaved-value="null">
<generator class="identity" />
</id>
<version type="Int64" column="Version" name="Version" />
<property name="InsTs"/>
<property name="InsUser"/>
<property column="Tid" type="BS.Shared.TableID, BS.Shared" name="_Tid" access="field" />
<property name="UdpUser"/>
<property name="IsActive" type="BS.Shared.ActivationTypeId, BS.Shared" />
<property name="SystemEntryID" type="BS.Shared.SystemEntryID, BS.Shared" />
<property name="Notice"/>
<property name="FileName"/>
<property name="FilePath"/>
<property name="ContentType"/>
<property name="Size"/>
<property name="Checksum"/>
<property name="BeWoObjectTid"/>
<property name="BeWoObjectOid"/>
</class>
</hibernate-mapping>

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRBuyer
{
public string Name { get; set; }
public string ID { get; set; }
public string Street { get; set; }
public string ZipCode { get; set; }
public string City { get; set; }
public string EMail { get; set; }
public string CountryCode { get; set; }
public string Reference { get; set; }
public XRBuyerBankAccount BankAccount { get; set; }
public XRBuyer()
{
BankAccount = new XRBuyerBankAccount();
}
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRBuyerBankAccount
{
public string IBAN { get; set; }
public string BIC { get; set; }
public string Owner { get; set; }
public string MandateID { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRInvoice
{
public string Type { get; set; }
public string Number { get; set; }
public string Date { get; set; }
public string Currency { get; set; }
public string Notice { get; set; }
public XRInvoicePeriod Period { get; set; }
public XRInvoicePayment Payment { get; set; }
public XRInvoice()
{
Period = new XRInvoicePeriod();
Payment = new XRInvoicePayment();
}
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRInvoicePayment
{
public int Type { get; set; }
public string Term { get; set; }
public string DueDate { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRInvoicePeriod
{
public string Start { get; set; }
public string End { get; set; }
public string Description { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRPosition
{
public int Quantity { get; set; }
public string QuantityType { get; set; }
public string Text { get; set; }
public int Net { get; set; }
public int NetTotal { get; set; }
public decimal Tax { get; set; }
public decimal TaxSum { get; set; }
public string TaxType { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRSeller
{
public string Name { get; set; }
public string ID { get; set; }
public string TaxID { get; set; }
public string VatID { get; set; }
public string Street { get; set; }
public string ZipCode { get; set; }
public string City { get; set; }
public string EMail { get; set; }
public string CountryCode { get; set; }
public XRSellerContact Contact { get; set; }
public XRSellerBankAccount BankAccount { get; set; }
public XRSeller()
{
Contact = new XRSellerContact();
BankAccount = new XRSellerBankAccount();
}
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeWo.Data.Models.XRechnung
{
public class XRSellerBankAccount
{
public string IBAN { get; set; }
public string BIC { get; set; }
public string Owner { get; set; }
public string Reference { get; set; }
public string ReferenceID { get; set; }
}
}

Some files were not shown because too many files have changed in this diff Show More