Skip to:
This tracker shall collect issues to taking care of improving the core for extendability.
A lot - or probably most - of the methods and variables have the access modifier 'private'. This prevents to use them in a plugin as shown in this table:
Modifier
Class
Package
Subclass
World
Comment
public
y
protected
n
no modifier
*also known as package-private*
private
y: accessible - n: not accessible
(Taken from http://stackoverflow.com/questions/215497/in-java-whats-the-difference-between-public-default-protected-and-private)
To allow extending classes in a plugin many of those must be changed to protected.
Added merged patch for easy review IDEMPIERE-2793_1.patch
This contain all above patch except MInvoice and MPayment. Additionally added MMailText.
This tracker shall collect issues to taking care of improving the core for extendability.
A lot - or probably most - of the methods and variables have the access modifier 'private'. This prevents to use them in a plugin as shown in this table:
Modifier
Class
Package
Subclass
World
Comment
public
y
y
y
y
protected
y
y
y
n
no modifier
y
y
n
n
*also known as package-private*
private
y
n
n
n
y: accessible - n: not accessible
(Taken from http://stackoverflow.com/questions/215497/in-java-whats-the-difference-between-public-default-protected-and-private)
To allow extending classes in a plugin many of those must be changed to protected.