com.liferay.portlet
Class PortletPreferencesSerializer

java.lang.Object
  extended by com.liferay.portlet.PortletPreferencesSerializer

public class PortletPreferencesSerializer
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Jon Steer, Zongliang Li

Constructor Summary
PortletPreferencesSerializer()
           
 
Method Summary
static javax.portlet.PortletPreferences fromDefaultXML(java.lang.String xml)
           
static PortletPreferencesImpl fromXML(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String xml)
           
static java.lang.String toXML(PortletPreferencesImpl prefs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesSerializer

public PortletPreferencesSerializer()
Method Detail

fromDefaultXML

public static javax.portlet.PortletPreferences fromDefaultXML(java.lang.String xml)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

fromXML

public static PortletPreferencesImpl fromXML(long companyId,
                                             long ownerId,
                                             int ownerType,
                                             long plid,
                                             java.lang.String portletId,
                                             java.lang.String xml)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

toXML

public static java.lang.String toXML(PortletPreferencesImpl prefs)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException