Hi,
I was wondering why the method getPage, which returns the private page object, is not available in PageListItemImpl?
I can see the getters which override the methods of ListItem interface are basically wrappers of Page methods and I am forced to resolve the page by its path if I need it.
Considering the object is already available/computed but hidden and the class is related to the Page by definition and implementation, it make sense imho to provide getPage method in order to
- give the developer more flexibility in building custom components
- reduce computational time by removing the resource resolution
Please let me know if I am missing something.
Kindly Regards,
Giuseppe