OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 177 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 180
Line 24... Line 24...
24
import org.openconcerto.erp.core.common.element.NumerotationAutoSQLElement;
24
import org.openconcerto.erp.core.common.element.NumerotationAutoSQLElement;
25
import org.openconcerto.erp.core.common.element.PaysSQLElement;
25
import org.openconcerto.erp.core.common.element.PaysSQLElement;
26
import org.openconcerto.erp.core.common.element.SocieteCommonSQLElement;
26
import org.openconcerto.erp.core.common.element.SocieteCommonSQLElement;
27
import org.openconcerto.erp.core.common.element.StyleSQLElement;
27
import org.openconcerto.erp.core.common.element.StyleSQLElement;
28
import org.openconcerto.erp.core.common.element.TitrePersonnelSQLElement;
28
import org.openconcerto.erp.core.common.element.TitrePersonnelSQLElement;
-
 
29
import org.openconcerto.erp.core.customerrelationship.customer.element.AgenceSQLElement;
29
import org.openconcerto.erp.core.customerrelationship.customer.element.ClientDepartementSQLElement;
30
import org.openconcerto.erp.core.customerrelationship.customer.element.ClientDepartementSQLElement;
30
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactAdministratifSQLElement;
31
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactAdministratifSQLElement;
31
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactFournisseurSQLElement;
32
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactFournisseurSQLElement;
32
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactSQLElement;
33
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactSQLElement;
33
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactSalarieSQLElement;
34
import org.openconcerto.erp.core.customerrelationship.customer.element.ComptaContactSQLElement.ContactSalarieSQLElement;
Line 120... Line 121...
120
import org.openconcerto.erp.core.humanresources.payroll.element.ContratRegimeVieillesseSQLElement;
121
import org.openconcerto.erp.core.humanresources.payroll.element.ContratRegimeVieillesseSQLElement;
121
import org.openconcerto.erp.core.humanresources.payroll.element.ContratSalarieSQLElement;
122
import org.openconcerto.erp.core.humanresources.payroll.element.ContratSalarieSQLElement;
122
import org.openconcerto.erp.core.humanresources.payroll.element.CumulsCongesSQLElement;
123
import org.openconcerto.erp.core.humanresources.payroll.element.CumulsCongesSQLElement;
123
import org.openconcerto.erp.core.humanresources.payroll.element.CumulsPayeSQLElement;
124
import org.openconcerto.erp.core.humanresources.payroll.element.CumulsPayeSQLElement;
124
import org.openconcerto.erp.core.humanresources.payroll.element.DSNNatureSQLElement;
125
import org.openconcerto.erp.core.humanresources.payroll.element.DSNNatureSQLElement;
-
 
126
import org.openconcerto.erp.core.humanresources.payroll.element.DiplomePrepareSQLElement;
125
import org.openconcerto.erp.core.humanresources.payroll.element.FichePayeElementSQLElement;
127
import org.openconcerto.erp.core.humanresources.payroll.element.FichePayeElementSQLElement;
126
import org.openconcerto.erp.core.humanresources.payroll.element.FichePayeSQLElement;
128
import org.openconcerto.erp.core.humanresources.payroll.element.FichePayeSQLElement;
127
import org.openconcerto.erp.core.humanresources.payroll.element.ImpressionRubriqueSQLElement;
129
import org.openconcerto.erp.core.humanresources.payroll.element.ImpressionRubriqueSQLElement;
128
import org.openconcerto.erp.core.humanresources.payroll.element.InfosSalariePayeSQLElement;
130
import org.openconcerto.erp.core.humanresources.payroll.element.InfosSalariePayeSQLElement;
129
import org.openconcerto.erp.core.humanresources.payroll.element.ModeReglementPayeSQLElement;
131
import org.openconcerto.erp.core.humanresources.payroll.element.ModeReglementPayeSQLElement;
Line 174... Line 176...
174
import org.openconcerto.erp.core.sales.product.element.ArticleCodeClientSQLElement;
176
import org.openconcerto.erp.core.sales.product.element.ArticleCodeClientSQLElement;
175
import org.openconcerto.erp.core.sales.product.element.ArticleDesignationSQLElement;
177
import org.openconcerto.erp.core.sales.product.element.ArticleDesignationSQLElement;
176
import org.openconcerto.erp.core.sales.product.element.ArticleFournisseurSecondaireSQLElement;
178
import org.openconcerto.erp.core.sales.product.element.ArticleFournisseurSecondaireSQLElement;
177
import org.openconcerto.erp.core.sales.product.element.ArticleTarifSQLElement;
179
import org.openconcerto.erp.core.sales.product.element.ArticleTarifSQLElement;
178
import org.openconcerto.erp.core.sales.product.element.CoutRevientSQLElement;
180
import org.openconcerto.erp.core.sales.product.element.CoutRevientSQLElement;
-
 
