com.liferay.portal.service.impl
Class PortletPreferencesLocalServiceImpl

java.lang.Object
  extended bycom.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
      extended bycom.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.service.PortletPreferencesLocalService

public class PortletPreferencesLocalServiceImpl
extends PortletPreferencesLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
PortletPreferencesLocalServiceImpl()
           
 
Method Summary
 void deletePortletPreferences(long ownerId, int ownerType, long plid)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
protected  java.lang.String encodeKey(long plid, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getDefaultPreferences(long companyId, java.lang.String portletId)
           
 java.util.List getPortletPreferences()
           
 java.util.List getPortletPreferences(long plid)
           
 java.util.List getPortletPreferences(long ownerId, int ownerType, long plid)
           
 com.liferay.portal.model.PortletPreferences getPortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 javax.portlet.PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String defaultPreferences)
           
 javax.portlet.PortletPreferences getPreferences(com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
           
 com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, java.lang.String portletId, javax.portlet.PortletPreferences prefs)
           
 
Methods inherited from class com.liferay.portal.service.base.PortletPreferencesLocalServiceBaseImpl
addPortletPreferences, dynamicQuery, dynamicQuery, updatePortletPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesLocalServiceImpl

public PortletPreferencesLocalServiceImpl()
Method Detail

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deletePortletPreferences

public void deletePortletPreferences(long ownerId,
                                     int ownerType,
                                     long plid,
                                     java.lang.String portletId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultPreferences

public javax.portlet.PortletPreferences getDefaultPreferences(long companyId,
                                                              java.lang.String portletId)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List getPortletPreferences()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List getPortletPreferences(long plid)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

public java.util.List getPortletPreferences(long ownerId,
                                            int ownerType,
                                            long plid)
                                     throws com.liferay.portal.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletPreferences

public com.liferay.portal.model.PortletPreferences getPortletPreferences(long ownerId,
                                                                         int ownerType,
                                                                         long plid,
                                                                         java.lang.String portletId)
                                                                  throws com.liferay.portal.PortalException,
                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(com.liferay.portal.model.PortletPreferencesIds portletPreferencesIds)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(long companyId,
                                                       long ownerId,
                                                       int ownerType,
                                                       long plid,
                                                       java.lang.String portletId)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPreferences

public javax.portlet.PortletPreferences getPreferences(long companyId,
                                                       long ownerId,
                                                       int ownerType,
                                                       long plid,
                                                       java.lang.String portletId,
                                                       java.lang.String defaultPreferences)
                                                throws com.liferay.portal.PortalException,
                                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updatePreferences

public com.liferay.portal.model.PortletPreferences updatePreferences(long ownerId,
                                                                     int ownerType,
                                                                     long plid,
                                                                     java.lang.String portletId,
                                                                     javax.portlet.PortletPreferences prefs)
                                                              throws com.liferay.portal.PortalException,
                                                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

encodeKey

protected java.lang.String encodeKey(long plid,
                                     java.lang.String portletId)