Extendability improvements

Description

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.

Environment

None

Attachments

38

Activity

Show:

Deepak Pansheriya March 23, 2016 at 9:52 AM
Edited

Added merged patch for easy review
IDEMPIERE-2793_1.patch

This contain all above patch except MInvoice and MPayment. Additionally added MMailText.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 26, 2015 at 2:20 PM
Updated December 1, 2018 at 12:01 PM
Resolved October 12, 2018 at 10:33 AM