<div dir="ltr">Hello Glenn,<div><br></div><div>in groovy scripts in midPoint I use syntax like this:</div><div><br></div><div><div>briamId = "33c161e0-ed27-470c-9606-c863894c782b";</div><div>briamIdItem = new ItemPath(new ItemPath(PrismConstants.EXTENSION_LOCAL_NAME),new QName('<a href="http://cibg.brussels/xml/ns/idmSchema">http://cibg.brussels/xml/ns/idmSchema</a>', 'briamId'));</div><div><br></div><div>ObjectFilter userFilter = QueryBuilder.queryFor(UserType.class, midpoint.getPrismContext()).item(briamIdItem).eq(briamId).buildFilter();</div><div>ObjectQuery userQuery = ObjectQuery.createObjectQuery(userFilter, ObjectPaging.createEmptyPaging()); // we don't need no paging</div><div><br></div><div>List<UserType> foundUsers = null;</div><div>try{</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>foundUsers = midpoint.searchObjects(UserType.class, userQuery);</div><div>}catch(ObjectNotFoundException ex){</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>//doesnt matter. carry on.</div><div>}</div></div><div><br></div><div>Try it. It should work also in the overlay.</div><div><br></div><div>Best Regards</div><div><br></div><div>Oskar Butovič</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-29 17:17 GMT+02:00 BOSCHMANS Glenn <span dir="ltr"><<a href="mailto:gboschmans@cibg.brussels" target="_blank">gboschmans@cibg.brussels</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NL-BE" link="#0563C1" vlink="#954F72">
<div class="m_-7774604248289710812WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Hi guys,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">We are creating our own REST API with a Maven Overlay of midPoint (to limit the chatter over the network). We also have a custom schema for UserType. In our REST
API I need to search for a user based on a value within the extension. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">In the Query Playground I get a correct result for this query:<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><query><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> <filter><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> <equal><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> <path>extension/briamId</path><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> <value>33c161e0-ed27-470c-<wbr>9606-c863894c782b</value><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> </equal><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> </filter><u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"></query></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Because of that I wanted to replicate this query in Java code:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">EqualFilter<String>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6a3e3e">filter</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> = EqualFilter.<i>createEqual</i>(</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7f0055">new</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
ItemPath(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2a00ff">"extension/briamId"</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">),</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7f0055"><wbr>null</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">,</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7f0055">null</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> PrismPropertyValue<String>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6a3e3e">value</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7f0055">new</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> PrismPropertyValue<String>(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6a3e3e">bri<wbr>amId</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span style="font-size:10.0pt;font-family:Consolas;color:#6a3e3e">filter</span><span style="font-size:10.0pt;font-family:Consolas;color:black">.setValue(</span><span style="font-size:10.0pt;font-family:Consolas;color:#6a3e3e">value</span><span style="font-size:10.0pt;font-family:Consolas;color:black">);<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">SearchResultList<PrismObject<<wbr>UserType>> userPrismList =modelService.searchObjects(<wbr>UserType.class, ObjectQuery.createObjectQuery(<wbr>filter) , options, task, parentResult);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">When I execute this code the following exception occurs:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">2017-05-29 16:58:47,375 [] [http-nio-8080-exec-2] ERROR (com.evolveum.midpoint.repo.<wbr>sql.helpers.BaseHelper): General checked exception occurred.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">com.evolveum.midpoint.repo.<wbr>sql.query.QueryException: Couldn't find a proper restriction for a ValueFilter: EQUAL:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> PATH: extension/briamId<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> DEF: null<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> VALUE:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> 33c161e0-ed27-470c-9606-<wbr>c863894c782b<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryInterpreter2.<wbr>findAndCreateRestrictionIntern<wbr>al(QueryInterpreter2.java:230) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryInterpreter2.<wbr>findAndCreateRestriction(<wbr>QueryInterpreter2.java:176) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryInterpreter2.<wbr>interpretFilter(<wbr>QueryInterpreter2.java:156) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryInterpreter2.<wbr>interpretQueryFilter(<wbr>QueryInterpreter2.java:150) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryInterpreter2.<wbr>interpret(QueryInterpreter2.<wbr>java:120) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.query2.QueryEngine2.<wbr>interpret(QueryEngine2.java:<wbr>50) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.helpers.ObjectRetriever.<wbr>searchObjectsAttempt(<wbr>ObjectRetriever.java:373) ~[repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>sql.SqlRepositoryServiceImpl.<wbr>searchObjects(<wbr>SqlRepositoryServiceImpl.java:<wbr>251) [repo-sql-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.repo.<wbr>cache.RepositoryCache.<wbr>searchObjects(RepositoryCache.<wbr>java:165) [repo-cache-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at com.evolveum.midpoint.model.<wbr>impl.controller.<wbr>ModelController.searchObjects(<wbr>ModelController.java:826) [model-impl-3.5.1.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at brussels.bric.midpoint.rest.<wbr>UserService.getUser(<wbr>UserService.java:104) [briam-midpoint-rest-server-1.<wbr>0.0.jar:na]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke0(Native Method) ~[na:1.8.0_66]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at sun.reflect.<wbr>NativeMethodAccessorImpl.<wbr>invoke(<wbr>NativeMethodAccessorImpl.java:<wbr>62) ~[na:1.8.0_66]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43) ~[na:1.8.0_66]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> at java.lang.reflect.Method.<wbr>invoke(Method.java:497) ~[na:1.8.0_66]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> …<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">I have no idea what I’m missing. Any ideas?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Thanks!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Glenn<u></u><u></u></span></p>
</div>
<div lang="FR-BE" vlink="#6c606a" link="#005dba">
<div class="m_-7774604248289710812WordSection1">
<table border="0">
<tbody>
<tr>
<td style="BORDER-RIGHT:#fecb00 thin solid;WIDTH:306px" valign="top" width="322">
<img border="0" hspace="0" src="cid:cibg_aee22c14-e9ed-4d7b-8c27-f6c4a26e7736.png" width="300" height="101"></td>
<td valign="top">
<p style="FONT-SIZE:10pt;FONT-FAMILY:Arial;LINE-HEIGHT:normal"><span class="m_-7774604248289710812TitreCar"><b><span lang="EN-US" style="FONT-SIZE:15pt;FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#0080bf">Glenn Boschmans</span></b></span><br>
<span class="m_-7774604248289710812MsoSubtleReference"><span lang="EN-US" style="FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#0a00be">Consultant</span></span><br>
<span lang="EN-US" style="FONT-SIZE:11pt;FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#164397">Business Integrated Solutions
</span><br>
<span lang="EN-US" style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri Light','sans-serif'">Kunstlaan 21, 1000 Brussel -
</span><span lang="EN-US" style="FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#0080bf"><a href="http://cibg.brussels" target="_blank"><span style="FONT-SIZE:10pt;COLOR:#0080bf">cibg.brussels</span></a></span><span lang="EN-US" style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri Light','sans-serif'">
- </span><span lang="EN-US" style="FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#0080bf"><a href="http://cibg.brussels/disclaimer-1" target="_blank"><span style="FONT-SIZE:10pt;COLOR:#0080bf">disclaimer</span></a></span><br>
<span lang="EN-US" style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri Light','sans-serif'"><a href="tel:+32%202%20282%2047%2070" value="+3222824770" target="_blank">+32 2 282 47 70</a><span style="COLOR:#fecb00"> | </span><span style="FONT-SIZE:10pt;FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#000000">
<span style="COLOR:#000000"><br>
<span lang="EN-US" style="FONT-SIZE:9pt;FONT-FAMILY:'Calibri Light','sans-serif';COLOR:#61c250">Be green, leave it on the screen !</span> <wbr>
</span></span><a href="http://www.linkedin.com/company/cirb_cibg" target="_blank"><img border="0" src="cid:ln_e679eb12-caaa-4d0d-b64d-b39c820c309b.png" width="22" height="19"></a> <a href="https://twitter.com/CIRB_CIBG" target="_blank"><img border="0" src="cid:tw_20cfb408-d952-4ea7-a757-a8716eaac012.png" width="19" height="19"></a> <a href="http://www.leefmilieu.brussels/themas/duurzame-stad/label-ecodynamische-onderneming" target="_blank"><img border="0" hspace="0" src="cid:logo_eco_mail_e3e2fbdd-9cbf-4a5b-b0c1-1624e00ef4cd.jpg"></a></span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="font-family:Verdana,Arial,Helvetica,sans-serif;border-collapse:collapse;padding:0px;margin:0px;border-width:0px!important;border-style:solid!important;width:482px!important"><tbody><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;width:160px;vertical-align:bottom;padding:0px;border:0px solid gray!important"><p><span style="font-size:14px;font-weight:bold">Oskar Butovič</span><br>solution architect<br><br>gsm: [+420] 774 480 101<br>e-mail: <a href="mailto:oskar.butovic@ami.cz" target="_blank">oskar.butovic@ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important"> </td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray!important"> </td><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;vertical-align:bottom;padding:0px;width:123px;border:0px solid gray!important"><p>AMI Praha a.s.<br>Pláničkova 11<br>162 00 Praha 6<br>tel.: [+420] 274 783 239<br>web: <a href="http://www.ami.cz/" target="_blank">www.ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;border-right-width:1px;border-right-style:solid;border-right-color:rgb(204,204,204);padding:0px;border-top-width:0px!important;border-bottom-width:0px!important;border-left-width:0px!important;border-top-style:solid!important;border-bottom-style:solid!important;border-left-style:solid!important;border-top-color:gray!important;border-bottom-color:gray!important;border-left-color:gray!important"> </td><td style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray!important"> </td><td style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px;margin:8px;border:0px solid gray!important;width:116px"><p><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border:0px"></p></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td colspan="7" style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;padding:0px;width:480px;border:0px solid gray!important"><br><a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management" target="_blank"><img src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="AMI Praha a.s." style="border:0px;width:480px!important;height:82px!important"></a></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray!important"><td colspan="7" style="color:rgb(128,128,128);font-family:Arial,sans-serif;font-size:11px;padding:0px;border:0px solid gray!important"><br>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><br></td></tr></tbody></table></div></div></div></div></div></div></div>
</div>