+1 Vladimir
Am 09.10.2017 12:56 schrieb "Rade, Joerg / Kuehne + Nagel / Ham GI-DP" < joerg.r...@kuehne-nagel.com>: > +1 > > -----Ursprüngliche Nachricht----- > Von: Stephen Cameron [mailto:steve.cameron...@gmail.com] > Gesendet: Montag, 9. Oktober 2017 12:49 > An: users@isis.apache.org > Betreff: Re: Quartz | ISIS Metamodel Validation errors > > It seems a small detail, but having the explicit use of @Action probably > would be better. I often have to add @Programmatic to make unexpected > things go from the UI, its not the focus and so you forget it. > > On Mon, Oct 9, 2017 at 9:26 PM, Dan Haywood <d...@haywood-associates.co.uk> > wrote: > > > Do we think that Isis should require that public methods be annotated > > as @Action in order to be picked up? Put another way, that > > @Programmatic is assumed unless @Action is specified? > > > > Maybe we could introduce a configuration property to make this > > configurable, with the default currently as is? > > > > Thoughts? > > Dan > > > > > > On Mon, 9 Oct 2017 at 07:08 Jayesh Prajapati <jayesh...@gmail.com> > wrote: > > > > > Thank you Oscar. > > > > > > Cheers, > > > Jayesh > > > > > > On 08-Oct-2017 8:28 PM, "Óscar Bou" <oscar...@gmail.com> wrote: > > > > > > > > > Dear Jayesh, > > > > > > As you’ve discovered, Isis will automatically add to the metamodel > > > as actions all public methods on Domain Entities and Services. > > > > > > When those public methods are intended as internal methods, but you > > > need them to be public (due to package scope, etc.) you can annotate > > > them with @Programmatic, telling Apache Isis that they’re not part > > > of your app’s Domain metamodel. > > > > > > HTH, > > > > > > Oscar > > > > > > > > > > El 8 oct 2017, a las 12:15, Jayesh Prajapati <jayesh...@gmail.com> > > > escribió: > > > > > > > > Hi, > > > > > > > > I figured that above validation were applied on quartz objects > > > > because > > > they > > > > were used as argument in one of the public method of a domain > service. > > > > > > > > public JobDetail createJobDetail(String name, String group, > > > > JobDataMap > > > > jobDataMap) { > > > > > > > > After making this method private it started working fine. Any more > > > > clarification/detail on above behavior is much appreciated. > > > > > > > > Cheers, > > > > Jayesh > > > > > > > > On Sun, Oct 8, 2017 at 2:21 PM, Jayesh Prajapati > > > > <jayesh...@gmail.com> > > > > wrote: > > > > > > > >> Hi, > > > >> > > > >> I am using v1.15.0 along with quartz addon. While starting below > > errors > > > >> are reported. > > > >> > > > >> ################################################ ISIS METAMODEL > > > >> VALIDATION ERRORS ############################## > > > >> ################################## > > > >> > > > >> org.quartz.JobDataMap#clearDirtyFlag: has prefix clear, is > > > >> probably intended as a supporting method for a property, collection > or action. > > > If > > > >> the method is intended to be an action, then rename and use > > > >> @ActionLayout(named="...") or ignore completely using > > > >> @Programmatic > > > >> org.quartz.utils.DirtyFlagMap#clearDirtyFlag: has prefix clear, > > > >> is probably intended as a supporting method for a property, > > > >> collection or action. If the method is intended to be an action, > > > >> then rename and > > use > > > >> @ActionLayout(named="...") or ignore completely using > > > >> @Programmatic > > > >> org.quartz.utils.StringKeyDirtyFlagMap#clearDirtyFlag: has prefix > > clear, > > > >> is probably intended as a supporting method for a property, > > > >> collection > > > or > > > >> action. If the method is intended to be an action, then rename > > > >> and > > use > > > >> @ActionLayout(named="...") or ignore completely using > > > >> @Programmatic > > > >> > > > >> Please inspect the above messages and correct your domain model. > > > >> > > > >> ################################################ ISIS METAMODEL > > > >> VALIDATION ERRORS ############################## > > > >> ################################## > > > >> > > > >> > > > >> These classes are part of Quartz library and hence I cannot > > > >> attach Programmatic annotation. > > > >> > > > >> Question is why metamodel validations are applied on classes > > > >> under org.quartz package? > > > >> > > > >> Any way to skip this validation will help greatly. As of now this > > > >> is blocking access to Wicket UI. As a workaround I am > > > >> initializing quartz > > > on > > > >> click of an action/button. > > > >> > > > >> Thanks, > > > >> Jayesh > > > >> > > > > > > > Kühne + Nagel (AG & Co.) KG > Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE > 812773878. > Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Dr. Hansjörg Rodi (Vors. ), > Martin Brinkmann, Holger Ketz, Jan-Hendrik Köstergarten, Nicholas Minde, > Michael Nebel, Lars Wedel, Matthias Weiner. > Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: > Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, > Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt. > Geschäftsleitung Region Zentral- und Osteuropa: Dr. Hansjörg Rodi (Vors.), > Thierry Held, Uwe Hött, Richard Huhn, Holger Ketz, Jan-Hendrik > Köstergarten, Jan Kunze, Michael Nebel, Guillaume Sauzedde, Mustafa Sener. > > Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen > Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in > Ziffer 23 hinsichtlich des Haftungshöchstbetrages für Güterschäden (§ 431 > HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten > unter Einschluss einer Seebeförderung und bei unbekanntem Schadenort auf 2 > SZR/kg und im Übrigen die Regelhaftung von 8,33 SZR/kg zusätzlich auf 1,25 > Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis, > mindestens aber 2 SZR/kg, beschränken. Die ADSp sind auf unserer Webseite > als Download erhältlich. Auf Anfrage senden wir Ihnen diese auch gerne zu. >