181
import org.openconcerto.erp.core.sales.product.element.CustomerProductFamilyQtyPriceSQLElement;
179
import org.openconcerto.erp.core.sales.product.element.CustomerProductQtyPriceSQLElement;
182
import org.openconcerto.erp.core.sales.product.element.CustomerProductQtyPriceSQLElement;
180
import org.openconcerto.erp.core.sales.product.element.EcoContributionSQLElement;
183
import org.openconcerto.erp.core.sales.product.element.EcoContributionSQLElement;
181
import org.openconcerto.erp.core.sales.product.element.FamilleArticleSQLElement;
184
import org.openconcerto.erp.core.sales.product.element.FamilleArticleSQLElement;
182
import org.openconcerto.erp.core.sales.product.element.FamilleEcoContributionSQLElement;
185
import org.openconcerto.erp.core.sales.product.element.FamilleEcoContributionSQLElement;
183
import org.openconcerto.erp.core.sales.product.element.MetriqueSQLElement;
186
import org.openconcerto.erp.core.sales.product.element.MetriqueSQLElement;
Line 271... Line 274...
271
import org.openconcerto.erp.injector.AchatAvoirSQLInjector;
274
import org.openconcerto.erp.injector.AchatAvoirSQLInjector;
272
import org.openconcerto.erp.injector.ArticleCommandeEltSQLInjector;
275
import org.openconcerto.erp.injector.ArticleCommandeEltSQLInjector;
273
import org.openconcerto.erp.injector.BonFactureEltSQLInjector;
276
import org.openconcerto.erp.injector.BonFactureEltSQLInjector;
274
import org.openconcerto.erp.injector.BonFactureSQLInjector;
277
import org.openconcerto.erp.injector.BonFactureSQLInjector;
275
import org.openconcerto.erp.injector.BonReceptionFactureFournisseurSQLInjector;
278
import org.openconcerto.erp.injector.BonReceptionFactureFournisseurSQLInjector;
-
 
279
import org.openconcerto.erp.injector.BrEltFactEltSQLInjector;
276
import org.openconcerto.erp.injector.BrFactureAchatSQLInjector;
280
import org.openconcerto.erp.injector.BrFactureAchatSQLInjector;
-
 
281
import org.openconcerto.erp.injector.CmdEltFactEltSQLInjector;
277
import org.openconcerto.erp.injector.CommandeBlEltSQLInjector;
282
import org.openconcerto.erp.injector.CommandeBlEltSQLInjector;
278
import org.openconcerto.erp.injector.CommandeBlSQLInjector;
283
import org.openconcerto.erp.injector.CommandeBlSQLInjector;
279
import org.openconcerto.erp.injector.CommandeBrEltSQLInjector;
284
import org.openconcerto.erp.injector.CommandeBrEltSQLInjector;
280
import org.openconcerto.erp.injector.CommandeBrSQLInjector;
285
import org.openconcerto.erp.injector.CommandeBrSQLInjector;
281
import org.openconcerto.erp.injector.CommandeCliCommandeSQLInjector;
286
import org.openconcerto.erp.injector.CommandeCliCommandeSQLInjector;
Line 784... Line 789...
784
        dir.addSQLElement(TypePreavisSQLElement.class, root);
789
        dir.addSQLElement(TypePreavisSQLElement.class, root);
785
        dir.addSQLElement(DSNNatureSQLElement.class, root);
790
        dir.addSQLElement(DSNNatureSQLElement.class, root);
786
        dir.addSQLElement(TypeTauxPasSQLElement.class, root);
791
        dir.addSQLElement(TypeTauxPasSQLElement.class, root);
787
        dir.addSQLElement(CodeAmenagementPartielSQLElement.class, root);
792
        dir.addSQLElement(CodeAmenagementPartielSQLElement.class, root);
788
        dir.addSQLElement(CodeSuspensionSQLElement.class, root);
793
        dir.addSQLElement(CodeSuspensionSQLElement.class, root);
-
 
794
        dir.addSQLElement(DiplomePrepareSQLElement.class, root);
789
 
795
 
790
        // ECO
796
        // ECO
791
        dir.addSQLElement(FamilleEcoContributionSQLElement.class, root);
797
        dir.addSQLElement(FamilleEcoContributionSQLElement.class, root);
