I have a portlet which is configured as preferences-commpany-wide, so same preferences are shared between everyone
Now I would like to put a default value on those preferences, so this code should be needed only first execution on whole lifecycle. That is why I believe init() method is the best option for setting this default values in case they are not already set before.
How can I retrieve PortletPreferences object from there?
EDIT I am looking for portletContext and portletConfig retrievable from GenericPortlet but no luck so far