ontomde-demos 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -0
- data/Manifest.txt +312 -0
- data/README.txt +48 -0
- data/Rakefile +22 -0
- data/bin/ontomde-demos-install +10 -0
- data/demo/adobe-flex/1-unpack.bat +6 -0
- data/demo/adobe-flex/1-unpack.sh +5 -0
- data/demo/adobe-flex/2-generate.bat +4 -0
- data/demo/adobe-flex/2-generate.sh +5 -0
- data/demo/adobe-flex/3-flex.bat +4 -0
- data/demo/adobe-flex/3-flex.sh +4 -0
- data/demo/adobe-flex/4-start-webapp.bat +7 -0
- data/demo/adobe-flex/4-start-webapp.sh +4 -0
- data/demo/adobe-flex/9-eclipse.bat +5 -0
- data/demo/adobe-flex/9-eclipse.sh +6 -0
- data/demo/adobe-flex/README.txt +79 -0
- data/demo/adobe-flex/domain/pom.xml +61 -0
- data/demo/adobe-flex/ear/pom.xml +160 -0
- data/demo/adobe-flex/flex2_sdk/README.txt +7 -0
- data/demo/adobe-flex/flex2_sdk/flex2_sdk_hf1_download.URL +2 -0
- data/demo/adobe-flex/mda/.ontomde-java +75 -0
- data/demo/adobe-flex/mda/clean-generated.sh +24 -0
- data/demo/adobe-flex/mda/pom.xml +110 -0
- data/demo/adobe-flex/mda/src/main/mda/customDataTypes.rb +5 -0
- data/demo/adobe-flex/mda/src/main/mda/dbDiscriminatorCache.rb +74 -0
- data/demo/adobe-flex/mda/src/main/mda/javaMapping.rb-notused +302 -0
- data/demo/adobe-flex/mda/src/main/mda/mda.rb +0 -0
- data/demo/adobe-flex/mda/src/main/model/.project +11 -0
- data/demo/adobe-flex/mda/src/main/model/model.emx +1779 -0
- data/demo/adobe-flex/mda/src/main/model/model.emx.nt +3575 -0
- data/demo/adobe-flex/mda/src/main/model/model.emx.nt_kb.pprj +1496 -0
- data/demo/adobe-flex/mda/src/main/model/model.emx.nt_kb.rdf +25 -0
- data/demo/adobe-flex/mda/src/main/model/model.emx.nt_kb.rdfs +2242 -0
- data/demo/adobe-flex/mda/src/main/resources/formatter.properties +260 -0
- data/demo/adobe-flex/pom.xml +97 -0
- data/demo/adobe-flex/projectbase/pom.xml +132 -0
- data/demo/adobe-flex/webapp/pom.xml +126 -0
- data/demo/apache-struts-mesContacts/1-base.bat +6 -0
- data/demo/apache-struts-mesContacts/1-base.sh +6 -0
- data/demo/apache-struts-mesContacts/2-unpack.bat +6 -0
- data/demo/apache-struts-mesContacts/2-unpack.sh +6 -0
- data/demo/apache-struts-mesContacts/3-generate.bat +4 -0
- data/demo/apache-struts-mesContacts/3-generate.sh +7 -0
- data/demo/apache-struts-mesContacts/4-start-webapp-nosecurity.bat +4 -0
- data/demo/apache-struts-mesContacts/4-start-webapp-nosecurity.sh +6 -0
- data/demo/apache-struts-mesContacts/5-start-webapp.bat +7 -0
- data/demo/apache-struts-mesContacts/5-start-webapp.sh +6 -0
- data/demo/apache-struts-mesContacts/9-eclipse.bat +5 -0
- data/demo/apache-struts-mesContacts/9-eclipse.sh +8 -0
- data/demo/apache-struts-mesContacts/domain/pom.xml +77 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/gUI/ContactList.java +400 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/service/ContactManager.java +162 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/service/ContactManagerImpl.java +68 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/xmda/security/GlobalComputedAccessControlCriteria.java +29 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/xmda/security/GlobalComputedAccessControlCriteria.java.mda +37 -0
- data/demo/apache-struts-mesContacts/domain/src/main/java/xmda/security/ProviderImpl.java +303 -0
- data/demo/apache-struts-mesContacts/mda/.ontomde-java +71 -0
- data/demo/apache-struts-mesContacts/mda/clean-generated.sh +24 -0
- data/demo/apache-struts-mesContacts/mda/pom.xml +75 -0
- data/demo/apache-struts-mesContacts/mda/src/main/mda/customDataTypes.rb +6 -0
- data/demo/apache-struts-mesContacts/mda/src/main/mda/dbDiscriminatorCache.rb +88 -0
- data/demo/apache-struts-mesContacts/mda/src/main/mda/mda.rb +0 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/.project +12 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/model.emx +2106 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/model.emx.nt +4449 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/model.emx.nt.pprj +1509 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/model.emx.nt.rdf +173 -0
- data/demo/apache-struts-mesContacts/mda/src/main/model/model.emx.nt.rdfs +2501 -0
- data/demo/apache-struts-mesContacts/mda/src/main/resources/formatter.properties +260 -0
- data/demo/apache-struts-mesContacts/pom.xml +20 -0
- data/demo/apache-struts-mesContacts/projectbase/pom.xml +123 -0
- data/demo/apache-struts-mesContacts/webapp/pom.xml +304 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/java/gUI/methods/struts/ContactListnewContactMPCStrutsAction.java +392 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/all.jsp +1 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/index.jsp +15 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/index.jsp.mda +930 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/domain/form/Contactall.jsp +211 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/domain/form/Contactall.jsp.mda +1247 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/gUI/form/ContactListall.jsp +235 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/gUI/form/ContactListall.jsp.mda +1086 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/gUI/methods/form/ContactListnewContactMPCall.jsp +143 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/gUI/methods/form/ContactListnewContactMPCall.jsp.mda +1041 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/pages/menu.inc +229 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/add_photo.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/attention.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/back.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bck_table.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bkg_maligne_gauche_new.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bkg_maligne_new.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bottom.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_center.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_center_off.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_left.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_left_off.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_right.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/bt_right_off.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/contact.css +609 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/corner_bottom_left.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/corner_bottom_right.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/corner_left.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/dispo_off.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/dispo_on.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/export1.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/export2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/extraire.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/favicon.ico +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/fleche.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/flecheon.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/import1.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/import2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/import3.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/imprimer.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/index.css +611 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/index.dat +7 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/index.html +587 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/left_table.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/line.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/lineverti.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/menu.css +88 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/modifier.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/nav.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/new.css +470 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/on_mobile.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/on_sim_card.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/onglet_1_2_on.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/onglet_1_3_off.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/onglet_2_1_on.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/order_up.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_ecarte.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_email.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_fax.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_fax2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_home.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_home2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_messagerie.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_mobile.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_mobile2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_secondaire.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_sms.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_supprimer.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_visio.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_work.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/picto_work2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/point.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/print.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/profile_homme.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/right_table.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/right_table_fiche.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/tt_encart_infos1.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/tt_encart_infos2.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/unlimited.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/verifier.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/vide.gif +0 -0
- data/demo/apache-struts-mesContacts/webapp/src/main/webapp/res/voir.gif +0 -0
- data/demo/core/README.txt +43 -0
- data/demo/core/demo-dsl/bpm.pprj +1745 -0
- data/demo/core/demo-dsl/bpm.rdf +140 -0
- data/demo/core/demo-dsl/bpm.rdfs +231 -0
- data/demo/core/demo-dsl/main_demo_dsl_structured.rb +60 -0
- data/demo/core/demo-dumpUMLMetaModel/demo_dump_uml2.rb +144 -0
- data/demo/core/demo-generateXML/README.txt +30 -0
- data/demo/core/demo-generateXML/main_demo_flatcode.rb +51 -0
- data/demo/core/demo-generateXML/main_demo_structured.rb +65 -0
- data/demo/core/demo-generateXML/main_demo_template.rb +62 -0
- data/demo/core/demo-uml-browsing/main_demo_uml_browsing.rb +49 -0
- data/demo/core/demo-umlStateMachine/demo_umlStateMachine.rb +169 -0
- data/demo/core/demo-umlStateMachine/model/.project +11 -0
- data/demo/core/demo-umlStateMachine/model/StateMachine.PNG +0 -0
- data/demo/core/demo-umlStateMachine/model/stateMachine.emx +594 -0
- data/demo/core/demo-umlStateMachine/model/stateMachine.emx.nt +2527 -0
- data/demo/core/model/README.txt +1 -0
- data/demo/core/model/model.emx +1779 -0
- data/demo/core/model/model.emx.nt +3575 -0
- data/demo/core/model/model.emx.nt_kb.pprj +1438 -0
- data/demo/core/model/model.emx.nt_kb.rdf +25 -0
- data/demo/java5/EnterpriseArchitect7.1/.classpath +6 -0
- data/demo/java5/EnterpriseArchitect7.1/.ontomde-java +17 -0
- data/demo/java5/EnterpriseArchitect7.1/.project +17 -0
- data/demo/java5/EnterpriseArchitect7.1/.xmda +2 -0
- data/demo/java5/EnterpriseArchitect7.1/1-generate.bat +3 -0
- data/demo/java5/EnterpriseArchitect7.1/1-generate.sh +3 -0
- data/demo/java5/EnterpriseArchitect7.1/2-generateJavadoc.bat +3 -0
- data/demo/java5/EnterpriseArchitect7.1/2-generateJavadoc.sh +3 -0
- data/demo/java5/EnterpriseArchitect7.1/pom.xml +160 -0
- data/demo/java5/EnterpriseArchitect7.1/src/main/mda/customDatatypes.rb +9 -0
- data/demo/java5/EnterpriseArchitect7.1/src/main/model/java5_demo.ea71.ea.xmi +4115 -0
- data/demo/java5/EnterpriseArchitect7.1/src/main/model/java5_demo.eap +0 -0
- data/demo/java5/README.txt +74 -0
- data/demo/java5/copyShared.sh +35 -0
- data/demo/java5/objecteering6/.classpath +6 -0
- data/demo/java5/objecteering6/.ontomde-java +17 -0
- data/demo/java5/objecteering6/.project +17 -0
- data/demo/java5/objecteering6/.xmda +2 -0
- data/demo/java5/objecteering6/1-generate.bat +3 -0
- data/demo/java5/objecteering6/1-generate.sh +3 -0
- data/demo/java5/objecteering6/2-generateJavadoc.bat +3 -0
- data/demo/java5/objecteering6/2-generateJavadoc.sh +3 -0
- data/demo/java5/objecteering6/pom.xml +160 -0
- data/demo/java5/objecteering6/src/main/mda/customDatatypes.rb +9 -0
- data/demo/java5/objecteering6/src/main/model/README.txt +4 -0
- data/demo/java5/objecteering6/src/main/model/README_OE.txt +5 -0
- data/demo/java5/objecteering6/src/main/model/java5_demo.oe600.nt +18 -0
- data/demo/java5/objecteering6/src/main/model/java5_demo.oe600.ofp +0 -0
- data/demo/java5/rationalSoftwareModeler6/.classpath +6 -0
- data/demo/java5/rationalSoftwareModeler6/.ontomde-java +17 -0
- data/demo/java5/rationalSoftwareModeler6/.project +17 -0
- data/demo/java5/rationalSoftwareModeler6/.xmda +2 -0
- data/demo/java5/rationalSoftwareModeler6/1-generate.bat +3 -0
- data/demo/java5/rationalSoftwareModeler6/1-generate.sh +3 -0
- data/demo/java5/rationalSoftwareModeler6/2-generateJavadoc.bat +3 -0
- data/demo/java5/rationalSoftwareModeler6/2-generateJavadoc.sh +3 -0
- data/demo/java5/rationalSoftwareModeler6/model.pdf +0 -0
- data/demo/java5/rationalSoftwareModeler6/pom.xml +167 -0
- data/demo/java5/rationalSoftwareModeler6/src/main/mda/customDatatypes.rb +9 -0
- data/demo/java5/rationalSoftwareModeler6/src/main/model/.project +11 -0
- data/demo/java5/rationalSoftwareModeler6/src/main/model/java5_demo.emx +3412 -0
- data/demo/java5/rationalSoftwareModeler6/src/main/model/java5_demo.emx.nt +4489 -0
- data/demo/java5/rationalSoftwareModeler6/src/main/model/rsm-shortcuts.emx +57 -0
- data/demo/jboss-jbpm/1-unpack.sh +5 -0
- data/demo/jboss-jbpm/2-generate.sh +5 -0
- data/demo/jboss-jbpm/3-start-app.sh +10 -0
- data/demo/jboss-jbpm/4-stop-app.sh +7 -0
- data/demo/jboss-jbpm/5-debug.sh +18 -0
- data/demo/jboss-jbpm/6-nodebug.sh +2 -0
- data/demo/jboss-jbpm/9-eclipse.bat +5 -0
- data/demo/jboss-jbpm/9-eclipse.sh +6 -0
- data/demo/jboss-jbpm/debug.sh +18 -0
- data/demo/jboss-jbpm/domain/pom.xml +110 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas1/Magasinier.java +233 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas2/Banquier.java +172 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas2/Client.java +140 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas2/Personne.java +225 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas3/Commande.java +221 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas3/ProcessusPreparation.java +382 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas4/CommandeLivraison.java +325 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas4/ProcessusLivraison.java +366 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas4/TacheHumaine.java +225 -0
- data/demo/jboss-jbpm/domain/src/main/java/cas4/TacheSuiteErreurLivraison.java +201 -0
- data/demo/jboss-jbpm/domain/src/main/resources/META-INF/persistence.xml +25 -0
- data/demo/jboss-jbpm/ear/pom.xml +175 -0
- data/demo/jboss-jbpm/mda/clean-generated.sh +24 -0
- data/demo/jboss-jbpm/mda/pom.xml +227 -0
- data/demo/jboss-jbpm/mda/src/main/mda/customDataTypes.rb +1 -0
- data/demo/jboss-jbpm/mda/src/main/mda/dbDiscriminatorCache.rb +72 -0
- data/demo/jboss-jbpm/mda/src/main/model/.project +12 -0
- data/demo/jboss-jbpm/mda/src/main/model/model.emx +606 -0
- data/demo/jboss-jbpm/mda/src/main/model/model.emx.nt +2904 -0
- data/demo/jboss-jbpm/mda/src/main/model/model.emx.nt_kb.pprj +1432 -0
- data/demo/jboss-jbpm/mda/src/main/model/model.emx.nt_kb.rdf +73 -0
- data/demo/jboss-jbpm/mda/src/main/model/model.emx.nt_kb.rdfs +709 -0
- data/demo/jboss-jbpm/mda/src/main/process/.classpath +10 -0
- data/demo/jboss-jbpm/mda/src/main/process/.project +17 -0
- data/demo/jboss-jbpm/mda/src/main/process/processList.txt +2 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas3.ProcessusPreparation/gpd.xml +43 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas3.ProcessusPreparation/processdefinition.xml +40 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas3.ProcessusPreparation/processimage.jpg +0 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas4.ProcessusLivraison/gpd.xml +30 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas4.ProcessusLivraison/processdefinition.xml +28 -0
- data/demo/jboss-jbpm/mda/src/main/process/src/cas4.ProcessusLivraison/processimage.jpg +0 -0
- data/demo/jboss-jbpm/mda/src/main/resources/formatter.properties +260 -0
- data/demo/jboss-jbpm/ontomde-bpm-ear-copy/pom.xml +128 -0
- data/demo/jboss-jbpm/pom.xml +127 -0
- data/demo/jboss-jbpm/projectbase/pom.xml +116 -0
- data/demo/jboss-jbpm/readme.txt +15 -0
- data/demo/jboss-jbpm/runMyApp.sh +22 -0
- data/demo/jboss-jbpm/setenv.sh-sample +7 -0
- data/demo/jboss-jbpm/stopMyApp.sh +15 -0
- data/demo/jboss-jbpm/stopdebug.sh +2 -0
- data/demo/jboss-jbpm/webapp/pom.xml +102 -0
- data/demo/spring-acegi/1-base.bat +6 -0
- data/demo/spring-acegi/1-base.sh +6 -0
- data/demo/spring-acegi/2-unpack.bat +6 -0
- data/demo/spring-acegi/2-unpack.sh +6 -0
- data/demo/spring-acegi/3-generate.bat +4 -0
- data/demo/spring-acegi/3-generate.sh +7 -0
- data/demo/spring-acegi/4-start-webapp-nosecurity.bat +4 -0
- data/demo/spring-acegi/4-start-webapp-nosecurity.sh +6 -0
- data/demo/spring-acegi/5-start-webapp.bat +7 -0
- data/demo/spring-acegi/5-start-webapp.sh +6 -0
- data/demo/spring-acegi/9-eclipse.bat +5 -0
- data/demo/spring-acegi/9-eclipse.sh +8 -0
- data/demo/spring-acegi/README.txt +79 -0
- data/demo/spring-acegi/doc/images/_Ea8UYu6FEdyp6cGW4pi6rw.GIF +0 -0
- data/demo/spring-acegi/doc/images/_XH8XYjuOEdyltIorAFYEcg.GIF +0 -0
- data/demo/spring-acegi/doc/images/_o7gEAsg1Edy3YZbvY96G9w.GIF +0 -0
- data/demo/spring-acegi/doc/images/_s1Mq8O6sEdyp6cGW4pi6rw.GIF +0 -0
- data/demo/spring-acegi/doc/ontomde-demo-acegi-run.wnk +0 -0
- data/demo/spring-acegi/domain/pom.xml +68 -0
- data/demo/spring-acegi/domain/src/main/java/administration/ApplicationUser.java +503 -0
- data/demo/spring-acegi/domain/src/main/java/administration/SecurityPanel.java +1177 -0
- data/demo/spring-acegi/domain/src/main/java/demo1GSMNetwork/BaseTransceiverStation.java +434 -0
- data/demo/spring-acegi/domain/src/main/java/demo2testModel/Client.java +839 -0
- data/demo/spring-acegi/domain/src/main/java/xmda/security/ProviderImpl.java +320 -0
- data/demo/spring-acegi/mda/.ontomde-java +71 -0
- data/demo/spring-acegi/mda/clean-generated.sh +24 -0
- data/demo/spring-acegi/mda/pom.xml +75 -0
- data/demo/spring-acegi/mda/src/main/mda/customDataTypes.rb +5 -0
- data/demo/spring-acegi/mda/src/main/mda/dbDiscriminatorCache.rb +94 -0
- data/demo/spring-acegi/mda/src/main/mda/mda.rb +0 -0
- data/demo/spring-acegi/mda/src/main/model/.project +12 -0
- data/demo/spring-acegi/mda/src/main/model/model.emx +3137 -0
- data/demo/spring-acegi/mda/src/main/model/model.emx.nt +5301 -0
- data/demo/spring-acegi/mda/src/main/model/model.emx.nt.pprj +1848 -0
- data/demo/spring-acegi/mda/src/main/model/model.emx.nt.rdf +271 -0
- data/demo/spring-acegi/mda/src/main/resources/formatter.properties +260 -0
- data/demo/spring-acegi/pom.xml +20 -0
- data/demo/spring-acegi/projectbase/pom.xml +117 -0
- data/demo/spring-acegi/webapp/pom.xml +167 -0
- data/demo/uml-profil-for-ibm-rsm6/.project +12 -0
- data/demo/uml-profil-for-ibm-rsm6/OntoMDE-profil.epx +1748 -0
- data/demo/uml-profil-for-ibm-rsm6/README.txt +4 -0
- data/lib/ontomde-demos.rb +3 -0
- metadata +379 -0
@@ -0,0 +1,1177 @@
|
|
1
|
+
package administration;
|
2
|
+
|
3
|
+
import javax.persistence.CascadeType;
|
4
|
+
import javax.persistence.DiscriminatorColumn;
|
5
|
+
import javax.persistence.DiscriminatorType;
|
6
|
+
import javax.persistence.DiscriminatorValue;
|
7
|
+
import javax.persistence.Entity;
|
8
|
+
import javax.persistence.FetchType;
|
9
|
+
import javax.persistence.GeneratedValue;
|
10
|
+
import javax.persistence.Id;
|
11
|
+
import javax.persistence.JoinColumn;
|
12
|
+
import javax.persistence.JoinTable;
|
13
|
+
import javax.persistence.OneToMany;
|
14
|
+
import javax.persistence.Table;
|
15
|
+
import javax.persistence.Version;
|
16
|
+
import xmda.annotationOntoMDE.OntoMDE;
|
17
|
+
import static xmda.annotationOntoMDE.OntoMDE.ZoneCode.*;
|
18
|
+
|
19
|
+
import administration.assignable.SecurityRoleAssignable;
|
20
|
+
|
21
|
+
/**
|
22
|
+
* @see <a href="../umldoc/_o7p2d8g1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
23
|
+
*/
|
24
|
+
@Entity
|
25
|
+
@Table(name = "SecurityPanel")
|
26
|
+
@DiscriminatorColumn(discriminatorType = DiscriminatorType.INTEGER)
|
27
|
+
@DiscriminatorValue(value = "35")
|
28
|
+
@OntoMDE(reverse = { imports }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w")
|
29
|
+
public class SecurityPanel implements java.io.Serializable,
|
30
|
+
xmda.jpa.XmdaEntity<Long> {
|
31
|
+
/**
|
32
|
+
* @see <a href="../umldoc/_o7p2hMg1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
33
|
+
*/
|
34
|
+
@OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
35
|
+
@JoinTable(name = "SecurityPanel_gestionGroup", joinColumns = { @JoinColumn(name = "SecurityPanel_id") }, inverseJoinColumns = { @JoinColumn(name = "BusinessGroup_id") })
|
36
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w")
|
37
|
+
private java.util.Set<administration.BusinessGroup> gestionGroup = new java.util.HashSet<administration.BusinessGroup>();
|
38
|
+
/**
|
39
|
+
* @see <a href="../umldoc/_o7p2e8g1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
40
|
+
*/
|
41
|
+
@OneToMany(mappedBy = "owner", cascade = CascadeType.ALL)
|
42
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w")
|
43
|
+
private java.util.Set<administration.SecurityRole> gestionRoles = new java.util.HashSet<administration.SecurityRole>();
|
44
|
+
/**
|
45
|
+
* @see <a href="../umldoc/_o7p2fsg1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
46
|
+
*/
|
47
|
+
@OneToMany(mappedBy = "owner", cascade = CascadeType.ALL)
|
48
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w")
|
49
|
+
private java.util.Set<administration.SecureWebFilter> gestionSecureURLs = new java.util.HashSet<administration.SecureWebFilter>();
|
50
|
+
/**
|
51
|
+
* @see <a href="../umldoc/_o7p2eMg1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
52
|
+
*/
|
53
|
+
@OneToMany(mappedBy = "owner", cascade = CascadeType.ALL)
|
54
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w")
|
55
|
+
private java.util.Set<administration.ApplicationUser> gestionUser = new java.util.HashSet<administration.ApplicationUser>();
|
56
|
+
/**
|
57
|
+
* @see <a href="../umldoc/_o7p2gcg1Edy3YZbvY96G9w-content.html">UML documentation.</a>
|
58
|
+
*/
|
59
|
+
@OneToMany(mappedBy = "owner", cascade = CascadeType.ALL)
|
60
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w")
|
61
|
+
private java.util.Set<administration.SecureMethod> gestionsecureMethods = new java.util.HashSet<administration.SecureMethod>();
|
62
|
+
/**
|
63
|
+
* @see <a href="../umldoc/_o7p2d8g1Edy3YZbvY96G9w_auto_id-content.html">UML documentation.</a>
|
64
|
+
*/
|
65
|
+
@Id
|
66
|
+
@GeneratedValue
|
67
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_auto_id")
|
68
|
+
private Long id;
|
69
|
+
/**
|
70
|
+
* @see <a href="../umldoc/_o7p2d8g1Edy3YZbvY96G9w_auto_version-content.html">UML documentation.</a>
|
71
|
+
*/
|
72
|
+
@Version
|
73
|
+
@SuppressWarnings("unused")
|
74
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_auto_version")
|
75
|
+
private long objectVersion;
|
76
|
+
/**
|
77
|
+
* @see <a href="../umldoc/_LZYuke7EEdyP442wD0PCHQ-content.html">UML documentation.</a>
|
78
|
+
*/
|
79
|
+
@OneToMany(mappedBy = "owner", cascade = CascadeType.ALL)
|
80
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ")
|
81
|
+
private java.util.Set<administration.SecureField> secureFields = new java.util.HashSet<administration.SecureField>();
|
82
|
+
/**
|
83
|
+
* @see <a href="../umldoc/_o7p2d8g1Edy3YZbvY96G9w_serialVersionUID-content.html">UML documentation.</a>
|
84
|
+
*/
|
85
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_serialVersionUID")
|
86
|
+
private static final transient long serialVersionUID = 1L;
|
87
|
+
|
88
|
+
/**
|
89
|
+
* @param igestionGroup self-explanatory
|
90
|
+
*/
|
91
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_add")
|
92
|
+
public void addGestionGroup(final administration.BusinessGroup igestionGroup) {
|
93
|
+
if (igestionGroup == null) {
|
94
|
+
return;
|
95
|
+
}
|
96
|
+
this.gestionGroup.add(igestionGroup);
|
97
|
+
|
98
|
+
}
|
99
|
+
|
100
|
+
/**
|
101
|
+
* @param igestionRoles self-explanatory
|
102
|
+
*/
|
103
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_add")
|
104
|
+
public void addGestionRoles(final administration.SecurityRole igestionRoles) {
|
105
|
+
if (igestionRoles == null) {
|
106
|
+
return;
|
107
|
+
}
|
108
|
+
if (this.gestionRoles.add(igestionRoles)) {
|
109
|
+
igestionRoles.setOwner(this);
|
110
|
+
}
|
111
|
+
|
112
|
+
}
|
113
|
+
|
114
|
+
/**
|
115
|
+
* @param igestionSecureURLs self-explanatory
|
116
|
+
*/
|
117
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_add")
|
118
|
+
public void addGestionSecureURLs(
|
119
|
+
final administration.SecureWebFilter igestionSecureURLs) {
|
120
|
+
if (igestionSecureURLs == null) {
|
121
|
+
return;
|
122
|
+
}
|
123
|
+
if (this.gestionSecureURLs.add(igestionSecureURLs)) {
|
124
|
+
igestionSecureURLs.setOwner(this);
|
125
|
+
}
|
126
|
+
|
127
|
+
}
|
128
|
+
|
129
|
+
/**
|
130
|
+
* @param igestionUser self-explanatory
|
131
|
+
*/
|
132
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_add")
|
133
|
+
public void addGestionUser(final administration.ApplicationUser igestionUser) {
|
134
|
+
if (igestionUser == null) {
|
135
|
+
return;
|
136
|
+
}
|
137
|
+
if (this.gestionUser.add(igestionUser)) {
|
138
|
+
igestionUser.setOwner(this);
|
139
|
+
}
|
140
|
+
|
141
|
+
}
|
142
|
+
|
143
|
+
/**
|
144
|
+
* @param igestionsecureMethods self-explanatory
|
145
|
+
*/
|
146
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_add")
|
147
|
+
public void addGestionsecureMethods(
|
148
|
+
final administration.SecureMethod igestionsecureMethods) {
|
149
|
+
if (igestionsecureMethods == null) {
|
150
|
+
return;
|
151
|
+
}
|
152
|
+
if (this.gestionsecureMethods.add(igestionsecureMethods)) {
|
153
|
+
igestionsecureMethods.setOwner(this);
|
154
|
+
}
|
155
|
+
|
156
|
+
}
|
157
|
+
|
158
|
+
/**
|
159
|
+
* @param isecureFields self-explanatory
|
160
|
+
*/
|
161
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_add")
|
162
|
+
public void addSecureFields(final administration.SecureField isecureFields) {
|
163
|
+
if (isecureFields == null) {
|
164
|
+
return;
|
165
|
+
}
|
166
|
+
if (this.secureFields.add(isecureFields)) {
|
167
|
+
isecureFields.setOwner(this);
|
168
|
+
}
|
169
|
+
|
170
|
+
}
|
171
|
+
|
172
|
+
/**
|
173
|
+
*/
|
174
|
+
@OntoMDE(reverse = { code }, uri = "ukb__o7p2h8g1Edy3YZbvY96G9w")
|
175
|
+
public void autoGenerateStaticRoles() {
|
176
|
+
|
177
|
+
for (xmda.security.GlobalComputedAccessControlCriteria sRole : xmda.security.GlobalComputedAccessControlCriteria
|
178
|
+
.values()) {
|
179
|
+
|
180
|
+
SecurityRole securityRole = this
|
181
|
+
.createAndAddGestionRoles(SecurityRoleAssignable.administration_dot_SecurityRole);
|
182
|
+
securityRole.setRoleName(sRole.toString());
|
183
|
+
securityRole.setRequiredComputedAccessRight(sRole);
|
184
|
+
}
|
185
|
+
|
186
|
+
//TODO: replace this test code by real implementation
|
187
|
+
//log.error("test method called");
|
188
|
+
|
189
|
+
}
|
190
|
+
|
191
|
+
/**
|
192
|
+
* @return self-explanatory
|
193
|
+
* @param requestedType self-explanatory
|
194
|
+
*/
|
195
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddGestionGroup")
|
196
|
+
public administration.BusinessGroup createAndAddGestionGroup(
|
197
|
+
final administration.assignable.BusinessGroupAssignable requestedType) {
|
198
|
+
|
199
|
+
if (requestedType == null) {
|
200
|
+
return null;
|
201
|
+
}
|
202
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
203
|
+
try {
|
204
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
205
|
+
Class<?> t = Class.forName(qname);
|
206
|
+
Class<?>[] p = new Class[0];
|
207
|
+
Object[] initArgs = new Object[0];
|
208
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
209
|
+
administration.BusinessGroup ret = (administration.BusinessGroup) c
|
210
|
+
.newInstance(initArgs);
|
211
|
+
|
212
|
+
addGestionGroup(ret);
|
213
|
+
return ret;
|
214
|
+
} catch (ClassNotFoundException e) {
|
215
|
+
e.printStackTrace();
|
216
|
+
throw new RuntimeException("Missing type " + qname, e);
|
217
|
+
} catch (NoSuchMethodException e) {
|
218
|
+
e.printStackTrace();
|
219
|
+
throw new RuntimeException("Missing default constructor for"
|
220
|
+
+ qname, e);
|
221
|
+
} catch (IllegalAccessException e) {
|
222
|
+
e.printStackTrace();
|
223
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
224
|
+
e);
|
225
|
+
} catch (InstantiationException e) {
|
226
|
+
e.printStackTrace();
|
227
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
228
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
229
|
+
e.printStackTrace();
|
230
|
+
throw new RuntimeException("Invocation Target Exception on "
|
231
|
+
+ qname, e);
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
/**
|
236
|
+
* @return self-explanatory
|
237
|
+
* @param requestedType self-explanatory
|
238
|
+
*/
|
239
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddGestionRoles")
|
240
|
+
public administration.SecurityRole createAndAddGestionRoles(
|
241
|
+
final administration.assignable.SecurityRoleAssignable requestedType) {
|
242
|
+
|
243
|
+
if (requestedType == null) {
|
244
|
+
return null;
|
245
|
+
}
|
246
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
247
|
+
try {
|
248
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
249
|
+
Class<?> t = Class.forName(qname);
|
250
|
+
Class<?>[] p = new Class[0];
|
251
|
+
Object[] initArgs = new Object[0];
|
252
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
253
|
+
administration.SecurityRole ret = (administration.SecurityRole) c
|
254
|
+
.newInstance(initArgs);
|
255
|
+
|
256
|
+
addGestionRoles(ret);
|
257
|
+
return ret;
|
258
|
+
} catch (ClassNotFoundException e) {
|
259
|
+
e.printStackTrace();
|
260
|
+
throw new RuntimeException("Missing type " + qname, e);
|
261
|
+
} catch (NoSuchMethodException e) {
|
262
|
+
e.printStackTrace();
|
263
|
+
throw new RuntimeException("Missing default constructor for"
|
264
|
+
+ qname, e);
|
265
|
+
} catch (IllegalAccessException e) {
|
266
|
+
e.printStackTrace();
|
267
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
268
|
+
e);
|
269
|
+
} catch (InstantiationException e) {
|
270
|
+
e.printStackTrace();
|
271
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
272
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
273
|
+
e.printStackTrace();
|
274
|
+
throw new RuntimeException("Invocation Target Exception on "
|
275
|
+
+ qname, e);
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
/**
|
280
|
+
* @return self-explanatory
|
281
|
+
* @param requestedType self-explanatory
|
282
|
+
*/
|
283
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddGestionSecureURLs")
|
284
|
+
public administration.SecureWebFilter createAndAddGestionSecureURLs(
|
285
|
+
final administration.assignable.SecureWebFilterAssignable requestedType) {
|
286
|
+
|
287
|
+
if (requestedType == null) {
|
288
|
+
return null;
|
289
|
+
}
|
290
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
291
|
+
try {
|
292
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
293
|
+
Class<?> t = Class.forName(qname);
|
294
|
+
Class<?>[] p = new Class[0];
|
295
|
+
Object[] initArgs = new Object[0];
|
296
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
297
|
+
administration.SecureWebFilter ret = (administration.SecureWebFilter) c
|
298
|
+
.newInstance(initArgs);
|
299
|
+
|
300
|
+
addGestionSecureURLs(ret);
|
301
|
+
return ret;
|
302
|
+
} catch (ClassNotFoundException e) {
|
303
|
+
e.printStackTrace();
|
304
|
+
throw new RuntimeException("Missing type " + qname, e);
|
305
|
+
} catch (NoSuchMethodException e) {
|
306
|
+
e.printStackTrace();
|
307
|
+
throw new RuntimeException("Missing default constructor for"
|
308
|
+
+ qname, e);
|
309
|
+
} catch (IllegalAccessException e) {
|
310
|
+
e.printStackTrace();
|
311
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
312
|
+
e);
|
313
|
+
} catch (InstantiationException e) {
|
314
|
+
e.printStackTrace();
|
315
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
316
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
317
|
+
e.printStackTrace();
|
318
|
+
throw new RuntimeException("Invocation Target Exception on "
|
319
|
+
+ qname, e);
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
/**
|
324
|
+
* @return self-explanatory
|
325
|
+
* @param requestedType self-explanatory
|
326
|
+
*/
|
327
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddGestionUser")
|
328
|
+
public administration.ApplicationUser createAndAddGestionUser(
|
329
|
+
final administration.assignable.ApplicationUserAssignable requestedType) {
|
330
|
+
|
331
|
+
if (requestedType == null) {
|
332
|
+
return null;
|
333
|
+
}
|
334
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
335
|
+
try {
|
336
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
337
|
+
Class<?> t = Class.forName(qname);
|
338
|
+
Class<?>[] p = new Class[0];
|
339
|
+
Object[] initArgs = new Object[0];
|
340
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
341
|
+
administration.ApplicationUser ret = (administration.ApplicationUser) c
|
342
|
+
.newInstance(initArgs);
|
343
|
+
|
344
|
+
addGestionUser(ret);
|
345
|
+
return ret;
|
346
|
+
} catch (ClassNotFoundException e) {
|
347
|
+
e.printStackTrace();
|
348
|
+
throw new RuntimeException("Missing type " + qname, e);
|
349
|
+
} catch (NoSuchMethodException e) {
|
350
|
+
e.printStackTrace();
|
351
|
+
throw new RuntimeException("Missing default constructor for"
|
352
|
+
+ qname, e);
|
353
|
+
} catch (IllegalAccessException e) {
|
354
|
+
e.printStackTrace();
|
355
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
356
|
+
e);
|
357
|
+
} catch (InstantiationException e) {
|
358
|
+
e.printStackTrace();
|
359
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
360
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
361
|
+
e.printStackTrace();
|
362
|
+
throw new RuntimeException("Invocation Target Exception on "
|
363
|
+
+ qname, e);
|
364
|
+
}
|
365
|
+
}
|
366
|
+
|
367
|
+
/**
|
368
|
+
* @return self-explanatory
|
369
|
+
* @param requestedType self-explanatory
|
370
|
+
*/
|
371
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddGestionsecureMethods")
|
372
|
+
public administration.SecureMethod createAndAddGestionsecureMethods(
|
373
|
+
final administration.assignable.SecureMethodAssignable requestedType) {
|
374
|
+
|
375
|
+
if (requestedType == null) {
|
376
|
+
return null;
|
377
|
+
}
|
378
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
379
|
+
try {
|
380
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
381
|
+
Class<?> t = Class.forName(qname);
|
382
|
+
Class<?>[] p = new Class[0];
|
383
|
+
Object[] initArgs = new Object[0];
|
384
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
385
|
+
administration.SecureMethod ret = (administration.SecureMethod) c
|
386
|
+
.newInstance(initArgs);
|
387
|
+
|
388
|
+
addGestionsecureMethods(ret);
|
389
|
+
return ret;
|
390
|
+
} catch (ClassNotFoundException e) {
|
391
|
+
e.printStackTrace();
|
392
|
+
throw new RuntimeException("Missing type " + qname, e);
|
393
|
+
} catch (NoSuchMethodException e) {
|
394
|
+
e.printStackTrace();
|
395
|
+
throw new RuntimeException("Missing default constructor for"
|
396
|
+
+ qname, e);
|
397
|
+
} catch (IllegalAccessException e) {
|
398
|
+
e.printStackTrace();
|
399
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
400
|
+
e);
|
401
|
+
} catch (InstantiationException e) {
|
402
|
+
e.printStackTrace();
|
403
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
404
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
405
|
+
e.printStackTrace();
|
406
|
+
throw new RuntimeException("Invocation Target Exception on "
|
407
|
+
+ qname, e);
|
408
|
+
}
|
409
|
+
}
|
410
|
+
|
411
|
+
/**
|
412
|
+
* @return self-explanatory
|
413
|
+
* @param requestedType self-explanatory
|
414
|
+
*/
|
415
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_createAndAddSecureFields")
|
416
|
+
public administration.SecureField createAndAddSecureFields(
|
417
|
+
final administration.assignable.SecureFieldAssignable requestedType) {
|
418
|
+
|
419
|
+
if (requestedType == null) {
|
420
|
+
return null;
|
421
|
+
}
|
422
|
+
String qname = requestedType.name().replaceAll("_dot_", ".");
|
423
|
+
try {
|
424
|
+
// c=this.getClass().getClassLoader().loadClass(requestedType.name());
|
425
|
+
Class<?> t = Class.forName(qname);
|
426
|
+
Class<?>[] p = new Class[0];
|
427
|
+
Object[] initArgs = new Object[0];
|
428
|
+
java.lang.reflect.Constructor<?> c = t.getConstructor(p);
|
429
|
+
administration.SecureField ret = (administration.SecureField) c
|
430
|
+
.newInstance(initArgs);
|
431
|
+
|
432
|
+
addSecureFields(ret);
|
433
|
+
return ret;
|
434
|
+
} catch (ClassNotFoundException e) {
|
435
|
+
e.printStackTrace();
|
436
|
+
throw new RuntimeException("Missing type " + qname, e);
|
437
|
+
} catch (NoSuchMethodException e) {
|
438
|
+
e.printStackTrace();
|
439
|
+
throw new RuntimeException("Missing default constructor for"
|
440
|
+
+ qname, e);
|
441
|
+
} catch (IllegalAccessException e) {
|
442
|
+
e.printStackTrace();
|
443
|
+
throw new RuntimeException("Illegal access Exception on " + qname,
|
444
|
+
e);
|
445
|
+
} catch (InstantiationException e) {
|
446
|
+
e.printStackTrace();
|
447
|
+
throw new RuntimeException("Instantiation exception on " + qname, e);
|
448
|
+
} catch (java.lang.reflect.InvocationTargetException e) {
|
449
|
+
e.printStackTrace();
|
450
|
+
throw new RuntimeException("Invocation Target Exception on "
|
451
|
+
+ qname, e);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
|
455
|
+
/**
|
456
|
+
* @return self-explanatory
|
457
|
+
*/
|
458
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_create")
|
459
|
+
public java.util.Set<administration.BusinessGroup> createGestionGroup() {
|
460
|
+
|
461
|
+
//TODO: replace this test code by real implementation
|
462
|
+
//log.error("test method called");
|
463
|
+
|
464
|
+
java.util.HashSet<administration.BusinessGroup> ret = new java.util.HashSet<administration.BusinessGroup>();
|
465
|
+
ret.addAll(administration.BusinessGroup
|
466
|
+
.findAll((administration.BusinessGroup) null));
|
467
|
+
return ret;
|
468
|
+
}
|
469
|
+
|
470
|
+
/**
|
471
|
+
* @return self-explanatory
|
472
|
+
*/
|
473
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_create")
|
474
|
+
public java.util.Set<administration.SecurityRole> createGestionRoles() {
|
475
|
+
|
476
|
+
//TODO: replace this test code by real implementation
|
477
|
+
//log.error("test method called");
|
478
|
+
|
479
|
+
java.util.HashSet<administration.SecurityRole> ret = new java.util.HashSet<administration.SecurityRole>();
|
480
|
+
ret.addAll(administration.SecurityRole
|
481
|
+
.findAll((administration.SecurityRole) null));
|
482
|
+
return ret;
|
483
|
+
}
|
484
|
+
|
485
|
+
/**
|
486
|
+
* @return self-explanatory
|
487
|
+
*/
|
488
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_create")
|
489
|
+
public java.util.Set<administration.SecureWebFilter> createGestionSecureURLs() {
|
490
|
+
|
491
|
+
//TODO: replace this test code by real implementation
|
492
|
+
//log.error("test method called");
|
493
|
+
|
494
|
+
java.util.HashSet<administration.SecureWebFilter> ret = new java.util.HashSet<administration.SecureWebFilter>();
|
495
|
+
ret.addAll(administration.SecureWebFilter
|
496
|
+
.findAll((administration.SecureWebFilter) null));
|
497
|
+
return ret;
|
498
|
+
}
|
499
|
+
|
500
|
+
/**
|
501
|
+
* @return self-explanatory
|
502
|
+
*/
|
503
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_create")
|
504
|
+
public java.util.Set<administration.ApplicationUser> createGestionUser() {
|
505
|
+
|
506
|
+
//TODO: replace this test code by real implementation
|
507
|
+
//log.error("test method called");
|
508
|
+
|
509
|
+
java.util.HashSet<administration.ApplicationUser> ret = new java.util.HashSet<administration.ApplicationUser>();
|
510
|
+
ret.addAll(administration.ApplicationUser
|
511
|
+
.findAll((administration.ApplicationUser) null));
|
512
|
+
return ret;
|
513
|
+
}
|
514
|
+
|
515
|
+
/**
|
516
|
+
* @return self-explanatory
|
517
|
+
*/
|
518
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_create")
|
519
|
+
public java.util.Set<administration.SecureMethod> createGestionsecureMethods() {
|
520
|
+
|
521
|
+
//TODO: replace this test code by real implementation
|
522
|
+
//log.error("test method called");
|
523
|
+
|
524
|
+
java.util.HashSet<administration.SecureMethod> ret = new java.util.HashSet<administration.SecureMethod>();
|
525
|
+
ret.addAll(administration.SecureMethod
|
526
|
+
.findAll((administration.SecureMethod) null));
|
527
|
+
return ret;
|
528
|
+
}
|
529
|
+
|
530
|
+
/**
|
531
|
+
* @return self-explanatory
|
532
|
+
*/
|
533
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_create")
|
534
|
+
public java.util.Set<administration.SecureField> createSecureFields() {
|
535
|
+
|
536
|
+
//TODO: replace this test code by real implementation
|
537
|
+
//log.error("test method called");
|
538
|
+
|
539
|
+
java.util.HashSet<administration.SecureField> ret = new java.util.HashSet<administration.SecureField>();
|
540
|
+
ret.addAll(administration.SecureField
|
541
|
+
.findAll((administration.SecureField) null));
|
542
|
+
return ret;
|
543
|
+
}
|
544
|
+
|
545
|
+
/**
|
546
|
+
* @param primaryKey self-explanatory
|
547
|
+
* @return self-explanatory
|
548
|
+
*/
|
549
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_finderop")
|
550
|
+
public static administration.SecurityPanel find(final long primaryKey) {
|
551
|
+
return (administration.SecurityPanel) getEntityManager().find(
|
552
|
+
administration.SecurityPanel.class, primaryKey);
|
553
|
+
}
|
554
|
+
|
555
|
+
/**
|
556
|
+
* @return self-explanatory
|
557
|
+
* @param nullCast self-explanatory
|
558
|
+
*/
|
559
|
+
@SuppressWarnings("unchecked")
|
560
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_findAll")
|
561
|
+
public static java.util.List<administration.SecurityPanel> findAll(
|
562
|
+
final administration.SecurityPanel nullCast) {
|
563
|
+
javax.persistence.Query q = getEntityManager().createQuery(
|
564
|
+
"select Object(c) from SecurityPanel as c");
|
565
|
+
return (java.util.List<administration.SecurityPanel>) q.getResultList();
|
566
|
+
|
567
|
+
}
|
568
|
+
|
569
|
+
/**
|
570
|
+
* @return self-explanatory
|
571
|
+
* @param user self-explanatory
|
572
|
+
*/
|
573
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_getComputedAccessControlGrant")
|
574
|
+
public java.util.Set<xmda.security.GlobalComputedAccessControlCriteria> getComputedAccessControlGrant(
|
575
|
+
final org.springframework.security.userdetails.UserDetails user) {
|
576
|
+
//return empty list (every static role are denied)
|
577
|
+
return new java.util.HashSet<xmda.security.GlobalComputedAccessControlCriteria>();
|
578
|
+
|
579
|
+
}
|
580
|
+
|
581
|
+
/**
|
582
|
+
* @return self-explanatory
|
583
|
+
*/
|
584
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_createAndAddSug")
|
585
|
+
public java.util.List<administration.assignable.BusinessGroupAssignable> getCreateAndAddGestionGroupSug() {
|
586
|
+
java.util.ArrayList<administration.assignable.BusinessGroupAssignable> ret = new java.util.ArrayList<administration.assignable.BusinessGroupAssignable>();
|
587
|
+
|
588
|
+
for (int i = java.lang.reflect.Array
|
589
|
+
.getLength(administration.assignable.BusinessGroupAssignable
|
590
|
+
.values()) - 1; i >= 0; i--) {
|
591
|
+
ret
|
592
|
+
.add(administration.assignable.BusinessGroupAssignable
|
593
|
+
.values()[i]);
|
594
|
+
}
|
595
|
+
return ret;
|
596
|
+
|
597
|
+
}
|
598
|
+
|
599
|
+
/**
|
600
|
+
* @return self-explanatory
|
601
|
+
*/
|
602
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_createAndAddSug")
|
603
|
+
public java.util.List<administration.assignable.SecurityRoleAssignable> getCreateAndAddGestionRolesSug() {
|
604
|
+
java.util.ArrayList<administration.assignable.SecurityRoleAssignable> ret = new java.util.ArrayList<administration.assignable.SecurityRoleAssignable>();
|
605
|
+
|
606
|
+
for (int i = java.lang.reflect.Array
|
607
|
+
.getLength(administration.assignable.SecurityRoleAssignable
|
608
|
+
.values()) - 1; i >= 0; i--) {
|
609
|
+
ret
|
610
|
+
.add(administration.assignable.SecurityRoleAssignable
|
611
|
+
.values()[i]);
|
612
|
+
}
|
613
|
+
return ret;
|
614
|
+
|
615
|
+
}
|
616
|
+
|
617
|
+
/**
|
618
|
+
* @return self-explanatory
|
619
|
+
*/
|
620
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_createAndAddSug")
|
621
|
+
public java.util.List<administration.assignable.SecureWebFilterAssignable> getCreateAndAddGestionSecureURLsSug() {
|
622
|
+
java.util.ArrayList<administration.assignable.SecureWebFilterAssignable> ret = new java.util.ArrayList<administration.assignable.SecureWebFilterAssignable>();
|
623
|
+
|
624
|
+
for (int i = java.lang.reflect.Array
|
625
|
+
.getLength(administration.assignable.SecureWebFilterAssignable
|
626
|
+
.values()) - 1; i >= 0; i--) {
|
627
|
+
ret.add(administration.assignable.SecureWebFilterAssignable
|
628
|
+
.values()[i]);
|
629
|
+
}
|
630
|
+
return ret;
|
631
|
+
|
632
|
+
}
|
633
|
+
|
634
|
+
/**
|
635
|
+
* @return self-explanatory
|
636
|
+
*/
|
637
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_createAndAddSug")
|
638
|
+
public java.util.List<administration.assignable.ApplicationUserAssignable> getCreateAndAddGestionUserSug() {
|
639
|
+
java.util.ArrayList<administration.assignable.ApplicationUserAssignable> ret = new java.util.ArrayList<administration.assignable.ApplicationUserAssignable>();
|
640
|
+
|
641
|
+
for (int i = java.lang.reflect.Array
|
642
|
+
.getLength(administration.assignable.ApplicationUserAssignable
|
643
|
+
.values()) - 1; i >= 0; i--) {
|
644
|
+
ret.add(administration.assignable.ApplicationUserAssignable
|
645
|
+
.values()[i]);
|
646
|
+
}
|
647
|
+
return ret;
|
648
|
+
|
649
|
+
}
|
650
|
+
|
651
|
+
/**
|
652
|
+
* @return self-explanatory
|
653
|
+
*/
|
654
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_createAndAddSug")
|
655
|
+
public java.util.List<administration.assignable.SecureMethodAssignable> getCreateAndAddGestionsecureMethodsSug() {
|
656
|
+
java.util.ArrayList<administration.assignable.SecureMethodAssignable> ret = new java.util.ArrayList<administration.assignable.SecureMethodAssignable>();
|
657
|
+
|
658
|
+
for (int i = java.lang.reflect.Array
|
659
|
+
.getLength(administration.assignable.SecureMethodAssignable
|
660
|
+
.values()) - 1; i >= 0; i--) {
|
661
|
+
ret
|
662
|
+
.add(administration.assignable.SecureMethodAssignable
|
663
|
+
.values()[i]);
|
664
|
+
}
|
665
|
+
return ret;
|
666
|
+
|
667
|
+
}
|
668
|
+
|
669
|
+
/**
|
670
|
+
* @return self-explanatory
|
671
|
+
*/
|
672
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_createAndAddSug")
|
673
|
+
public java.util.List<administration.assignable.SecureFieldAssignable> getCreateAndAddSecureFieldsSug() {
|
674
|
+
java.util.ArrayList<administration.assignable.SecureFieldAssignable> ret = new java.util.ArrayList<administration.assignable.SecureFieldAssignable>();
|
675
|
+
|
676
|
+
for (int i = java.lang.reflect.Array
|
677
|
+
.getLength(administration.assignable.SecureFieldAssignable
|
678
|
+
.values()) - 1; i >= 0; i--) {
|
679
|
+
ret
|
680
|
+
.add(administration.assignable.SecureFieldAssignable
|
681
|
+
.values()[i]);
|
682
|
+
}
|
683
|
+
return ret;
|
684
|
+
|
685
|
+
}
|
686
|
+
|
687
|
+
/**
|
688
|
+
* @return self-explanatory
|
689
|
+
*/
|
690
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9wgetEntityManager")
|
691
|
+
public static javax.persistence.EntityManager getEntityManager() {
|
692
|
+
return xmda.jpa.DbContext.getEntityManager();
|
693
|
+
}
|
694
|
+
|
695
|
+
/**
|
696
|
+
* @return self-explanatory
|
697
|
+
*/
|
698
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_get")
|
699
|
+
public java.util.Set<administration.BusinessGroup> getGestionGroup() {
|
700
|
+
|
701
|
+
if (gestionGroup != null) {
|
702
|
+
return gestionGroup;
|
703
|
+
} else {
|
704
|
+
return new java.util.HashSet<administration.BusinessGroup>();
|
705
|
+
}
|
706
|
+
}
|
707
|
+
|
708
|
+
/**
|
709
|
+
* @return self-explanatory
|
710
|
+
*/
|
711
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_sug")
|
712
|
+
public java.util.List<administration.BusinessGroup> getGestionGroupSug() {
|
713
|
+
|
714
|
+
java.util.List<administration.BusinessGroup> ret = administration.BusinessGroup
|
715
|
+
.findAll((administration.BusinessGroup) null);
|
716
|
+
|
717
|
+
administration.BusinessGroup item = null;
|
718
|
+
java.util.Iterator<?> iter = getGestionGroup().iterator();
|
719
|
+
while (iter.hasNext()) {
|
720
|
+
item = (administration.BusinessGroup) iter.next();
|
721
|
+
if (!ret.contains(item)) {
|
722
|
+
ret.add(item);
|
723
|
+
}
|
724
|
+
}
|
725
|
+
return ret;
|
726
|
+
|
727
|
+
}
|
728
|
+
|
729
|
+
/**
|
730
|
+
* This property is part of a bi-navigable association {@link administration.SecurityRole#getOwner}<br/>
|
731
|
+
* @return self-explanatory
|
732
|
+
*/
|
733
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_get")
|
734
|
+
public java.util.Set<administration.SecurityRole> getGestionRoles() {
|
735
|
+
|
736
|
+
if (gestionRoles != null) {
|
737
|
+
return gestionRoles;
|
738
|
+
} else {
|
739
|
+
return new java.util.HashSet<administration.SecurityRole>();
|
740
|
+
}
|
741
|
+
}
|
742
|
+
|
743
|
+
/**
|
744
|
+
* @return self-explanatory
|
745
|
+
*/
|
746
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_sug")
|
747
|
+
public java.util.List<administration.SecurityRole> getGestionRolesSug() {
|
748
|
+
|
749
|
+
java.util.List<administration.SecurityRole> ret = administration.SecurityRole
|
750
|
+
.findAll((administration.SecurityRole) null);
|
751
|
+
|
752
|
+
administration.SecurityRole item = null;
|
753
|
+
java.util.Iterator<?> iter = getGestionRoles().iterator();
|
754
|
+
while (iter.hasNext()) {
|
755
|
+
item = (administration.SecurityRole) iter.next();
|
756
|
+
if (!ret.contains(item)) {
|
757
|
+
ret.add(item);
|
758
|
+
}
|
759
|
+
}
|
760
|
+
return ret;
|
761
|
+
|
762
|
+
}
|
763
|
+
|
764
|
+
/**
|
765
|
+
* This property is part of a bi-navigable association {@link administration.SecureWebFilter#getOwner}<br/>
|
766
|
+
* @return self-explanatory
|
767
|
+
*/
|
768
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_get")
|
769
|
+
public java.util.Set<administration.SecureWebFilter> getGestionSecureURLs() {
|
770
|
+
|
771
|
+
if (gestionSecureURLs != null) {
|
772
|
+
return gestionSecureURLs;
|
773
|
+
} else {
|
774
|
+
return new java.util.HashSet<administration.SecureWebFilter>();
|
775
|
+
}
|
776
|
+
}
|
777
|
+
|
778
|
+
/**
|
779
|
+
* @return self-explanatory
|
780
|
+
*/
|
781
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_sug")
|
782
|
+
public java.util.List<administration.SecureWebFilter> getGestionSecureURLsSug() {
|
783
|
+
|
784
|
+
java.util.List<administration.SecureWebFilter> ret = administration.SecureWebFilter
|
785
|
+
.findAll((administration.SecureWebFilter) null);
|
786
|
+
|
787
|
+
administration.SecureWebFilter item = null;
|
788
|
+
java.util.Iterator<?> iter = getGestionSecureURLs().iterator();
|
789
|
+
while (iter.hasNext()) {
|
790
|
+
item = (administration.SecureWebFilter) iter.next();
|
791
|
+
if (!ret.contains(item)) {
|
792
|
+
ret.add(item);
|
793
|
+
}
|
794
|
+
}
|
795
|
+
return ret;
|
796
|
+
|
797
|
+
}
|
798
|
+
|
799
|
+
/**
|
800
|
+
* This property is part of a bi-navigable association {@link administration.ApplicationUser#getOwner}<br/>
|
801
|
+
* @return self-explanatory
|
802
|
+
*/
|
803
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_get")
|
804
|
+
public java.util.Set<administration.ApplicationUser> getGestionUser() {
|
805
|
+
|
806
|
+
if (gestionUser != null) {
|
807
|
+
return gestionUser;
|
808
|
+
} else {
|
809
|
+
return new java.util.HashSet<administration.ApplicationUser>();
|
810
|
+
}
|
811
|
+
}
|
812
|
+
|
813
|
+
/**
|
814
|
+
* @return self-explanatory
|
815
|
+
*/
|
816
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_sug")
|
817
|
+
public java.util.List<administration.ApplicationUser> getGestionUserSug() {
|
818
|
+
|
819
|
+
java.util.List<administration.ApplicationUser> ret = administration.ApplicationUser
|
820
|
+
.findAll((administration.ApplicationUser) null);
|
821
|
+
|
822
|
+
administration.ApplicationUser item = null;
|
823
|
+
java.util.Iterator<?> iter = getGestionUser().iterator();
|
824
|
+
while (iter.hasNext()) {
|
825
|
+
item = (administration.ApplicationUser) iter.next();
|
826
|
+
if (!ret.contains(item)) {
|
827
|
+
ret.add(item);
|
828
|
+
}
|
829
|
+
}
|
830
|
+
return ret;
|
831
|
+
|
832
|
+
}
|
833
|
+
|
834
|
+
/**
|
835
|
+
* This property is part of a bi-navigable association {@link administration.SecureMethod#getOwner}<br/>
|
836
|
+
* @return self-explanatory
|
837
|
+
*/
|
838
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_get")
|
839
|
+
public java.util.Set<administration.SecureMethod> getGestionsecureMethods() {
|
840
|
+
|
841
|
+
if (gestionsecureMethods != null) {
|
842
|
+
return gestionsecureMethods;
|
843
|
+
} else {
|
844
|
+
return new java.util.HashSet<administration.SecureMethod>();
|
845
|
+
}
|
846
|
+
}
|
847
|
+
|
848
|
+
/**
|
849
|
+
* @return self-explanatory
|
850
|
+
*/
|
851
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_sug")
|
852
|
+
public java.util.List<administration.SecureMethod> getGestionsecureMethodsSug() {
|
853
|
+
|
854
|
+
java.util.List<administration.SecureMethod> ret = administration.SecureMethod
|
855
|
+
.findAll((administration.SecureMethod) null);
|
856
|
+
|
857
|
+
administration.SecureMethod item = null;
|
858
|
+
java.util.Iterator<?> iter = getGestionsecureMethods().iterator();
|
859
|
+
while (iter.hasNext()) {
|
860
|
+
item = (administration.SecureMethod) iter.next();
|
861
|
+
if (!ret.contains(item)) {
|
862
|
+
ret.add(item);
|
863
|
+
}
|
864
|
+
}
|
865
|
+
return ret;
|
866
|
+
|
867
|
+
}
|
868
|
+
|
869
|
+
/**
|
870
|
+
* @return self-explanatory
|
871
|
+
*/
|
872
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_auto_id_get")
|
873
|
+
public Long getId() {
|
874
|
+
if (id == null) {
|
875
|
+
return Long.valueOf(0);
|
876
|
+
} else {
|
877
|
+
return id;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
|
881
|
+
/**
|
882
|
+
* This property is part of a bi-navigable association {@link administration.SecureField#getOwner}<br/>
|
883
|
+
* @return self-explanatory
|
884
|
+
*/
|
885
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_get")
|
886
|
+
public java.util.Set<administration.SecureField> getSecureFields() {
|
887
|
+
|
888
|
+
if (secureFields != null) {
|
889
|
+
return secureFields;
|
890
|
+
} else {
|
891
|
+
return new java.util.HashSet<administration.SecureField>();
|
892
|
+
}
|
893
|
+
}
|
894
|
+
|
895
|
+
/**
|
896
|
+
* @return self-explanatory
|
897
|
+
*/
|
898
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_sug")
|
899
|
+
public java.util.List<administration.SecureField> getSecureFieldsSug() {
|
900
|
+
|
901
|
+
java.util.List<administration.SecureField> ret = administration.SecureField
|
902
|
+
.findAll((administration.SecureField) null);
|
903
|
+
|
904
|
+
administration.SecureField item = null;
|
905
|
+
java.util.Iterator<?> iter = getSecureFields().iterator();
|
906
|
+
while (iter.hasNext()) {
|
907
|
+
item = (administration.SecureField) iter.next();
|
908
|
+
if (!ret.contains(item)) {
|
909
|
+
ret.add(item);
|
910
|
+
}
|
911
|
+
}
|
912
|
+
return ret;
|
913
|
+
|
914
|
+
}
|
915
|
+
|
916
|
+
/**
|
917
|
+
*/
|
918
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__Ye0e4OCOEdy7EuKzeDwiog")
|
919
|
+
public void loadSecurityConfig() {
|
920
|
+
|
921
|
+
//TODO: replace this test code by real implementation
|
922
|
+
//log.error("test method called");
|
923
|
+
|
924
|
+
}
|
925
|
+
|
926
|
+
/**
|
927
|
+
* @return self-explanatory
|
928
|
+
*/
|
929
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_merge")
|
930
|
+
public administration.SecurityPanel merge() {
|
931
|
+
return (administration.SecurityPanel) getEntityManager().merge(this);
|
932
|
+
}
|
933
|
+
|
934
|
+
/**
|
935
|
+
*/
|
936
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_persist")
|
937
|
+
public void persist() {
|
938
|
+
getEntityManager().persist(this);
|
939
|
+
}
|
940
|
+
|
941
|
+
/**
|
942
|
+
*/
|
943
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_remove")
|
944
|
+
public void remove() {
|
945
|
+
getEntityManager().remove(this);
|
946
|
+
}
|
947
|
+
|
948
|
+
/**
|
949
|
+
* @param igestionGroup self-explanatory
|
950
|
+
*/
|
951
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_remove")
|
952
|
+
public void removeGestionGroup(
|
953
|
+
final administration.BusinessGroup igestionGroup) {
|
954
|
+
this.gestionGroup.remove(igestionGroup);
|
955
|
+
|
956
|
+
}
|
957
|
+
|
958
|
+
/**
|
959
|
+
* @param igestionRoles self-explanatory
|
960
|
+
*/
|
961
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_remove")
|
962
|
+
public void removeGestionRoles(
|
963
|
+
final administration.SecurityRole igestionRoles) {
|
964
|
+
|
965
|
+
if (this.gestionRoles.remove(igestionRoles)) {
|
966
|
+
igestionRoles.setOwner(null);
|
967
|
+
}
|
968
|
+
|
969
|
+
}
|
970
|
+
|
971
|
+
/**
|
972
|
+
* @param igestionSecureURLs self-explanatory
|
973
|
+
*/
|
974
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_remove")
|
975
|
+
public void removeGestionSecureURLs(
|
976
|
+
final administration.SecureWebFilter igestionSecureURLs) {
|
977
|
+
|
978
|
+
if (this.gestionSecureURLs.remove(igestionSecureURLs)) {
|
979
|
+
igestionSecureURLs.setOwner(null);
|
980
|
+
}
|
981
|
+
|
982
|
+
}
|
983
|
+
|
984
|
+
/**
|
985
|
+
* @param igestionUser self-explanatory
|
986
|
+
*/
|
987
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_remove")
|
988
|
+
public void removeGestionUser(
|
989
|
+
final administration.ApplicationUser igestionUser) {
|
990
|
+
|
991
|
+
if (this.gestionUser.remove(igestionUser)) {
|
992
|
+
igestionUser.setOwner(null);
|
993
|
+
}
|
994
|
+
|
995
|
+
}
|
996
|
+
|
997
|
+
/**
|
998
|
+
* @param igestionsecureMethods self-explanatory
|
999
|
+
*/
|
1000
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_remove")
|
1001
|
+
public void removeGestionsecureMethods(
|
1002
|
+
final administration.SecureMethod igestionsecureMethods) {
|
1003
|
+
|
1004
|
+
if (this.gestionsecureMethods.remove(igestionsecureMethods)) {
|
1005
|
+
igestionsecureMethods.setOwner(null);
|
1006
|
+
}
|
1007
|
+
|
1008
|
+
}
|
1009
|
+
|
1010
|
+
/**
|
1011
|
+
* @param isecureFields self-explanatory
|
1012
|
+
*/
|
1013
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_remove")
|
1014
|
+
public void removeSecureFields(
|
1015
|
+
final administration.SecureField isecureFields) {
|
1016
|
+
|
1017
|
+
if (this.secureFields.remove(isecureFields)) {
|
1018
|
+
isecureFields.setOwner(null);
|
1019
|
+
}
|
1020
|
+
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
/**
|
1024
|
+
* @param igestionGroup self-explanatory
|
1025
|
+
* @see administration.SecurityPanel#getGestionGroup
|
1026
|
+
*/
|
1027
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2hMg1Edy3YZbvY96G9w_set")
|
1028
|
+
public void setGestionGroup(
|
1029
|
+
final java.util.Set<administration.BusinessGroup> igestionGroup) {
|
1030
|
+
this.gestionGroup = igestionGroup;
|
1031
|
+
}
|
1032
|
+
|
1033
|
+
/**
|
1034
|
+
* @param igestionRoles self-explanatory
|
1035
|
+
* @see administration.SecurityPanel#getGestionRoles
|
1036
|
+
*/
|
1037
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2e8g1Edy3YZbvY96G9w_set")
|
1038
|
+
public void setGestionRoles(
|
1039
|
+
final java.util.Set<administration.SecurityRole> igestionRoles) {
|
1040
|
+
java.util.Set<administration.SecurityRole> toBeRemoved = new java.util.HashSet<administration.SecurityRole>();
|
1041
|
+
for (administration.SecurityRole item : gestionRoles) {
|
1042
|
+
if (igestionRoles != null && igestionRoles.contains(item)) {
|
1043
|
+
continue;
|
1044
|
+
}
|
1045
|
+
toBeRemoved.add(item);
|
1046
|
+
}
|
1047
|
+
for (administration.SecurityRole item : toBeRemoved) {
|
1048
|
+
this.removeGestionRoles(item);
|
1049
|
+
}
|
1050
|
+
if (igestionRoles == null) {
|
1051
|
+
return;
|
1052
|
+
}
|
1053
|
+
for (administration.SecurityRole item : igestionRoles) {
|
1054
|
+
this.addGestionRoles(item);
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
/**
|
1060
|
+
* @param igestionSecureURLs self-explanatory
|
1061
|
+
* @see administration.SecurityPanel#getGestionSecureURLs
|
1062
|
+
*/
|
1063
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2fsg1Edy3YZbvY96G9w_set")
|
1064
|
+
public void setGestionSecureURLs(
|
1065
|
+
final java.util.Set<administration.SecureWebFilter> igestionSecureURLs) {
|
1066
|
+
java.util.Set<administration.SecureWebFilter> toBeRemoved = new java.util.HashSet<administration.SecureWebFilter>();
|
1067
|
+
for (administration.SecureWebFilter item : gestionSecureURLs) {
|
1068
|
+
if (igestionSecureURLs != null && igestionSecureURLs.contains(item)) {
|
1069
|
+
continue;
|
1070
|
+
}
|
1071
|
+
toBeRemoved.add(item);
|
1072
|
+
}
|
1073
|
+
for (administration.SecureWebFilter item : toBeRemoved) {
|
1074
|
+
this.removeGestionSecureURLs(item);
|
1075
|
+
}
|
1076
|
+
if (igestionSecureURLs == null) {
|
1077
|
+
return;
|
1078
|
+
}
|
1079
|
+
for (administration.SecureWebFilter item : igestionSecureURLs) {
|
1080
|
+
this.addGestionSecureURLs(item);
|
1081
|
+
}
|
1082
|
+
|
1083
|
+
}
|
1084
|
+
|
1085
|
+
/**
|
1086
|
+
* @param igestionUser self-explanatory
|
1087
|
+
* @see administration.SecurityPanel#getGestionUser
|
1088
|
+
*/
|
1089
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2eMg1Edy3YZbvY96G9w_set")
|
1090
|
+
public void setGestionUser(
|
1091
|
+
final java.util.Set<administration.ApplicationUser> igestionUser) {
|
1092
|
+
java.util.Set<administration.ApplicationUser> toBeRemoved = new java.util.HashSet<administration.ApplicationUser>();
|
1093
|
+
for (administration.ApplicationUser item : gestionUser) {
|
1094
|
+
if (igestionUser != null && igestionUser.contains(item)) {
|
1095
|
+
continue;
|
1096
|
+
}
|
1097
|
+
toBeRemoved.add(item);
|
1098
|
+
}
|
1099
|
+
for (administration.ApplicationUser item : toBeRemoved) {
|
1100
|
+
this.removeGestionUser(item);
|
1101
|
+
}
|
1102
|
+
if (igestionUser == null) {
|
1103
|
+
return;
|
1104
|
+
}
|
1105
|
+
for (administration.ApplicationUser item : igestionUser) {
|
1106
|
+
this.addGestionUser(item);
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
/**
|
1112
|
+
* @param igestionsecureMethods self-explanatory
|
1113
|
+
* @see administration.SecurityPanel#getGestionsecureMethods
|
1114
|
+
*/
|
1115
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2gcg1Edy3YZbvY96G9w_set")
|
1116
|
+
public void setGestionsecureMethods(
|
1117
|
+
final java.util.Set<administration.SecureMethod> igestionsecureMethods) {
|
1118
|
+
java.util.Set<administration.SecureMethod> toBeRemoved = new java.util.HashSet<administration.SecureMethod>();
|
1119
|
+
for (administration.SecureMethod item : gestionsecureMethods) {
|
1120
|
+
if (igestionsecureMethods != null
|
1121
|
+
&& igestionsecureMethods.contains(item)) {
|
1122
|
+
continue;
|
1123
|
+
}
|
1124
|
+
toBeRemoved.add(item);
|
1125
|
+
}
|
1126
|
+
for (administration.SecureMethod item : toBeRemoved) {
|
1127
|
+
this.removeGestionsecureMethods(item);
|
1128
|
+
}
|
1129
|
+
if (igestionsecureMethods == null) {
|
1130
|
+
return;
|
1131
|
+
}
|
1132
|
+
for (administration.SecureMethod item : igestionsecureMethods) {
|
1133
|
+
this.addGestionsecureMethods(item);
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
/**
|
1139
|
+
* @param iid self-explanatory
|
1140
|
+
* @see administration.SecurityPanel#getId
|
1141
|
+
*/
|
1142
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__o7p2d8g1Edy3YZbvY96G9w_auto_id_set")
|
1143
|
+
public void setId(final Long iid) {
|
1144
|
+
this.id = iid;
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
/**
|
1148
|
+
* @param isecureFields self-explanatory
|
1149
|
+
* @see administration.SecurityPanel#getSecureFields
|
1150
|
+
*/
|
1151
|
+
@OntoMDE(reverse = { nothing }, uri = "ukb__LZYuke7EEdyP442wD0PCHQ_set")
|
1152
|
+
public void setSecureFields(
|
1153
|
+
final java.util.Set<administration.SecureField> isecureFields) {
|
1154
|
+
java.util.Set<administration.SecureField> toBeRemoved = new java.util.HashSet<administration.SecureField>();
|
1155
|
+
for (administration.SecureField item : secureFields) {
|
1156
|
+
if (isecureFields != null && isecureFields.contains(item)) {
|
1157
|
+
continue;
|
1158
|
+
}
|
1159
|
+
toBeRemoved.add(item);
|
1160
|
+
}
|
1161
|
+
for (administration.SecureField item : toBeRemoved) {
|
1162
|
+
this.removeSecureFields(item);
|
1163
|
+
}
|
1164
|
+
if (isecureFields == null) {
|
1165
|
+
return;
|
1166
|
+
}
|
1167
|
+
for (administration.SecureField item : isecureFields) {
|
1168
|
+
this.addSecureFields(item);
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
}
|
1172
|
+
|
1173
|
+
/*XMDA_BEGIN_reverse="no"_uri="ukb__o7p2d8g1Edy3YZbvY96G9w__custom_code"_*/
|
1174
|
+
// Please use this area for out-of-model code.
|
1175
|
+
/*XMDA_END_uri="ukb__o7p2d8g1Edy3YZbvY96G9w__custom_code"_*/
|
1176
|
+
|
1177
|
+
}
|