Index: WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheValidator.cls.xml =================================================================== diff -u --- WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheValidator.cls.xml (revision 0) +++ WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheValidator.cls.xml (revision 39415) @@ -0,0 +1,59 @@ + + + +TECH.RegisteredObject + + +%String +Vhisie3 + + + +%String +Vhisie4 + + + +%String +1 + + + +WinkelkarId:%String,WinkelkarLijnenCache:%ArrayOfObjects +%Boolean + + + + +ExceptionList:TECH.ExceptionList +1 + 0 { + Set Exception = ##class(TECH.Exceptions.InvalidInputException).%New("Er zijn fouten voor winkelkar met ID " _..WinkelkarId ) + Do Exception.VoegToeInnerExcepties(ExceptionList) + Do ##class(TECH.ExceptionHandler).Throw(Exception) + } +]]> + + + + + Index: WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheBuilder.cls.xml =================================================================== diff -u -r39385 -r39415 --- WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheBuilder.cls.xml (.../LijnCacheBuilder.cls.xml) (revision 39385) +++ WSimpl/Vhisie4/Winkelkar/WinkelkarService/HerberekenMaatwerk/LijnCacheBuilder.cls.xml (.../LijnCacheBuilder.cls.xml) (revision 39415) @@ -34,6 +34,11 @@ 1 + +WSimpl.Vhisie4.Winkelkar.WinkelkarService.HerberekenMaatwerk.LijnCacheValidator +1 + + Vhisie3WinkelkarUtils:APPS.EC.Winkelkar.impl.WinkelkarUtils,Vhisie4WinkelkarUtils:WSimpl.Vhisie4.Winkelkar.WinkelkarUtils 1 @@ -43,6 +48,7 @@ @@ -63,7 +69,7 @@ Set ..WinkelkarId = Vhisie4Winkelkar.ID - Do ..ValidateCache() + Do ..LijnCacheValidator.ValidateCache(..WinkelkarId, ..WinkelkarLijnenCache) Quit ..WinkelkarLijnenCache ]]> @@ -86,41 +92,6 @@ } ]]> - - -WinkelkarId:%String -1 -%Boolean - - - - -ExceptionList:TECH.ExceptionList -1 - 0 { - Set Exception = ##class(TECH.Exceptions.InvalidInputException).%New("Er zijn fouten voor winkelkar met ID " _..WinkelkarId ) - Do Exception.VoegToeInnerExcepties(ExceptionList) - Do ##class(TECH.ExceptionHandler).Throw(Exception) - } -]]> -