Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Alaa Hendi
PortletPrefernces stored place
4. Juni 2009 01:46
Antwort

Alaa Hendi

Rang: Junior Member

Nachrichten: 34

Eintrittsdatum: 10. Februar 2009

Neue Beiträge

Hi .
where is liferay PortletPrefernces stored? in DB? or in somewhere else?
Aarti Jain
RE: PortletPrefernces stored place
4. Juni 2009 02:31
Antwort

Aarti Jain

Rang: Regular Member

Nachrichten: 116

Eintrittsdatum: 2. September 2008

Neue Beiträge

Hi Alaa,

Portlet Preferences are stored in DB in table portletpreferences.

Regards,
Aarti Jain
Alaa Hendi
RE: PortletPrefernces stored place
4. Juni 2009 04:57
Antwort

Alaa Hendi

Rang: Junior Member

Nachrichten: 34

Eintrittsdatum: 10. Februar 2009

Neue Beiträge

Hi Aarti
Thank you. but i did not see any changes in the portletpreferences table. and after tracing the liferay source code in debug mode, i found that
in the updateImpl method at com.liferay.portal.service.persistence.PortletPreferencesPersistenceImp class : there is if condition
if( portletPreferences.isNew() ), if it is true , then the new preferences updated to DB,
so, what does this if statement means????
atul patel
Re: [Liferay Forums][3. Development] PortletPrefernces stored place
4. Juni 2009 13:26
Antwort

atul patel

Rang: Regular Member

Nachrichten: 192

Eintrittsdatum: 17. November 2006

Neue Beiträge

In db. Default values are specified in portlet.xml.

Atul Patel
+1-310-880-3574

On Jun 4, 2009, at 1:46 AM, "Alaa Hendi from liferay.com" <no-reply@liferay.com
> wrote:

> Hi .
> where is liferay PortletPrefernces stored? in DB? or in somewhere
> else?
> --
> Liferay Message Boards
> http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3248732
> mb.239390.3248732@events.liferay.com
> http://www.liferay.com