Difference between revisions of "Developing Plug-Ins - IModelFactory"

From iDempiere en
(Created page with "Category:Plug-In Development __TOC__ =Goal of this tutorial= =Prerequisites= =The workflow=")
 
Line 3: Line 3:
  
 
=Goal of this tutorial=
 
=Goal of this tutorial=
 +
The goal of this tutorial is to show, how you use the IModelFactory service in you plug-in project. The reason for this is, that e. g. if you have a model validator in your plug-in which uses the Query class, if you don't use the IModelFacotry properly, new Query().first() will return a "GenericPO" instead of your own model class.
 +
 
=Prerequisites=
 
=Prerequisites=
 
=The workflow=
 
=The workflow=

Revision as of 17:11, 1 March 2013

Goal of this tutorial

The goal of this tutorial is to show, how you use the IModelFactory service in you plug-in project. The reason for this is, that e. g. if you have a model validator in your plug-in which uses the Query class, if you don't use the IModelFacotry properly, new Query().first() will return a "GenericPO" instead of your own model class.

Prerequisites

The workflow

Cookies help us deliver our services. By using our services, you agree to our use of cookies.