diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index 8f6217bac..4a852ab25 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -2401,6 +2401,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/BeWo/Ressources/Icons/glucklicher.png b/BeWo/Ressources/Icons/glucklicher.png new file mode 100644 index 000000000..5464d2670 Binary files /dev/null and b/BeWo/Ressources/Icons/glucklicher.png differ diff --git a/BeWo/Ressources/Icons/klient-avatar.png b/BeWo/Ressources/Icons/klient-avatar.png new file mode 100644 index 000000000..d6b59083e Binary files /dev/null and b/BeWo/Ressources/Icons/klient-avatar.png differ diff --git a/BeWo/Ressources/Icons/mitarbeiter-avatar.png b/BeWo/Ressources/Icons/mitarbeiter-avatar.png new file mode 100644 index 000000000..34a3a8bf0 Binary files /dev/null and b/BeWo/Ressources/Icons/mitarbeiter-avatar.png differ diff --git a/BeWo/Ressources/Icons/mitarbeiter-team-avatar.png b/BeWo/Ressources/Icons/mitarbeiter-team-avatar.png new file mode 100644 index 000000000..dac4e73e3 Binary files /dev/null and b/BeWo/Ressources/Icons/mitarbeiter-team-avatar.png differ diff --git a/BeWo/Ressources/Icons/sortiert.png b/BeWo/Ressources/Icons/sortiert.png new file mode 100644 index 000000000..400b5333b Binary files /dev/null and b/BeWo/Ressources/Icons/sortiert.png differ diff --git a/BeWo/Ressources/Icons/unsortiert.png b/BeWo/Ressources/Icons/unsortiert.png new file mode 100644 index 000000000..7900b8320 Binary files /dev/null and b/BeWo/Ressources/Icons/unsortiert.png differ diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs index aafb17e55..2ead1a56c 100644 --- a/BeWo/ServiceProxy/Generated.cs +++ b/BeWo/ServiceProxy/Generated.cs @@ -166,59 +166,6 @@ namespace BeWo.ServiceProxy public interface IEmployeeService { - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllOvertimes(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/DeleteOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/InsertOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/UpdateOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAuszahlungsarten(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployee", ReplyAction="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllChatActiveEmployeesCompact(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeImage", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeImageResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - byte[] GetEmployeeImage(long employeeOid); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/ArchiveEmployee", ReplyAction="http://tempuri.org/IEmployeeService/ArchiveEmployeeResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/ArchiveEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void ArchiveEmployee(long pOid, long pVersion); @@ -489,6 +436,59 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployeeResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] System.Collections.Generic.List GetAllOvertimesFromEmployee(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllOvertimes(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/DeleteOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/InsertOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/UpdateOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAuszahlungsarten(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployee", ReplyAction="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllChatActiveEmployeesCompact(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeImage", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeImageResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + byte[] GetEmployeeImage(long employeeOid); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -525,71 +525,6 @@ namespace BeWo.ServiceProxy { } - public System.Collections.Generic.List GetAllOvertimes() - { - return base.Channel.GetAllOvertimes(); - } - - public void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeleteOvertimes(pOid2Version); - } - - public System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes) - { - return base.Channel.InsertOvertimes(pOvertimes); - } - - public System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes) - { - return base.Channel.UpdateOvertimes(pOvertimes); - } - - public System.Collections.Generic.List GetAllAuszahlungsarten() - { - return base.Channel.GetAllAuszahlungsarten(); - } - - public System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) - { - return base.Channel.InsertAuszahlungsarten(pAuszahlungsarten); - } - - public System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) - { - return base.Channel.UpdateAuszahlungsarten(pAuszahlungsarten); - } - - public void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeleteAuszahlungsarten(pOid2Version); - } - - public System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid) - { - return base.Channel.GetTeamOidsByEmployee(pEmployeeOid); - } - - public BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid) - { - return base.Channel.LoadLoggedOnEmployee(pEmployeeOid); - } - - public System.Collections.Generic.List GetAllChatActiveEmployeesCompact() - { - return base.Channel.GetAllChatActiveEmployeesCompact(); - } - - public System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid) - { - return base.Channel.GetAllEmployeeAppCodes(pEmployeeOid); - } - - public byte[] GetEmployeeImage(long employeeOid) - { - return base.Channel.GetEmployeeImage(employeeOid); - } - public void ArchiveEmployee(long pOid, long pVersion) { base.Channel.ArchiveEmployee(pOid, pVersion); @@ -909,6 +844,71 @@ namespace BeWo.ServiceProxy { return base.Channel.GetAllOvertimesFromEmployee(employeeOid); } + + public System.Collections.Generic.List GetAllOvertimes() + { + return base.Channel.GetAllOvertimes(); + } + + public void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeleteOvertimes(pOid2Version); + } + + public System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes) + { + return base.Channel.InsertOvertimes(pOvertimes); + } + + public System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes) + { + return base.Channel.UpdateOvertimes(pOvertimes); + } + + public System.Collections.Generic.List GetAllAuszahlungsarten() + { + return base.Channel.GetAllAuszahlungsarten(); + } + + public System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) + { + return base.Channel.InsertAuszahlungsarten(pAuszahlungsarten); + } + + public System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) + { + return base.Channel.UpdateAuszahlungsarten(pAuszahlungsarten); + } + + public void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeleteAuszahlungsarten(pOid2Version); + } + + public System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid) + { + return base.Channel.GetTeamOidsByEmployee(pEmployeeOid); + } + + public BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid) + { + return base.Channel.LoadLoggedOnEmployee(pEmployeeOid); + } + + public System.Collections.Generic.List GetAllChatActiveEmployeesCompact() + { + return base.Channel.GetAllChatActiveEmployeesCompact(); + } + + public System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid) + { + return base.Channel.GetAllEmployeeAppCodes(pEmployeeOid); + } + + public byte[] GetEmployeeImage(long employeeOid) + { + return base.Channel.GetEmployeeImage(employeeOid); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -916,193 +916,6 @@ namespace BeWo.ServiceProxy public interface ICustomerService { - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/InsertWohnheimbuchungResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatum", ReplyAction="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatumR" + - "esponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatumB" + - "eWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecords", ReplyAction="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecordsBeWoFaultFa" + - "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/DeleteWohnheimbuchungResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConcepts", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveSupportConcepts(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchungRespon" + - "se")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchungBeWoFa" + - "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + - "iceRecord", ReplyAction="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + - "iceRecordResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + - "iceRecordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOid", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOidResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOidBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOid", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOidRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOidBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedRecords", ReplyAction="http://tempuri.org/ICustomerService/InsertMedRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedRecordsForCustomer", ReplyAction="http://tempuri.org/ICustomerService/GetMedRecordsForCustomerResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedRecordsForCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedRecords", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedRecords", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedRecord", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedRecordResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedRecordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteMedRecord(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/AndroidGetCustomerCompact", ReplyAction="http://tempuri.org/ICustomerService/AndroidGetCustomerCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/AndroidGetCustomerCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - string AndroidGetCustomerCompact(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompactBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessages", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeam", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateIstGelesen", ReplyAction="http://tempuri.org/ICustomerService/UpdateIstGelesenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateIstGelesenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomerImage", ReplyAction="http://tempuri.org/ICustomerService/GetCustomerImageResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomerImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - byte[] GetCustomerImage(long customerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerAppCodes", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerAppCodesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/UpdateOrganisationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdatePerson", ReplyAction="http://tempuri.org/ICustomerService/UpdatePersonResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerDC))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimDC))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))] - long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/UpdateSupportConceptResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryList", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListRespon" + - "se")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListBeWoFa" + - "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadAppointments", ReplyAction="http://tempuri.org/ICustomerService/LoadAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAppointmentCategories(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointments", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointments", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointments", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/InsertAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerGoals", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerGoalsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerGoalsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDC", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomerDC", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomerDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomerDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveCompactCustomers(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCustomersResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveCustomers(); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetCustomersByIdResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] System.Collections.Generic.List GetCustomersById(System.Collections.Generic.List idList); @@ -1284,6 +1097,106 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] long UpdateWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/InsertWohnheimbuchungResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatum", ReplyAction="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatumR" + + "esponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetWohnheimbuchungByWohnheimAndBuchungsdatumB" + + "eWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecords", ReplyAction="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindWohnheimbuchungsServiceRecordsBeWoFaultFa" + + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/DeleteWohnheimbuchungResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConcepts", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveSupportConcepts(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchungRespon" + + "se")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/CreateServiceRecordsFromWohnheimbuchungBeWoFa" + + "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + + "iceRecord", ReplyAction="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + + "iceRecordResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindServiceDescriptionForWohnheimbuchungsServ" + + "iceRecordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOid", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOidResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerPersonRelationsByOidBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOid", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOidRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerOrganisationRelationsByOidBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedRecords", ReplyAction="http://tempuri.org/ICustomerService/InsertMedRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedRecordsForCustomer", ReplyAction="http://tempuri.org/ICustomerService/GetMedRecordsForCustomerResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedRecordsForCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedRecords", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedRecords", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedRecord", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedRecordResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedRecordBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteMedRecord(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/AndroidGetCustomerCompact", ReplyAction="http://tempuri.org/ICustomerService/AndroidGetCustomerCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/AndroidGetCustomerCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + string AndroidGetCustomerCompact(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllChatActiveCustomersCompactBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessages", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeam", ReplyAction="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/FindAllChatMessagesFromTeamBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateIstGelesen", ReplyAction="http://tempuri.org/ICustomerService/UpdateIstGelesenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateIstGelesenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomerImage", ReplyAction="http://tempuri.org/ICustomerService/GetCustomerImageResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomerImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + byte[] GetCustomerImage(long customerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomerThumbnail", ReplyAction="http://tempuri.org/ICustomerService/GetCustomerThumbnailResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomerThumbnailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + byte[] GetCustomerThumbnail(long customerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerAppCodes", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerAppCodesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ArchiveCustomer", ReplyAction="http://tempuri.org/ICustomerService/ArchiveCustomerResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ArchiveCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void ArchiveCustomer(long pOid, long pVersion); @@ -1561,6 +1474,97 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateCustomersAbsenceTimes(long pCustomerOid, System.Collections.Generic.List pAbsenceTimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/UpdateOrganisationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdatePerson", ReplyAction="http://tempuri.org/ICustomerService/UpdatePersonResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerDC))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.WohnheimDC))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))] + long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/UpdateSupportConceptResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryList", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListRespon" + + "se")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListBeWoFa" + + "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadAppointments", ReplyAction="http://tempuri.org/ICustomerService/LoadAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAppointmentCategories(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointments", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointments", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointments", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/InsertAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerGoals", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerGoalsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerGoalsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDC", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomerDC", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomerDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomerDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveCompactCustomers(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCustomersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveCustomers(); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -1597,216 +1601,6 @@ namespace BeWo.ServiceProxy { } - public long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) - { - return base.Channel.InsertWohnheimbuchung(buchung); - } - - public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum) - { - return base.Channel.GetWohnheimbuchungByWohnheimAndBuchungsdatum(pWohnheimOid, pBuchungsdatum); - } - - public System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid) - { - return base.Channel.FindWohnheimbuchungsServiceRecords(pWohnheimbuchungsOid); - } - - public void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion) - { - base.Channel.DeleteWohnheimbuchung(pWohnheimbuchungsOid, pWohnheimbuchungsVersion); - } - - public System.Collections.Generic.List GetAllActiveSupportConcepts() - { - return base.Channel.GetAllActiveSupportConcepts(); - } - - public System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid) - { - return base.Channel.CreateServiceRecordsFromWohnheimbuchung(pWohnheimbuchungsOid, pServiceDescriptionOid); - } - - public BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid) - { - return base.Channel.FindServiceDescriptionForWohnheimbuchungsServiceRecord(pWohnheimbuchungsOid); - } - - public System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadCustomerPersonRelationsByOid(pOids); - } - - public System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadCustomerOrganisationRelationsByOid(pOids); - } - - public System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList) - { - return base.Channel.InsertMedRecords(pDCList); - } - - public System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid) - { - return base.Channel.GetMedRecordsForCustomer(pCustomerOid); - } - - public System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList) - { - return base.Channel.UpdateMedRecords(pDCList); - } - - public void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateMedRecords(pOid2Version); - } - - public void DeleteMedRecord(long pOid, long pVersion) - { - base.Channel.DeleteMedRecord(pOid, pVersion); - } - - public string AndroidGetCustomerCompact(long pCustomerOid) - { - return base.Channel.AndroidGetCustomerCompact(pCustomerOid); - } - - public System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid) - { - return base.Channel.GetAllChatActiveCustomersCompact(personOid); - } - - public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid) - { - return base.Channel.FindAllChatMessages(senderOid, empfaengerOid); - } - - public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid) - { - return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid); - } - - public void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen) - { - base.Channel.UpdateIstGelesen(senderOid, empfaengerOid, istGelesen); - } - - public byte[] GetCustomerImage(long customerOid) - { - return base.Channel.GetCustomerImage(customerOid); - } - - public System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid) - { - return base.Channel.GetAllCustomerAppCodes(pCustomerOid); - } - - public long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC) - { - return base.Channel.UpdateOrganisation(pOrganisationDC); - } - - public long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC) - { - return base.Channel.UpdatePerson(pPersonDC); - } - - public long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) - { - return base.Channel.UpdateSupportConcept(pSupportConcept); - } - - public System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid) - { - return base.Channel.LoadCustomerAssessmentSheetCategoryList(pCustomerOid); - } - - public System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid) - { - return base.Channel.LoadAppointments(customerOid, employeeOid); - } - - public System.Collections.Generic.List GetAllAppointmentCategories() - { - return base.Channel.GetAllAppointmentCategories(); - } - - public System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) - { - return base.Channel.InsertNewAppointmentCategories(pAppointmentCategories); - } - - public System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) - { - return base.Channel.UpdateAppointmentCategories(pAppointmentCategories); - } - - public void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAppointmentCategories(pOid2Version); - } - - public System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments) - { - return base.Channel.InsertNewAppointments(pAppointments); - } - - public System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments) - { - return base.Channel.UpdateAppointments(pAppointments); - } - - public void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAppointments(pOid2Version); - } - - public System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList) - { - return base.Channel.InsertAbsenceTimes(pDCList); - } - - public System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList) - { - return base.Channel.UpdateAbsenceTimes(pDCList); - } - - public void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAbsenceTimes(pOid2Version); - } - - public System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid) - { - return base.Channel.GetAllCustomerGoals(pCustomerOid); - } - - public BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid) - { - return base.Channel.LoadCompactSupportConceptDC(pOid, currentEmployeeOid); - } - - public BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid) - { - return base.Channel.GetCompactCustomerDC(pOid); - } - - public System.Collections.Generic.List GetAllActiveCompactCustomers() - { - return base.Channel.GetAllActiveCompactCustomers(); - } - - public bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) - { - return base.Channel.ServiceRecordOutOfSupportConcept(pSupportConcept); - } - - public System.Collections.Generic.List GetAllActiveCustomers() - { - return base.Channel.GetAllActiveCustomers(); - } - public System.Collections.Generic.List GetCustomersById(System.Collections.Generic.List idList) { return base.Channel.GetCustomersById(idList); @@ -2022,6 +1816,116 @@ namespace BeWo.ServiceProxy return base.Channel.UpdateWohnheimbuchung(buchung); } + public long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) + { + return base.Channel.InsertWohnheimbuchung(buchung); + } + + public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum) + { + return base.Channel.GetWohnheimbuchungByWohnheimAndBuchungsdatum(pWohnheimOid, pBuchungsdatum); + } + + public System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid) + { + return base.Channel.FindWohnheimbuchungsServiceRecords(pWohnheimbuchungsOid); + } + + public void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion) + { + base.Channel.DeleteWohnheimbuchung(pWohnheimbuchungsOid, pWohnheimbuchungsVersion); + } + + public System.Collections.Generic.List GetAllActiveSupportConcepts() + { + return base.Channel.GetAllActiveSupportConcepts(); + } + + public System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid) + { + return base.Channel.CreateServiceRecordsFromWohnheimbuchung(pWohnheimbuchungsOid, pServiceDescriptionOid); + } + + public BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid) + { + return base.Channel.FindServiceDescriptionForWohnheimbuchungsServiceRecord(pWohnheimbuchungsOid); + } + + public System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadCustomerPersonRelationsByOid(pOids); + } + + public System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadCustomerOrganisationRelationsByOid(pOids); + } + + public System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList) + { + return base.Channel.InsertMedRecords(pDCList); + } + + public System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid) + { + return base.Channel.GetMedRecordsForCustomer(pCustomerOid); + } + + public System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList) + { + return base.Channel.UpdateMedRecords(pDCList); + } + + public void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateMedRecords(pOid2Version); + } + + public void DeleteMedRecord(long pOid, long pVersion) + { + base.Channel.DeleteMedRecord(pOid, pVersion); + } + + public string AndroidGetCustomerCompact(long pCustomerOid) + { + return base.Channel.AndroidGetCustomerCompact(pCustomerOid); + } + + public System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid) + { + return base.Channel.GetAllChatActiveCustomersCompact(personOid); + } + + public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid) + { + return base.Channel.FindAllChatMessages(senderOid, empfaengerOid); + } + + public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid) + { + return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid); + } + + public void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen) + { + base.Channel.UpdateIstGelesen(senderOid, empfaengerOid, istGelesen); + } + + public byte[] GetCustomerImage(long customerOid) + { + return base.Channel.GetCustomerImage(customerOid); + } + + public byte[] GetCustomerThumbnail(long customerOid) + { + return base.Channel.GetCustomerThumbnail(customerOid); + } + + public System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid) + { + return base.Channel.GetAllCustomerAppCodes(pCustomerOid); + } + public void ArchiveCustomer(long pOid, long pVersion) { base.Channel.ArchiveCustomer(pOid, pVersion); @@ -2341,6 +2245,111 @@ namespace BeWo.ServiceProxy { base.Channel.UpdateCustomersAbsenceTimes(pCustomerOid, pAbsenceTimes); } + + public long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC) + { + return base.Channel.UpdateOrganisation(pOrganisationDC); + } + + public long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC) + { + return base.Channel.UpdatePerson(pPersonDC); + } + + public long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) + { + return base.Channel.UpdateSupportConcept(pSupportConcept); + } + + public System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid) + { + return base.Channel.LoadCustomerAssessmentSheetCategoryList(pCustomerOid); + } + + public System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid) + { + return base.Channel.LoadAppointments(customerOid, employeeOid); + } + + public System.Collections.Generic.List GetAllAppointmentCategories() + { + return base.Channel.GetAllAppointmentCategories(); + } + + public System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) + { + return base.Channel.InsertNewAppointmentCategories(pAppointmentCategories); + } + + public System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) + { + return base.Channel.UpdateAppointmentCategories(pAppointmentCategories); + } + + public void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAppointmentCategories(pOid2Version); + } + + public System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments) + { + return base.Channel.InsertNewAppointments(pAppointments); + } + + public System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments) + { + return base.Channel.UpdateAppointments(pAppointments); + } + + public void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAppointments(pOid2Version); + } + + public System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList) + { + return base.Channel.InsertAbsenceTimes(pDCList); + } + + public System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList) + { + return base.Channel.UpdateAbsenceTimes(pDCList); + } + + public void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAbsenceTimes(pOid2Version); + } + + public System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid) + { + return base.Channel.GetAllCustomerGoals(pCustomerOid); + } + + public BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid) + { + return base.Channel.LoadCompactSupportConceptDC(pOid, currentEmployeeOid); + } + + public BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid) + { + return base.Channel.GetCompactCustomerDC(pOid); + } + + public System.Collections.Generic.List GetAllActiveCompactCustomers() + { + return base.Channel.GetAllActiveCompactCustomers(); + } + + public bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) + { + return base.Channel.ServiceRecordOutOfSupportConcept(pSupportConcept); + } + + public System.Collections.Generic.List GetAllActiveCustomers() + { + return base.Channel.GetAllActiveCustomers(); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -3624,145 +3633,6 @@ namespace BeWo.ServiceProxy public interface IOperationsService { - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCRespo" + - "nse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCBeWoF" + - "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOid", ReplyAction="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/InsertNewBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/UpdateBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/DeactivateBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateBargeldkasse(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroup", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecords", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfo", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatistics", ReplyAction="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordHistory", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordHistoryResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordHistoryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetTenant", ReplyAction="http://tempuri.org/IOperationsService/ResetTenantResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetTenantBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ResetTenant(string tenant); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetAllTenants", ReplyAction="http://tempuri.org/IOperationsService/ResetAllTenantsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetAllTenantsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ResetAllTenants(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecord", ReplyAction="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalService", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalService(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegion", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceRegion(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "n", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "nResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tions", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tionsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "ns", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "nsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "nsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "n", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "nResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeople", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleRes" + - "ponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleBeW" + - "oFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsBeWoFaultFau" + - "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsBeWoFault" + - "Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookingsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookingsBeWoFaultFau" + - "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookingsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookingsBeWoFaultFau" + - "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteAdditionalServiceBookings(System.Collections.Generic.Dictionary pOid2Version); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceRegion", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceRegionResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceRegionBeWoFaultFa" + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] @@ -3960,6 +3830,34 @@ namespace BeWo.ServiceProxy "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCRespo" + + "nse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCBeWoF" + + "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOid", ReplyAction="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/InsertNewBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/UpdateBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/DeactivateBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateBargeldkasse(long pOid, long pVersion); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void DeactivateInvoices(System.Collections.Generic.List invoices); @@ -4239,6 +4137,117 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateServiceDescriptions(System.Collections.Generic.List pServiceDescriptions); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroup", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecords", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfo", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatistics", ReplyAction="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordHistory", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordHistoryResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordHistoryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetTenant", ReplyAction="http://tempuri.org/IOperationsService/ResetTenantResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetTenantBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ResetTenant(string tenant); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetAllTenants", ReplyAction="http://tempuri.org/IOperationsService/ResetAllTenantsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetAllTenantsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ResetAllTenants(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecord", ReplyAction="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalService", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalService(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegion", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceRegion(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "n", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "nResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tions", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tionsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "ns", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "nsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "nsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "n", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "nResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeople", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleRes" + + "ponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleBeW" + + "oFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsBeWoFaultFau" + + "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsBeWoFault" + + "Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookingsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceBookingsBeWoFaultFau" + + "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookingsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceBookingsBeWoFaultFau" + + "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteAdditionalServiceBookings(System.Collections.Generic.Dictionary pOid2Version); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -4275,141 +4284,6 @@ namespace BeWo.ServiceProxy { } - public void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate) - { - base.Channel.UpdateNotfallNacrichtEmployeeAPPCodeDC(employeeOid, notfallstate); - } - - public System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadOrganisationPersonRelationsByOid(pOids); - } - - public System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid) - { - return base.Channel.LoadBargeldkassenForObject(objectTid, objectOid); - } - - public long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) - { - return base.Channel.InsertNewBargeldkasse(pBargeldkasse); - } - - public BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) - { - return base.Channel.UpdateBargeldkasse(pBargeldkasse); - } - - public void DeactivateBargeldkasse(long pOid, long pVersion) - { - base.Channel.DeactivateBargeldkasse(pOid, pVersion); - } - - public BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup) - { - return base.Channel.UpdateServiceRecordGroup(pServiceRecordGroup); - } - - public void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords) - { - base.Channel.UpdateServiceRecords(pServiceRecords); - } - - public BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate) - { - return base.Channel.GetServiceRecordStatisticInfo(costBearer2SupportConceptOid, statisticsDate); - } - - public BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate) - { - return base.Channel.CreateSupportConceptStatistics(costBearer2SupportConceptOid, statisticsDate); - } - - public System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid) - { - return base.Channel.GetServiceRecordHistory(serviceRecordOid); - } - - public void ResetTenant(string tenant) - { - base.Channel.ResetTenant(tenant); - } - - public void ResetAllTenants() - { - base.Channel.ResetAllTenants(); - } - - public bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid) - { - return base.Channel.DoesNotOverlapWithOtherServiceRecord(pServiceRecord, customerOid, employeeOid); - } - - public System.Collections.Generic.List GetAllAdditionalService() - { - return base.Channel.GetAllAdditionalService(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceRegion() - { - return base.Channel.GetAllAdditionalServiceRegion(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation() - { - return base.Channel.GetAllAdditionalServiceGroupOfPeopleRelation(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople() - { - return base.Channel.GetAllAdditionalServiceGroupOfPeople(); - } - - public System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) - { - return base.Channel.InsertNewAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); - } - - public void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) - { - base.Channel.UpdateAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); - } - - public void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion) - { - base.Channel.DeleteAdditionalServiceGroupOfPeopleRelation(pDeleteAdditionalServiceGroupOfPeopleRelationOid, pVersion); - } - - public BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople) - { - return base.Channel.UpdateAdditionalServiceGroupOfPeople(pAdditionalServiceGroupOfPeople); - } - - public System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups) - { - return base.Channel.InsertNewAdditionalServiceGroupsOfPeople(pGroups); - } - - public System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end) - { - return base.Channel.GetAllAdditionalServiceBookings(regionOid, start, end); - } - - public System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) - { - return base.Channel.InsertNewAdditionalServiceBookings(pAdditionalServiceBookings); - } - - public void UpdateAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) - { - base.Channel.UpdateAdditionalServiceBookings(pAdditionalServiceBookings); - } - - public void DeleteAdditionalServiceBookings(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeleteAdditionalServiceBookings(pOid2Version); - } - public long InsertNewAdditionalServiceRegion(BS.Shared.DataContracts.AdditionalServiceRegionDC pAdditionalServiceRegionDC) { return base.Channel.InsertNewAdditionalServiceRegion(pAdditionalServiceRegionDC); @@ -4625,6 +4499,36 @@ namespace BeWo.ServiceProxy base.Channel.UpdateIsChatActiveEmployeeAPPCodeDC(employeeOid, activeType); } + public void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate) + { + base.Channel.UpdateNotfallNacrichtEmployeeAPPCodeDC(employeeOid, notfallstate); + } + + public System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadOrganisationPersonRelationsByOid(pOids); + } + + public System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid) + { + return base.Channel.LoadBargeldkassenForObject(objectTid, objectOid); + } + + public long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) + { + return base.Channel.InsertNewBargeldkasse(pBargeldkasse); + } + + public BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) + { + return base.Channel.UpdateBargeldkasse(pBargeldkasse); + } + + public void DeactivateBargeldkasse(long pOid, long pVersion) + { + base.Channel.DeactivateBargeldkasse(pOid, pVersion); + } + public void DeactivateInvoices(System.Collections.Generic.List invoices) { base.Channel.DeactivateInvoices(invoices); @@ -4944,6 +4848,111 @@ namespace BeWo.ServiceProxy { base.Channel.UpdateServiceDescriptions(pServiceDescriptions); } + + public BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup) + { + return base.Channel.UpdateServiceRecordGroup(pServiceRecordGroup); + } + + public void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords) + { + base.Channel.UpdateServiceRecords(pServiceRecords); + } + + public BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + { + return base.Channel.GetServiceRecordStatisticInfo(costBearer2SupportConceptOid, statisticsDate); + } + + public BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + { + return base.Channel.CreateSupportConceptStatistics(costBearer2SupportConceptOid, statisticsDate); + } + + public System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid) + { + return base.Channel.GetServiceRecordHistory(serviceRecordOid); + } + + public void ResetTenant(string tenant) + { + base.Channel.ResetTenant(tenant); + } + + public void ResetAllTenants() + { + base.Channel.ResetAllTenants(); + } + + public bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid) + { + return base.Channel.DoesNotOverlapWithOtherServiceRecord(pServiceRecord, customerOid, employeeOid); + } + + public System.Collections.Generic.List GetAllAdditionalService() + { + return base.Channel.GetAllAdditionalService(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceRegion() + { + return base.Channel.GetAllAdditionalServiceRegion(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation() + { + return base.Channel.GetAllAdditionalServiceGroupOfPeopleRelation(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople() + { + return base.Channel.GetAllAdditionalServiceGroupOfPeople(); + } + + public System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) + { + return base.Channel.InsertNewAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); + } + + public void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) + { + base.Channel.UpdateAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); + } + + public void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion) + { + base.Channel.DeleteAdditionalServiceGroupOfPeopleRelation(pDeleteAdditionalServiceGroupOfPeopleRelationOid, pVersion); + } + + public BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople) + { + return base.Channel.UpdateAdditionalServiceGroupOfPeople(pAdditionalServiceGroupOfPeople); + } + + public System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups) + { + return base.Channel.InsertNewAdditionalServiceGroupsOfPeople(pGroups); + } + + public System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end) + { + return base.Channel.GetAllAdditionalServiceBookings(regionOid, start, end); + } + + public System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) + { + return base.Channel.InsertNewAdditionalServiceBookings(pAdditionalServiceBookings); + } + + public void UpdateAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) + { + base.Channel.UpdateAdditionalServiceBookings(pAdditionalServiceBookings); + } + + public void DeleteAdditionalServiceBookings(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeleteAdditionalServiceBookings(pOid2Version); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] diff --git a/BeWo/View/ChatView.xaml b/BeWo/View/ChatView.xaml index f6eb867dc..3818ac494 100644 --- a/BeWo/View/ChatView.xaml +++ b/BeWo/View/ChatView.xaml @@ -5,44 +5,45 @@ Title="Chat View" Height="800" Width="800" WindowStartupLocation="CenterScreen" WindowStyle="None" AllowsTransparency="True" Background="Transparent" - ResizeMode="NoResize" + ResizeMode="CanResizeWithGrip" x:Name="ChatViewName"> - - + + - + + - - + + + VerticalContentAlignment="Center" Width="416" MinHeight="25" ToolTip="Schreiben Sie hier eine Nachricht hinein" KeyDown="OnKeyDownHandler" GotFocus="OnFocus" Foreground="DarkGray" > + + - - + @@ -78,7 +79,7 @@ - - - - + + + - + - + - + + - + - + - + - + - + - + + + + + @@ -143,9 +149,9 @@ - - - + + + @@ -160,18 +166,50 @@ - + + + + + + + + + + - - - + @@ -180,20 +218,23 @@ + + + - - - + + + - + - + diff --git a/BeWo/View/ChatView.xaml.cs b/BeWo/View/ChatView.xaml.cs index 2f5779573..b8b30b788 100644 --- a/BeWo/View/ChatView.xaml.cs +++ b/BeWo/View/ChatView.xaml.cs @@ -64,6 +64,9 @@ namespace BeWo.View protected PropertyGroupDescription groupDescription; protected bool isOnFocus = false; + + protected bool sortLabelSwitch = false; + protected ContextMenu context; public ChatView(String nameinf, String Chatinf, TcpClient tcpClient) @@ -77,11 +80,11 @@ namespace BeWo.View CloseWindow(); LoadallChatKontakts(); ErstelleContextMenue(); - SetChatSetting(); + // SetChatSetting(); } - private void SetChatSetting() + /*private void SetChatSetting() { try { @@ -97,7 +100,7 @@ namespace BeWo.View { MessageBox.Show("Das Aufbauen der Chat-Settings ist fehlgeschlagen. " + edf.Message + "\n" + edf.StackTrace, "Fehler: 2200 ", MessageBoxButton.OK); } - } + }*/ public void UpdateTcp(TcpClient tcpClient) { @@ -212,6 +215,36 @@ namespace BeWo.View } } + public void SetAnzahlErhalteneNachricht(long personoid) + { + try + { + foreach (var abc in ita) + { + + if (abc.EmpfaengerOid == personoid && abc.TypeChat != ChatType.Team) + { + int x; + bool wasdrin = int.TryParse(abc.Receivems, out x); + + if (wasdrin) + { + x++; + abc.Receivems = x.ToString(); + + } + else + abc.Receivems = 1.ToString(); + } + } + view.Refresh(); + } + catch (Exception edf) + { + MessageBox.Show("Beim Setzen der Anzahl angekommender Nachrichten ist ein Fehler aufgetreten. " + edf.Message + "\n" + edf.StackTrace, "Fehler 2391", MessageBoxButton.OK); + } + } + public void RefreshViewModel() { view.Refresh(); @@ -233,7 +266,7 @@ namespace BeWo.View { var mitarbeiter = ServiceFacade.DoEmployeeServiceSync(s => s.GetEmployeeWithPersonOid(personoid)); - KontaktlistBuilder konbuild = new KontaktlistBuilder(clientname,StatusType.Online, BuildImg(mitarbeiter.EmployeeImage), personoid, ChatType.Mitarbeiter);//"Online" + KontaktlistBuilder konbuild = new KontaktlistBuilder(clientname,StatusType.Online, BuildImg(mitarbeiter.EmployeeImage,ChatType.Mitarbeiter), personoid, ChatType.Mitarbeiter);//"Online" var zugehorigkeit = ServiceFacade.DoEmployeeServiceSync(s => s.GetTeamOidsByEmployee(personoid)); @@ -253,7 +286,14 @@ namespace BeWo.View } } } - view.Refresh(); + // if (SortCheckBox.IsChecked.Value) + // { + view.Refresh(); + // } + // else + // { + // ChatViewName.RefreshUI(); + // } } else if (a == PersonType.Customer) { @@ -268,7 +308,7 @@ namespace BeWo.View customerCompact.LastName = klienten.LastName; customerCompact.DateOfBirth = klienten.DateOfBirth; - KontaktlistBuilder konbuild = new KontaktlistBuilder(clientname, StatusType.Online, BuildImg(klienten.CustomerImage), personoid, ChatType.Klienten, customerCompact);//"Online" + KontaktlistBuilder konbuild = new KontaktlistBuilder(clientname, StatusType.Online, BuildImg(klienten.CustomerImage,ChatType.Klienten), personoid, ChatType.Klienten, customerCompact);//"Online" foreach (var variable in ita) { @@ -413,7 +453,7 @@ namespace BeWo.View public void SetServerStats(String servstats) { - ServerStats.Text = servstats; + //ServerStats.Text = servstats; } private void SendButton_Click(object sender, RoutedEventArgs e) @@ -510,25 +550,19 @@ namespace BeWo.View try { var employeeteamoids = ServiceFacade.DoEmployeeServiceSync(s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.EmployeeOid)); - var offmitarbeiter = - ServiceFacade.DoEmployeeServiceSync(s => s.GetAllChatActiveEmployeesCompact()); - var offklienten = ServiceFacade.DoCustomerServiceSync(s => s.GetAllChatActiveCustomersCompact(BeWoApp.LoggedOnUser.Employee.EmployeeOid)); // dieser code muss erweitert werden - - /* var employee = ServiceFacade.DoEmployeeServiceSync( - s => s.GetEmployeeWithPersonOid(BeWoApp.LoggedOnUser.Employee.EmployeeOid)); - - employee.Employee2CustomerList.Select(s => s.CustomerOid.Value);*/ + var offmitarbeiter = ServiceFacade.DoEmployeeServiceSync(s => s.GetAllChatActiveEmployeesCompact()); + var offklienten = ServiceFacade.DoCustomerServiceSync(s => s.GetAllChatActiveCustomersCompact(BeWoApp.LoggedOnUser.Employee.EmployeeOid)); foreach (var team in employeeteamoids) { - Clientlist.Items.Add(new KontaktlistBuilder(team.Name, StatusType.Offline, BuildImg(null), team.TeamOid, ChatType.Team)); + Clientlist.Items.Add(new KontaktlistBuilder(team.Name, StatusType.Offline, BuildImg(null,ChatType.Team), team.TeamOid, ChatType.Team)); } foreach (var list in offmitarbeiter) { if(list.PersonOid != BeWoApp.LoggedOnUser.Employee.PersonOid){ Clientlist.Items.Add(new KontaktlistBuilder(list.FirstName + " " + list.LastName, StatusType.Offline, - BuildImg(ServiceFacade.DoEmployeeServiceSync(s => s.GetEmployeeImage(list.EmployeeOid))), + BuildImg(ServiceFacade.DoEmployeeServiceSync(s => s.GetEmployeeImage(list.EmployeeOid)),ChatType.Mitarbeiter), list.PersonOid, ChatType.Mitarbeiter)); } } @@ -536,7 +570,7 @@ namespace BeWo.View { Clientlist.Items.Add(new KontaktlistBuilder(list.FirstName + " " + list.LastName, StatusType.Offline, - BuildImg(ServiceFacade.DoCustomerServiceSync(s => s.GetCustomerImage(list.CustomerOid))), + BuildImg(ServiceFacade.DoCustomerServiceSync(s => s.GetCustomerThumbnail(list.CustomerOid)), ChatType.Klienten), list.PersonOid, ChatType.Klienten,list)); } @@ -552,8 +586,16 @@ namespace BeWo.View Clientlist.ItemsSource = ita; view = (CollectionView)CollectionViewSource.GetDefaultView(Clientlist.ItemsSource); - groupDescription = new PropertyGroupDescription("TypeChat"); - view.GroupDescriptions.Add(groupDescription); + view.SortDescriptions.Add(new SortDescription("Receivems", ListSortDirection.Descending)); + view.SortDescriptions.Add(new SortDescription("StatusType", ListSortDirection.Descending)); + view.Filter = UserFilter; + + + if (sortLabelSwitch == true) + { + groupDescription = new PropertyGroupDescription("TypeChat"); + view.GroupDescriptions.Add(groupDescription); + } } catch (Exception edf) { @@ -593,7 +635,7 @@ namespace BeWo.View { if (!idteamspeicher.Contains(var.TeamOid) && idteamspeicher.Count <= employeeteamoids.Count) { - ita.Add(new KontaktlistBuilder(var.Name,StatusType.Offline, BuildImg(null), var.TeamOid, ChatType.Team)); + ita.Add(new KontaktlistBuilder(var.Name,StatusType.Offline, BuildImg(null,ChatType.Team), var.TeamOid, ChatType.Team)); view.Refresh(); } @@ -606,7 +648,7 @@ namespace BeWo.View if (!idMitarbeitspeicher.Contains(var.PersonOid) && idMitarbeitspeicher.Count <= offmitarbeiter.Count && var.PersonOid != BeWoApp.LoggedOnUser.Employee.PersonOid) { ita.Add(new KontaktlistBuilder(var.FirstName + " " + var.LastName,StatusType.Offline, - BuildImg(ServiceFacade.DoEmployeeServiceSync(s => s.GetEmployeeImage(var.EmployeeOid))), + BuildImg(ServiceFacade.DoEmployeeServiceSync(s => s.GetEmployeeImage(var.EmployeeOid)),ChatType.Mitarbeiter), var.PersonOid, ChatType.Mitarbeiter)); view.Refresh(); } @@ -620,7 +662,7 @@ namespace BeWo.View if (!idKlientspeicher.Contains(var.PersonOid) && idKlientspeicher.Count <= offklienten.Count) { ita.Add(new KontaktlistBuilder(var.FirstName + " " + var.LastName, StatusType.Offline, - BuildImg(ServiceFacade.DoCustomerServiceSync(s => s.GetCustomerImage(var.CustomerOid))), + BuildImg(ServiceFacade.DoCustomerServiceSync(s => s.GetCustomerThumbnail(var.CustomerOid)), ChatType.Klienten), var.PersonOid, ChatType.Klienten,var)); view.Refresh(); } @@ -658,6 +700,21 @@ namespace BeWo.View view.Refresh(); } + + if (sortLabelSwitch == true) + { + view.GroupDescriptions.Clear(); + groupDescription = new PropertyGroupDescription("TypeChat"); + view.GroupDescriptions.Add(groupDescription); + view.Refresh(); + } + else + { + view.GroupDescriptions.Clear(); + view.Refresh(); + } + + } catch (Exception edf) { @@ -672,7 +729,7 @@ namespace BeWo.View list.StatusTyp = StatusType.Offline; } - view.Refresh(); + view.Refresh(); } public void SetUserBeschäftigt(long oid, DataIdentifier type) @@ -768,60 +825,62 @@ namespace BeWo.View } - private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e) + private void ComboBox_SelectionChanged(object sender, RoutedEventArgs e) { try { - switch (StatusSetting.SelectedIndex) - { - case 0: + if (RadioButtonOnline.IsChecked.Value) + { if (tcpClient == null) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else if (!tcpClient.Connected) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else { SendUserStatus(DataIdentifier.StatusNotificationOnline); } + } - break; - case 1: + + if (RadioButtonOffline.IsChecked.Value) + { if (tcpClient == null) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else if (!tcpClient.Connected) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else - { + { SendUserStatus(DataIdentifier.StatusNotificationOffline); } - break; + } - case 2: + if (RadioButtonBeschaeftigt.IsChecked.Value) + { if (tcpClient == null) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else if (!tcpClient.Connected) { - StatusSetting.SelectedIndex = 1; + RadioButtonOffline.IsChecked = true; } else { SendUserStatus(DataIdentifier.StatusNotificationBeschäftigt); } - break; - } + } + } catch (Exception edf) { @@ -918,40 +977,47 @@ namespace BeWo.View AktChatUser.Items.Clear(); - if (!curItem.Receivems.Equals("")) - { - curItem.Receivems = ""; - } - if (curItem.TypeChat == ChatType.Klienten) - { - AktChatUser.Items.Add(new KontaktlistBuilder(curItem.Name, curItem.StatusTyp, curItem.Image, curItem.EmpfaengerOid, curItem.TypeChat, curItem.Customer)); - } - else - { - AktChatUser.Items.Add(new KontaktlistBuilder(curItem.Name, curItem.StatusTyp, curItem.Image, curItem.EmpfaengerOid, curItem.TypeChat)); - } + if(curItem != null){ + + if (!curItem.Receivems.Equals("")) + { + curItem.Receivems = ""; + } + + if (curItem.TypeChat == ChatType.Klienten) + { + AktChatUser.Items.Add(new KontaktlistBuilder(curItem.Name, curItem.StatusTyp, curItem.Image, curItem.EmpfaengerOid, curItem.TypeChat, curItem.Customer)); + } + else + { + AktChatUser.Items.Add(new KontaktlistBuilder(curItem.Name, curItem.StatusTyp, curItem.Image, curItem.EmpfaengerOid, curItem.TypeChat)); + } - LoadChatMessagefromDB(BeWoApp.LoggedOnEmployee.PersonOid.Value, curItem.EmpfaengerOid, curItem); - Chat.Items.MoveCurrentToLast(); - Chat.ScrollIntoView(Chat.Items.CurrentItem); - view.Refresh(); - + LoadChatMessagefromDB(BeWoApp.LoggedOnEmployee.PersonOid.Value, curItem.EmpfaengerOid, curItem); + Chat.Items.MoveCurrentToLast(); + Chat.ScrollIntoView(Chat.Items.CurrentItem); - if (curItem.TypeChat == ChatType.Klienten) - { - context.Visibility = Visibility.Visible; - Chat.SelectionMode = SelectionMode.Extended; - Chat.Focusable = true; - } - else - { - context.Visibility = Visibility.Collapsed; - Chat.SelectionMode = SelectionMode.Single; - Chat.Focusable = false; - } + Suche.Text = ""; + + view.Refresh(); + + + if (curItem.TypeChat == ChatType.Klienten) + { + context.Visibility = Visibility.Visible; + Chat.SelectionMode = SelectionMode.Extended; + Chat.Focusable = true; + } + else + { + context.Visibility = Visibility.Collapsed; + Chat.SelectionMode = SelectionMode.Single; + Chat.Focusable = false; + } + } } } catch (Exception s) @@ -961,7 +1027,7 @@ namespace BeWo.View } } - public ImageSource BuildImg(Byte[] c) + public ImageSource BuildImg(Byte[] c ,ChatType x) { try { @@ -983,12 +1049,40 @@ namespace BeWo.View { //return null; //return new BitmapImage(new Uri(@"..\..\Ressources\Icons\UserHomeBoyDisabled.png", UriKind.Relative)); - BitmapImage bi = new BitmapImage(); - bi.BeginInit(); - bi.UriSource = new Uri("pack://application:,,,/Ressources/icons/UserHomeBoyDisabled.png"); - bi.EndInit(); - return bi; + if (x == ChatType.Klienten) + { + BitmapImage bix = new BitmapImage(); + bix.BeginInit(); + bix.UriSource = new Uri("pack://application:,,,/Ressources/icons/klient-avatar.png"); + bix.EndInit(); + return bix; + }else + if (x == ChatType.Mitarbeiter) + { + BitmapImage biy = new BitmapImage(); + biy.BeginInit(); + biy.UriSource = new Uri("pack://application:,,,/Ressources/icons/mitarbeiter-avatar.png"); + biy.EndInit(); + return biy; + }else + if (x == ChatType.Team) + { + BitmapImage biz = new BitmapImage(); + biz.BeginInit(); + biz.UriSource = new Uri("pack://application:,,,/Ressources/icons/mitarbeiter-team-avatar.png"); + biz.EndInit(); + return biz; + } + else + { + BitmapImage bi = new BitmapImage(); + bi.BeginInit(); + bi.UriSource = new Uri("pack://application:,,,/Ressources/icons/UserHomeBoyDisabled.png"); + bi.EndInit(); + return bi; + } + //return new ImageSource new BitmapImage(new Uri(@"..\..\Ressources\Icons\UserHomeBoyDisabled.png", UriKind.Relative)); //(ImageSource) @@ -1042,7 +1136,7 @@ namespace BeWo.View serverStream.Write(outStream, 0, outStream.Length); serverStream.Flush(); - ServerStats.Text = "Nachricht erfolgreich gesendet"; + // ServerStats.Text = "Nachricht erfolgreich gesendet"; } else { @@ -1056,7 +1150,7 @@ namespace BeWo.View MessageBox.Show("Beim Senden einer Nachricht zum Server ist ein Fehler aufgetreten. " + xe.Message + "\n" + xe.StackTrace, "Fehler: 2300 ", MessageBoxButton.OK); - ServerStats.Text = "Fehler: Die Nachricht konnte nicht gesendet werden."; + //ServerStats.Text = "Fehler: Die Nachricht konnte nicht gesendet werden."; } } } @@ -1174,12 +1268,6 @@ namespace BeWo.View { if (list.TeamOid == null || list.TeamOid == 0) { - /* if (i == 0) - { - Chat.Items.Add(new KontakMessageBuilder("", "------------------------ Ungelesene Nachrichten -----------------------", "", 0)); - i++; - }*/ - if (list.SenderPersonOid == senderoid) { Chat.Items.Add(new KontakMessageBuilder(person[0].FirstName, list.ChatText, @@ -1208,7 +1296,6 @@ namespace BeWo.View } } - //placeholder private void OnFocus(object sender, EventArgs e) { try @@ -1237,7 +1324,7 @@ namespace BeWo.View } - //Rechte Maus Taste an dem Chat + public void OnRightClickEvent(object sender, RoutedEventArgs e) { e.Handled = true; @@ -1296,49 +1383,125 @@ namespace BeWo.View { try { - var x = ServiceFacade.DoOperationsServiceSync(s => s.FindUnreadChatMessagesForRecipient(BeWoApp.LoggedOnEmployee.PersonOid.Value)); - foreach (var ChatMessage in x) - { - foreach (var aktChatPersons in ita) + ServiceFacade.DoOperationsServiceAsync( + s => s.FindUnreadChatMessagesForRecipient(BeWoApp.LoggedOnEmployee.PersonOid.Value), + m => { - if (aktChatPersons.EmpfaengerOid == ChatMessage.SenderPersonOid && aktChatPersons.TypeChat != ChatType.Team) - { - int aktc; - bool wasdrin = int.TryParse(aktChatPersons.Receivems, out aktc); - - if (wasdrin) + Dispatcher.Invoke( + DispatcherPriority.Normal, + (ThreadStart) delegate { - aktc++; - aktChatPersons.Receivems = aktc.ToString(); + foreach (var ChatMessage in m) + { + foreach (var aktChatPersons in ita) + { + if (aktChatPersons.EmpfaengerOid == ChatMessage.SenderPersonOid && + aktChatPersons.TypeChat != ChatType.Team) + { + int aktc; + bool wasdrin = int.TryParse(aktChatPersons.Receivems, out aktc); - } - else - aktChatPersons.Receivems = 1.ToString(); + if (wasdrin) + { + aktc++; + aktChatPersons.Receivems = aktc.ToString(); - }else if(aktChatPersons.EmpfaengerOid == ChatMessage.TeamOid) - { - int aktt; - bool wasdrin = int.TryParse(aktChatPersons.Receivems, out aktt); + } + else + aktChatPersons.Receivems = 1.ToString(); - if (wasdrin) - { - aktt++; - aktChatPersons.Receivems = aktt.ToString(); + } + else if (aktChatPersons.EmpfaengerOid == ChatMessage.TeamOid) + { + int aktt; + bool wasdrin = int.TryParse(aktChatPersons.Receivems, out aktt); - } - else - aktChatPersons.Receivems = 1.ToString(); - - } - } - } + if (wasdrin) + { + aktt++; + aktChatPersons.Receivems = aktt.ToString(); + + } + else + aktChatPersons.Receivems = 1.ToString(); + + } + } + } + }); + }); + } catch (Exception e) { MessageBox.Show("Fehler :" + e.Message + "\n" + e.StackTrace, "Info", MessageBoxButton.OK); } } + + private void SortCheckBox_OnChecked(object sender, RoutedEventArgs e) + { + //AktualisiereChatKontakt(); + } + + private void Suche_OnKeyDown(object sender, KeyEventArgs e) + { + if (e.Key == Key.Return) + { + Suche.Text = ""; + } + } + + private void Suche_OnTextChanged(object sender, TextChangedEventArgs e) + { + CollectionViewSource.GetDefaultView(Clientlist.ItemsSource).Refresh(); + } + + private bool UserFilter(object item) + { + if (String.IsNullOrEmpty(Suche.Text)) + return true; + else + return ((item as KontaktlistBuilder).Name.IndexOf(Suche.Text, StringComparison.OrdinalIgnoreCase) >= 0); + } + + private void Suche_OnLostFocus(object sender, RoutedEventArgs e) + { + // Suche.Text = ""; + } + + + private void ButtonSortLabel_OnClick(object sender, RoutedEventArgs e) + { + + //if() clicked dann immer wechseln + abfrage true und false ; + + if (sortLabelSwitch == false) + { + BitmapImage biy = new BitmapImage(); + biy.BeginInit(); + biy.UriSource = new Uri("pack://application:,,,/Ressources/icons/sortiert.png"); + biy.EndInit(); + + SortLabel.Source = biy; + + sortLabelSwitch = true; + AktualisiereChatKontakt(); + + } + else + { + BitmapImage biy = new BitmapImage(); + biy.BeginInit(); + biy.UriSource = new Uri("pack://application:,,,/Ressources/icons/unsortiert.png"); + biy.EndInit(); + + SortLabel.Source = biy; + sortLabelSwitch = false; + AktualisiereChatKontakt(); + + } + } } public class KontaktlistBuilder : INotifyPropertyChanged @@ -1366,6 +1529,19 @@ namespace BeWo.View { this.Color = new SolidColorBrush(Colors.Orange); } + + if (typeChat == ChatType.Team) + { + _colorType = new SolidColorBrush(Colors.DarkViolet); + } + else if (typeChat == ChatType.Klienten) + { + _colorType = new SolidColorBrush(Colors.Blue); + } + else + { + _colorType = new SolidColorBrush(Colors.Green); + } } public KontaktlistBuilder(string name, StatusType statustyp, ImageSource image, long empfaengerid, ChatType typeChat, CompactCustomerDC customer) @@ -1391,6 +1567,19 @@ namespace BeWo.View { this.Color = new SolidColorBrush(Colors.Orange); } + + if (typeChat == ChatType.Team) + { + _colorType = new SolidColorBrush(Colors.DarkViolet); + } + else if (typeChat == ChatType.Klienten) + { + _colorType = new SolidColorBrush(Colors.Blue); + } + else + { + _colorType = new SolidColorBrush(Colors.Green); + } } public string Name { get; private set; } @@ -1446,7 +1635,33 @@ namespace BeWo.View //_color = value; OnPropertyChanged("Color"); } } - + + private Brush _colorType; + public Brush ColorType + { + get + { + return _colorType; + } + set + { + if (TypeChat == ChatType.Team) + { + _colorType = new SolidColorBrush(Colors.DarkViolet); + } + else if (TypeChat == ChatType.Klienten) + { + _colorType = new SolidColorBrush(Colors.Blue); + } + else + { + _colorType = new SolidColorBrush(Colors.Green); + } + + //_color = value; + OnPropertyChanged("ColorType"); + } + } public CompactCustomerDC Customer { get; set; } public event PropertyChangedEventHandler PropertyChanged; diff --git a/BeWo/View/Detail/CustomerView.xaml b/BeWo/View/Detail/CustomerView.xaml index 45e3b3ebc..a9b2f3683 100644 --- a/BeWo/View/Detail/CustomerView.xaml +++ b/BeWo/View/Detail/CustomerView.xaml @@ -183,6 +183,11 @@ + + + + + @@ -326,7 +331,7 @@ - + @@ -983,6 +988,7 @@ + @@ -1005,10 +1011,12 @@ - + + + + + + + + + diff --git a/BeWo/View/Detail/ServiceDescriptionView.xaml.cs b/BeWo/View/Detail/ServiceDescriptionView.xaml.cs index d78ca41c7..98c7ac344 100644 --- a/BeWo/View/Detail/ServiceDescriptionView.xaml.cs +++ b/BeWo/View/Detail/ServiceDescriptionView.xaml.cs @@ -125,5 +125,36 @@ namespace BeWo.View.Detail popup_costrateperiods.IsOpen = false; } + + private void Combobox_categories_OnSelected(object sender, RoutedEventArgs e) + { + + List liste = new List(); + + + string auswahl = combobox_categories.SelectedItem.ToString(); + + if (ViewModel.VMList.Count > 0) + { + foreach (var x in ViewModel.VMList) + { + if (auswahl.Equals(x.CategoryName)) + { + liste.Add(x); + } + } + + if(liste.Count > 0){ + var abx = liste.Max(s => s.Position)+1; + + ViewModel.NewVM.Position = abx; + } + else + { + ViewModel.NewVM.Position = ViewModel.NewVM.Position + 1; + } + } + + } } -} \ No newline at end of file +} diff --git a/BeWo/View/Detail/SupportConceptView.xaml b/BeWo/View/Detail/SupportConceptView.xaml index cc3dbbb2e..bd55914e5 100644 --- a/BeWo/View/Detail/SupportConceptView.xaml +++ b/BeWo/View/Detail/SupportConceptView.xaml @@ -666,7 +666,7 @@ - + @@ -719,8 +719,24 @@ --> - - + + + + + + + + + + @@ -793,6 +809,12 @@ + + diff --git a/BeWo/View/Detail/SupportConceptView.xaml.cs b/BeWo/View/Detail/SupportConceptView.xaml.cs index f253cb93f..f1a762371 100644 --- a/BeWo/View/Detail/SupportConceptView.xaml.cs +++ b/BeWo/View/Detail/SupportConceptView.xaml.cs @@ -1177,6 +1177,68 @@ namespace BeWo.View.Detail CheckAllGoalTreeItems(false); } + private void button_aufklappenAllGoals_Click(object sender, RoutedEventArgs e) + { + SwitchAllGoalTreeItems(true); + } + + private void button_zuklappenAllGoals_Click(object sender, RoutedEventArgs e) + { + SwitchAllGoalTreeItems(false); + } + + private void button_checkAllLeistungen_Click(object sender, RoutedEventArgs e) + { + CheckAllLeistungTreeItems(true); + } + + private void button_uncheckAllLeistungen_Click(object sender, RoutedEventArgs e) + { + CheckAllLeistungTreeItems(false); + } + + private void button_aufklappenAllLeistungen_Click(object sender, RoutedEventArgs e) + { + SwitchAllLeistungTreeItems(true); + } + + private void button_zuklappenAllLeistungen_Click(object sender, RoutedEventArgs e) + { + SwitchAllLeistungTreeItems(false); + } + + private void CheckAllLeistungTreeItems(bool check) + { + var allItems = treeview_serviceAccountings.ItemsSource as IList; + + foreach (var item in allItems) + { + item.IsChecked = check; + } + } + + private void SwitchAllLeistungTreeItems(bool check) + { + Style stylee = new Style + { + TargetType = typeof(TreeViewItem) + }; + + stylee.Setters.Add(new Setter(TreeViewItem.IsExpandedProperty,check)); + treeview_serviceAccountings.ItemContainerStyle = stylee; + } + + private void SwitchAllGoalTreeItems(bool check) + { + Style stylee = new Style + { + TargetType = typeof(TreeViewItem) + }; + + stylee.Setters.Add(new Setter(TreeViewItem.IsExpandedProperty, check)); + treeview_Goals.ItemContainerStyle = stylee; + } + private void CheckAllGoalTreeItems(bool check) { var allItems = treeview_Goals.ItemsSource as IList; @@ -1187,6 +1249,7 @@ namespace BeWo.View.Detail } } + private void button_openAddBetreuungsschluessel_Click(object sender, RoutedEventArgs e) diff --git a/BeWo/View/HomeDragPanelView.xaml.cs b/BeWo/View/HomeDragPanelView.xaml.cs index f319f6dd6..128fa83b9 100644 --- a/BeWo/View/HomeDragPanelView.xaml.cs +++ b/BeWo/View/HomeDragPanelView.xaml.cs @@ -1210,8 +1210,8 @@ namespace BeWo.View (ThreadStart) delegate { chatView.SetServerStats("Verbunden"); - - chatView.StatusSetting.SelectedIndex = 0; + + chatView.RadioButtonOnline.IsChecked = true; chatView.ButtonAlarmLabel.Visibility = Visibility.Collapsed; }); @@ -1233,7 +1233,7 @@ namespace BeWo.View (ThreadStart) delegate { chatView.SetServerStats("Zurzeit nicht Verbunden"); - chatView.StatusSetting.SelectedIndex = 1; + chatView.RadioButtonOffline.IsChecked = true; }); } @@ -1403,7 +1403,7 @@ namespace BeWo.View { if (chatView != null) { - chatView.StatusSetting.SelectedIndex = 1; + chatView.RadioButtonOffline.IsChecked = true; chatView.setConnectionLostIcon(); } @@ -1470,7 +1470,7 @@ namespace BeWo.View if (chatView == null) { - SaveAnkommendeServerMeldungen.Add(zaehler, messagePaket); // muss noch ordnungsgemäß gesetzt werden + SaveAnkommendeServerMeldungen.Add(zaehler, messagePaket); zaehler++; } else @@ -1492,7 +1492,7 @@ namespace BeWo.View zaehler = 1; WaitForMsFromServer(); } - //original + } WaitForMsFromServer(); } @@ -1580,15 +1580,13 @@ namespace BeWo.View case DataIdentifier.Message: - UebergebeNachricht(paket.ChatMessage, person[0].FirstName, - persoid, paket.DataIdentifier, paket.RecipientPersonOid); + UebergebeNachricht(paket.ChatMessage, person[0].FirstName,persoid); break; case DataIdentifier.Team: - UebergebeNachricht(paket.ChatMessage, person[0].FirstName + " " + person[0].LastName, - persoid, paket.DataIdentifier, paket.RecipientPersonOid); + UebergebeTeamNachricht(paket.ChatMessage, person[0].FirstName + " " + person[0].LastName,paket.RecipientPersonOid); break; } @@ -1646,91 +1644,37 @@ namespace BeWo.View } - public void UebergebeNachricht(String text,String name, long personoid ,DataIdentifier team, long empfaenger) + public void UebergebeNachricht(String text,String name, long personoid) { try { Dispatcher.Invoke( DispatcherPriority.Normal, (ThreadStart) delegate - { - if (miniChatViewList.ContainsKey(personoid) && team != DataIdentifier.Team) - { - if (chatView.AktChatUser.Items.Count > 0) - { - KontaktlistBuilder curItem = (KontaktlistBuilder)chatView.AktChatUser.Items[0]; + { + if (chatView.AktChatUser.Items.Count > 0) + { + KontaktlistBuilder curItem = (KontaktlistBuilder)chatView.AktChatUser.Items[0]; - if (chatView.Visibility == Visibility.Collapsed && - miniChatViewList[personoid].Visibility == Visibility.Collapsed) - { - miniChatViewList[personoid].Visibility = Visibility.Visible; - miniChatViewList[personoid].SetText(text, 1); - } - else if (miniChatViewList[personoid].Visibility == Visibility.Collapsed && chatView.Visibility == Visibility.Visible && curItem.EmpfaengerOid.Equals(personoid)) - { - chatView.SetText(text, name, personoid); - } - else if (miniChatViewList[personoid].Visibility == Visibility.Collapsed && !curItem.EmpfaengerOid.Equals(personoid)) - { - miniChatViewList[personoid].Visibility = Visibility.Visible; - miniChatViewList[personoid].SetText(text, 1); - } - else - { - miniChatViewList[personoid].AppendTextwhileViewOpen(text, 1); - } + if (chatView.Visibility == Visibility.Visible && curItem.EmpfaengerOid.Equals(personoid)) + { + chatView.SetText(text, name, personoid); } - else + else if (!curItem.EmpfaengerOid.Equals(personoid)) { - if (chatView.Visibility == Visibility.Collapsed && - miniChatViewList[personoid].Visibility == Visibility.Collapsed) - { - miniChatViewList[personoid].Visibility = Visibility.Visible; - miniChatViewList[personoid].SetText(text, 1); - } - else if (miniChatViewList[personoid].Visibility == Visibility.Collapsed && chatView.Visibility == Visibility.Visible) - { - miniChatViewList[personoid].Visibility = Visibility.Visible; - miniChatViewList[personoid].SetText(text, 1); - } - else - { - miniChatViewList[personoid].AppendTextwhileViewOpen(text, 1); - } - } - } - else - { - if (chatView.AktChatUser.Items.Count > 0) - { - KontaktlistBuilder curItem = (KontaktlistBuilder)chatView.AktChatUser.Items[0]; - - if (team == DataIdentifier.Team && curItem.TypeChat == ChatType.Team && curItem.EmpfaengerOid.Equals(empfaenger)) - { - var zugehorigkeit = ServiceFacade.DoEmployeeServiceSync(s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); - - foreach (var dc in zugehorigkeit) - { - if (dc.TeamOid == curItem.EmpfaengerOid) - { - chatView.SetText(text, name, dc.TeamOid); - } - } - } - else if(team == DataIdentifier.Team && (!curItem.EmpfaengerOid.Equals(empfaenger))) - { - var zugehorigkeit = ServiceFacade.DoEmployeeServiceSync(s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); - - foreach (var dc in zugehorigkeit) - { - if (dc.TeamOid == empfaenger) - { - chatView.SetTeamAnzahlErhalteneNachricht(dc.TeamOid, ChatType.Team); - } - } - } - } - } + chatView.SetAnzahlErhalteneNachricht(personoid); + } + else if(chatView.Visibility == Visibility.Collapsed && curItem.EmpfaengerOid.Equals(personoid)) + { + //Christian hier muss dein Kramm hin du wolltest die nachricht ja speziell anzeigen lassen + miniChatViewList[personoid].Visibility = Visibility.Visible; + miniChatViewList[personoid].SetText(text, 1); + } + } + else + { + chatView.SetAnzahlErhalteneNachricht(personoid); + } }); } catch (Exception e) @@ -1740,6 +1684,84 @@ namespace BeWo.View } + public void UebergebeTeamNachricht(String text, String name , long empfaenger) + { + try + { + Dispatcher.Invoke( + DispatcherPriority.Normal, + (ThreadStart) delegate + { + if (chatView.AktChatUser.Items.Count > 0) + { + KontaktlistBuilder curItem = (KontaktlistBuilder) chatView.AktChatUser.Items[0]; + + if (curItem.TypeChat == ChatType.Team && curItem.EmpfaengerOid.Equals(empfaenger) && chatView.Visibility == Visibility.Visible) + { + var zugehorigkeit = + ServiceFacade.DoEmployeeServiceSync( + s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); + + foreach (var dc in zugehorigkeit) + { + if (dc.TeamOid == curItem.EmpfaengerOid) + { + chatView.SetText(text, name, dc.TeamOid); + } + } + } + else if(!curItem.EmpfaengerOid.Equals(empfaenger)) + { + var zugehorigkeit = + ServiceFacade.DoEmployeeServiceSync( + s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); + + foreach (var dc in zugehorigkeit) + { + if (dc.TeamOid == empfaenger) + { + chatView.SetTeamAnzahlErhalteneNachricht(dc.TeamOid, ChatType.Team); + } + } + } + else if (chatView.Visibility == Visibility.Collapsed && curItem.EmpfaengerOid.Equals(empfaenger) && curItem.TypeChat == ChatType.Team) + { + var zugehorigkeit = + ServiceFacade.DoEmployeeServiceSync( + s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); + + foreach (var dc in zugehorigkeit) + { + if (dc.TeamOid == empfaenger) + { + //Christian hier muss dein Kramm hin du wolltest die nachricht ja speziell anzeigen lassen + } + } + } + } + else + { + var zugehorigkeit = + ServiceFacade.DoEmployeeServiceSync( + s => s.GetTeamOidsByEmployee(BeWoApp.LoggedOnUser.Employee.PersonOid)); + + foreach (var dc in zugehorigkeit) + { + if (dc.TeamOid == empfaenger) + { + chatView.SetTeamAnzahlErhalteneNachricht(dc.TeamOid, ChatType.Team); + } + } + } + }); + } + catch (Exception e) + { + MessageBox.Show("Team Nachrichtenübermittlung fehlgeschlagen ", "Fehler: 2060 ", MessageBoxButton.OK); + } + + } + public void DeleteLoggedOffUsers(String personname,long personoid) { try @@ -1793,7 +1815,7 @@ namespace BeWo.View { if (!threadstop) { - MessageBox.Show("Die verbindung zum Server wurde seitens dem Server unterbrochen", "Info", MessageBoxButton.OK); + //MessageBox.Show("Die verbindung zum Server wurde seitens dem Server unterbrochen", "Info", MessageBoxButton.OK); clientSocket.Client.Disconnect(true); clientSocket.Client.Close(); clientSocket = null; @@ -1809,7 +1831,7 @@ namespace BeWo.View chatView.ButtonAlarmLabel.Visibility = Visibility.Visible; chatView.SetAllUserOfflineIfNoInet(); - chatView.StatusSetting.SelectedIndex = 1; + chatView.RadioButtonOffline.IsChecked = true; chatView.SetServerStats("Verbindung zum Server Unterbrochen"); } }); @@ -1920,7 +1942,7 @@ namespace BeWo.View } catch (Exception edf) { - MessageBox.Show("Beim Versuch ,die verbindung mit dem Server zu trennen, ist ein Fehler unterlaufen. " + edf.Message +"\n"+edf.StackTrace, "Fehler: 2100 ", MessageBoxButton.OK); + //MessageBox.Show("Beim Versuch, die Verbindung mit dem Server zu trennen, ist ein Fehler unterlaufen. " + edf.Message +"\n"+edf.StackTrace, "Fehler: 2100 ", MessageBoxButton.OK); } } //--------------------------------------------------------------------------------------------------------------------------- diff --git a/BeWo/ViewModel/CustomerEmployeeRelationVM.cs b/BeWo/ViewModel/CustomerEmployeeRelationVM.cs index 123abbee5..a688cac97 100644 --- a/BeWo/ViewModel/CustomerEmployeeRelationVM.cs +++ b/BeWo/ViewModel/CustomerEmployeeRelationVM.cs @@ -20,6 +20,8 @@ namespace BeWo.ViewModel public static string PropertyName_Role = "Role"; + public static string PropertyName_Chatpartner = "Chatpartner"; + private CompactCustomerDC _Customer; private CompactEmployeeDC _Employee; @@ -28,6 +30,8 @@ namespace BeWo.ViewModel private ValueListEntryDC _Role; + private bool _Chatpartner; + public CustomerEmployeeRelationVM(CustomerEmployeeRelationDC pDC) : base(pDC, pDC.Employee2CustomerOid == null) { } @@ -95,6 +99,20 @@ namespace BeWo.ViewModel } } + public bool Chatpartner + { + get { return _Chatpartner; } + set + { + if (this.AreDifferent(this._Chatpartner, value)) + { + _Chatpartner = value; + this.StoreDirtyInformation(this.AreDifferent(this.DataContract.Chatpartner, value), PropertyName_Chatpartner); + this.FirePropertyChanged(PropertyName_Chatpartner); + } + } + } + [Validation(ValidationRule = ValidationRules.NotNullOrStringEmpty)] public ValueListEntryDC Role { @@ -119,6 +137,7 @@ namespace BeWo.ViewModel this._Customer = pDataContract.Customer; this._Role = pDataContract.RelationRole; this._Notice = pDataContract.Notice; + _Chatpartner = pDataContract.Chatpartner; } } @@ -128,6 +147,7 @@ namespace BeWo.ViewModel pDataContract.Customer = this._Customer; pDataContract.RelationRole = this._Role; pDataContract.Notice = this._Notice; + pDataContract.Chatpartner = _Chatpartner; return pDataContract; } diff --git a/BeWo/ViewModel/ListViewModel/ServiceCategoryListVM.cs b/BeWo/ViewModel/ListViewModel/ServiceCategoryListVM.cs index 01015f984..86ecf1c5b 100644 --- a/BeWo/ViewModel/ListViewModel/ServiceCategoryListVM.cs +++ b/BeWo/ViewModel/ListViewModel/ServiceCategoryListVM.cs @@ -17,5 +17,6 @@ namespace BeWo.ViewModel.ListViewModel { get { return Comparer.ServiceCategoryVMComparer; } } + } } \ No newline at end of file diff --git a/BeWo/ViewModel/ServiceDescriptionVM.cs b/BeWo/ViewModel/ServiceDescriptionVM.cs index 82020d865..9f05e565b 100644 --- a/BeWo/ViewModel/ServiceDescriptionVM.cs +++ b/BeWo/ViewModel/ServiceDescriptionVM.cs @@ -120,6 +120,7 @@ namespace BeWo.ViewModel } } + public int Position { get { return _Position; } diff --git a/Data/Access/SearchDAO.cs b/Data/Access/SearchDAO.cs index 1cf3e36d4..0a8db198c 100644 --- a/Data/Access/SearchDAO.cs +++ b/Data/Access/SearchDAO.cs @@ -1520,6 +1520,15 @@ namespace BeWo.Data.Access return c2.List(); } + public IEnumerable FindAllChatpartnerEmployee2Customer(long pRecipientOid) + { + var c = CreateCriteriaIsActive() + .Add(Restrictions.Eq(Employee2Customer.PropertyName_EmployeeOid, pRecipientOid)) + .Add(Restrictions.Eq(Employee2Customer.PropertyName_Chatpartner,true)); + + return c.List(); + } + public IEnumerable FindAllChatMessages(long senderOid, long empfaengerOid) { var c = CreateCriteriaIsActive() diff --git a/Data/Entities/Customer.cs b/Data/Entities/Customer.cs index 5201d23ce..72b5e6808 100644 --- a/Data/Entities/Customer.cs +++ b/Data/Entities/Customer.cs @@ -49,7 +49,8 @@ namespace BeWo.Data.Entities public static string PropertyName_CustomerAlias = "CustomerAlias"; public static string PropertyName_Pflegegrad = "Pflegegrad"; public static string Propertyname_CustomerImage = "CustomerImage"; - + public static string Propertyname_Thumbnail = "Thumbnail"; + private Auszahlungsintervall _Auszahlungsintervall; private IList _AbsenceTimes; @@ -94,6 +95,7 @@ namespace BeWo.Data.Entities private string _CustomerAlias; private Pflegegrad? _Pflegegrad; private byte[] _CustomerImage; + private byte[] _Thumbnail; @@ -661,6 +663,20 @@ namespace BeWo.Data.Entities } } + public virtual Byte[] Thumbnail + { + get { return _Thumbnail; } + + set + { + if (AreDifferent(_Thumbnail, value)) + { + _Thumbnail = value; + } + } + } + + } } \ No newline at end of file diff --git a/Data/Entities/Employee2Customer.cs b/Data/Entities/Employee2Customer.cs index 09b890715..66800c8cf 100644 --- a/Data/Entities/Employee2Customer.cs +++ b/Data/Entities/Employee2Customer.cs @@ -16,6 +16,8 @@ namespace BeWo.Data.Entities public static string PropertyName_ValueList = "ValueList"; + public static string PropertyName_Chatpartner = "Chatpartner"; + private Customer _Customer; private long? _CustomerOid; @@ -26,6 +28,8 @@ namespace BeWo.Data.Entities private IList _ValueList; + private bool _Chatpartner; + public Employee2Customer() { this._Tid = TableID.Employee2Customer; @@ -128,5 +132,17 @@ namespace BeWo.Data.Entities } } } + + public virtual bool Chatpartner + { + get { return _Chatpartner; } + set + { + if (this.AreDifferent(_Chatpartner, value)) + { + _Chatpartner = value; + } + } + } } } \ No newline at end of file diff --git a/Data/Mappings/Customer.hbm.xml b/Data/Mappings/Customer.hbm.xml index fa6521831..599fcbaf9 100644 --- a/Data/Mappings/Customer.hbm.xml +++ b/Data/Mappings/Customer.hbm.xml @@ -25,6 +25,7 @@ + @@ -42,6 +43,7 @@ + diff --git a/Data/Mappings/Employee2Customer.hbm.xml b/Data/Mappings/Employee2Customer.hbm.xml index f09bf5c2a..b5e0d4035 100644 --- a/Data/Mappings/Employee2Customer.hbm.xml +++ b/Data/Mappings/Employee2Customer.hbm.xml @@ -17,6 +17,7 @@ + diff --git a/Model/Changes_26_09_2016.txt b/Model/Changes_26_09_2016.txt new file mode 100644 index 000000000..f91dd9e83 --- /dev/null +++ b/Model/Changes_26_09_2016.txt @@ -0,0 +1,2 @@ +ALTER TABLE `1234567890`.`employee2customer` +ADD COLUMN `Chatpartner` TINYINT(4) NULL DEFAULT 0 COMMENT '' AFTER `SystemEntryID`; diff --git a/Model/Changes_29_09_2016.txt b/Model/Changes_29_09_2016.txt new file mode 100644 index 000000000..4cb84b500 --- /dev/null +++ b/Model/Changes_29_09_2016.txt @@ -0,0 +1,2 @@ +ALTER TABLE `1234567890`.`customer` +ADD COLUMN `Thumbnail` LONGBLOB NULL DEFAULT NULL COMMENT '' AFTER `CustomerImage`; diff --git a/Service/Core/Utils.cs b/Service/Core/Utils.cs index 833f4b6b5..904194985 100644 --- a/Service/Core/Utils.cs +++ b/Service/Core/Utils.cs @@ -1,6 +1,9 @@ using System; using System.Collections.Generic; using System.Configuration; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Drawing.Imaging; using System.Globalization; using System.IO; using System.Net; @@ -10,10 +13,13 @@ using System.ServiceModel; using System.ServiceModel.Channels; using System.Text; using System.Text.RegularExpressions; +using System.Windows.Media; +using System.Windows.Media.Imaging; using System.Xml; using BeWo.Data.Entities; using BeWo.Service.ServiceContracts; using BeWo.Data; +using DevExpress.XtraPrinting.Native; namespace BeWo.Service.Core { @@ -176,5 +182,8 @@ namespace BeWo.Service.Core return erg; } + + + } } \ No newline at end of file diff --git a/Service/DCEntityMapper/CustomerDC_Customer.cs b/Service/DCEntityMapper/CustomerDC_Customer.cs index c46f6c034..d5fcfe53f 100644 --- a/Service/DCEntityMapper/CustomerDC_Customer.cs +++ b/Service/DCEntityMapper/CustomerDC_Customer.cs @@ -181,7 +181,8 @@ namespace BeWo.Service.DCEntityMapper pEntity.MerkzeichenListe = pDataContract.MerkzeichenListe; pEntity.Pflegegrad = pDataContract.Pflegegrad; pEntity.CustomerImage = pDataContract.CustomerImage; - + + pEntity.Thumbnail = Utils.ErstelleThumbnail(pDataContract.CustomerImage, 200, 200); if (pDataContract.TerminationReason == null) { diff --git a/Service/DCEntityMapper/CustomerEmployeeRelDC_Employee2CustomerMapper.cs b/Service/DCEntityMapper/CustomerEmployeeRelDC_Employee2CustomerMapper.cs index 4e1425322..8b580e4f5 100644 --- a/Service/DCEntityMapper/CustomerEmployeeRelDC_Employee2CustomerMapper.cs +++ b/Service/DCEntityMapper/CustomerEmployeeRelDC_Employee2CustomerMapper.cs @@ -20,6 +20,7 @@ namespace BeWo.Service.DCEntityMapper pDataContract.Employee2CustomerOid = pEntity.Oid; pDataContract.Employee2CustomerVersion = pEntity.Version; pDataContract.Notice = pEntity.Notice; + pDataContract.Chatpartner = pEntity.Chatpartner; return pDataContract; } @@ -42,6 +43,7 @@ namespace BeWo.Service.DCEntityMapper pEntity.Oid = pDataContract.Employee2CustomerOid; pEntity.Notice = pDataContract.Notice; + pEntity.Chatpartner = pDataContract.Chatpartner; return pEntity; } diff --git a/Service/ServiceContracts/ICustomerService.cs b/Service/ServiceContracts/ICustomerService.cs index d6ed9db23..327cc7c56 100644 --- a/Service/ServiceContracts/ICustomerService.cs +++ b/Service/ServiceContracts/ICustomerService.cs @@ -605,6 +605,10 @@ namespace BeWo.Service.ServiceContracts [OperationContract] Byte[] GetCustomerImage(long customerOid); + [FaultContract(typeof(BeWoFault))] + [OperationContract] + Byte[] GetCustomerThumbnail(long customerOid); + [FaultContract(typeof(BeWoFault))] [OperationContract] List GetAllCustomerAppCodes(long pCustomerOid); diff --git a/Service/ServiceImplementations/CustomerServiceImp.cs b/Service/ServiceImplementations/CustomerServiceImp.cs index 03a54340f..6983d3e3b 100644 --- a/Service/ServiceImplementations/CustomerServiceImp.cs +++ b/Service/ServiceImplementations/CustomerServiceImp.cs @@ -3146,23 +3146,28 @@ namespace BeWo.Service.ServiceImplementations } } - // TODO: CompactPersonDCs benutzen public List GetAllChatActiveCustomersCompact(long personOid) { try { var customers = DAOFactory.SearchDAO.FindAllChatActiveCustomers(); - var employee = DAOFactory.SearchDAO.FindEmployeeWithPersonOid(personOid); + var chatpartner = DAOFactory.SearchDAO.FindAllChatpartnerEmployee2Customer(personOid); - var customeroids = employee.Employee2CustomerList.Select(s => s.CustomerOid.Value); + List customerpartner = new List(); + foreach (var x in customers) + { + foreach (var y in chatpartner) + { + if (x.Oid == y.CustomerOid) + { + customerpartner.Add(x); + } + } + } - - - - - return MapperFactory.CompactCustomerDC_Customer.MapToNewDCs(customers); + return MapperFactory.CompactCustomerDC_Customer.MapToNewDCs(customerpartner); } catch (Exception e) { @@ -3204,7 +3209,7 @@ namespace BeWo.Service.ServiceImplementations { var messages = DAOFactory.SearchDAO.FindAllEmpfängerChatMessages(senderOid, empfaengerOid); - // var updateGelesen = MapperFactory.ChatMessagesDC_ChatMessages.MapToNewDCs(messages); + // var updateGelesen = MapperFactory.ChatMessagesDC_ChatMessages.MapToNewDCs(messages); foreach (var read in messages) { @@ -3253,6 +3258,21 @@ namespace BeWo.Service.ServiceImplementations } } + public Byte[] GetCustomerThumbnail(long customerOid) + { + try + { + + var customer = DAOFactory.GenericDAO.GetByID(customerOid); + + return customer.Thumbnail; + } + catch (Exception e) + { + throw Utils.CreateBeWoFaultException(e); + } + } + private static String SerializeObject(object obj) { return JsonConvert.SerializeObject(obj, Formatting.Indented, new JsonSerializerSettings { ContractResolver = new ShouldSerializeContractResolver(), ReferenceLoopHandling = ReferenceLoopHandling.Ignore }); diff --git a/Shared/Core/Utils.cs b/Shared/Core/Utils.cs index c2368a00a..0ba4009b3 100644 --- a/Shared/Core/Utils.cs +++ b/Shared/Core/Utils.cs @@ -1,6 +1,9 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Drawing; +using System.Drawing.Drawing2D; +using System.Drawing.Imaging; using System.IO; using System.IO.Compression; using System.Linq; @@ -446,6 +449,93 @@ namespace BS.Shared.Core { return (int)(Object)e; } + + public static byte[] ErstelleThumbnail(byte[] data, int width, int height) + { + var imageOriginal = CreateImageFromByteArray(data); + if (imageOriginal == null) + { + return null; + } + + var originalW = imageOriginal.Width; + var originalH = imageOriginal.Height; + + DateTime? originRecordDateTime; + + var smallImage = ResizeImage(imageOriginal, new Size(width, height)); + var smallData = CreateByteArrayFromImage(smallImage); + + smallImage.Dispose(); + + return smallData; + } + + + public static Image CreateImageFromByteArray(byte[] data) + { + try + { + using (var ms = new MemoryStream(data)) + { + ms.Position = 0; + var image = Image.FromStream(ms); + return image; + } + } + catch (Exception) + { + return null; + } + } + + public static Image ResizeImage(Image original, Size size) + { + var newSize = CalcSize(original.Width, original.Height, size.Width, size.Height); + + var newImage = new Bitmap(newSize.Width, newSize.Height); + + using (var graphicsHandle = Graphics.FromImage(newImage)) + { + graphicsHandle.InterpolationMode = InterpolationMode.HighQualityBicubic; + graphicsHandle.DrawImage(original, 0, 0, newSize.Width, newSize.Height); + } + return newImage; + } + + public static byte[] CreateByteArrayFromImage(Image image) + { + if (image != null) + { + using (var memoryStream = new MemoryStream()) + { + image.Save(memoryStream, ImageFormat.Jpeg); + return memoryStream.ToArray(); + } + } + return null; + } + + private static Size CalcSize(int originalWidth, int originalHeight, int desiredWidth, int desiredHeight) + { + var percentWidth = desiredWidth / (float)originalWidth; + var percentHeight = desiredHeight / (float)originalHeight; + var percent = percentHeight < percentWidth ? percentHeight : percentWidth; + + var width = (int)Math.Round(originalWidth * percent, MidpointRounding.AwayFromZero); + var height = (int)Math.Round(originalHeight * percent, MidpointRounding.AwayFromZero); + if (width == 0) + { + width = 1; + } + if (height == 0) + { + height = 1; + } + + return new Size(width, height); + } + } public struct NullCompareResult diff --git a/Shared/DataContracts/ClientPartials/ServiceCategoryDC.cs b/Shared/DataContracts/ClientPartials/ServiceCategoryDC.cs index 99664c2a1..df4d7e819 100644 --- a/Shared/DataContracts/ClientPartials/ServiceCategoryDC.cs +++ b/Shared/DataContracts/ClientPartials/ServiceCategoryDC.cs @@ -1,6 +1,8 @@ -namespace BS.Shared.DataContracts +using System; + +namespace BS.Shared.DataContracts { - public partial class ServiceCategoryDC + public partial class ServiceCategoryDC : IComparable { public override bool Equals(object obj) { @@ -25,10 +27,21 @@ { return this.ServiceCategoryOid.HasValue ? this.GetType().Name.GetHashCode() ^ this.ServiceCategoryOid.GetHashCode() : base.GetHashCode(); } + public override string ToString() { return this.Name; } + + public int CompareTo(object obj) + { + var category2 = obj as ServiceCategoryDC; + if (category2 == null || String.IsNullOrEmpty(category2.Name)) + return -1; + if (String.IsNullOrEmpty(Name)) + return 1; + return Name.CompareTo(category2.Name); + } } } \ No newline at end of file diff --git a/Shared/DataContracts/CustomerEmployeeRelationDC.cs b/Shared/DataContracts/CustomerEmployeeRelationDC.cs index d3304f9eb..d063bd2a8 100644 --- a/Shared/DataContracts/CustomerEmployeeRelationDC.cs +++ b/Shared/DataContracts/CustomerEmployeeRelationDC.cs @@ -24,5 +24,9 @@ namespace BS.Shared.DataContracts [DataMember] public ValueListEntryDC RelationRole { get; set; } + + [DataMember] + public bool Chatpartner { get; set; } + } } \ No newline at end of file diff --git a/Shared/Shared.csproj b/Shared/Shared.csproj index 5fb11af9c..f6c5bd9ee 100644 --- a/Shared/Shared.csproj +++ b/Shared/Shared.csproj @@ -99,6 +99,7 @@ 3.5 + 3.0