792
        dir.addSQLElement(EcoContributionSQLElement.class, root);
798
        dir.addSQLElement(EcoContributionSQLElement.class, root);
793
 
799
 
Line 830... Line 836...
830
            SQLElementDirectory dir = this.getDirectory();
836
            SQLElementDirectory dir = this.getDirectory();
831
 
837
 
832
            dir.addSQLElement(AttachmentSQLElement.class);
838
            dir.addSQLElement(AttachmentSQLElement.class);
833
 
839
 
834
            dir.addSQLElement(CustomerProductQtyPriceSQLElement.class);
840
            dir.addSQLElement(CustomerProductQtyPriceSQLElement.class);
-
 
841
            dir.addSQLElement(CustomerProductFamilyQtyPriceSQLElement.class);
835
            dir.addSQLElement(EtatStockSQLElement.class);
842
            dir.addSQLElement(EtatStockSQLElement.class);
836
            dir.addSQLElement(EtatStockItemSQLElement.class);
843
            dir.addSQLElement(EtatStockItemSQLElement.class);
837
            dir.addSQLElement(ArticleTarifSQLElement.class);
844
            dir.addSQLElement(ArticleTarifSQLElement.class);
838
            dir.addSQLElement(CoutRevientSQLElement.class);
845
            dir.addSQLElement(CoutRevientSQLElement.class);
839
            dir.addSQLElement(ReliquatBRSQLElement.class);
846
            dir.addSQLElement(ReliquatBRSQLElement.class);
Line 852... Line 859...
852
            dir.addSQLElement(ContactFournisseurSQLElement.class);
859
            dir.addSQLElement(ContactFournisseurSQLElement.class);
853
            dir.addSQLElement(ContactAdministratifSQLElement.class);
860
            dir.addSQLElement(ContactAdministratifSQLElement.class);
854
            dir.addSQLElement(ContactSalarieSQLElement.class);
861
            dir.addSQLElement(ContactSalarieSQLElement.class);
855
            dir.addSQLElement(new TitrePersonnelSQLElement());
862
            dir.addSQLElement(new TitrePersonnelSQLElement());
856
            dir.addSQLElement(new ContactSQLElement());
863
            dir.addSQLElement(new ContactSQLElement());
-
 
864
            dir.addSQLElement(new AgenceSQLElement(this.getRootSociete()));
857
            dir.addSQLElement(new SaisieKmItemSQLElement());
865
            dir.addSQLElement(new SaisieKmItemSQLElement());
858
            dir.addSQLElement(new EcritureSQLElement());
866
            dir.addSQLElement(new EcritureSQLElement());
859
 
867
 
860
            dir.addSQLElement(new SharedSQLElement(this, "EMPLOYEUR_MULTIPLE", "humanresources.multipleEmployer"));
868
            dir.addSQLElement(new SharedSQLElement(this, "EMPLOYEUR_MULTIPLE", "humanresources.multipleEmployer"));
861
            dir.addSQLElement(PosteAnalytiqueSQLElement.class);
869
            dir.addSQLElement(PosteAnalytiqueSQLElement.class);
Line 1103... Line 1111...
1103
        new DevisCommandeSQLInjector(rootSociete);
1111
        new DevisCommandeSQLInjector(rootSociete);
1104
        new DevisCommandeFournisseurSQLInjector(rootSociete);
1112
        new DevisCommandeFournisseurSQLInjector(rootSociete);
1105
        new DevisBlEltSQLInjector(rootSociete);
1113
        new DevisBlEltSQLInjector(rootSociete);
1106
        new DevisBlSQLInjector(rootSociete);
1114
        new DevisBlSQLInjector(rootSociete);
1107
        new CommandeBlEltSQLInjector(rootSociete);
1115
        new CommandeBlEltSQLInjector(rootSociete);
-
 
1116
        new CmdEltFactEltSQLInjector(rootSociete);
-
 
1117
        new BrEltFactEltSQLInjector(rootSociete);
1108
        new CommandeBrEltSQLInjector(rootSociete);
1118
        new CommandeBrEltSQLInjector(rootSociete);
1109
        new CommandeBlSQLInjector(rootSociete);
1119
        new CommandeBlSQLInjector(rootSociete);
1110
        new BonFactureSQLInjector(rootSociete);
1120
        new BonFactureSQLInjector(rootSociete);
1111
        new BonFactureEltSQLInjector(rootSociete);
1121
        new BonFactureEltSQLInjector(rootSociete);
1112
        new CommandeFactureClientSQLInjector(rootSociete);
1122
        new CommandeFactureClientSQLInjector(rootSociete);