com.liferay.portal.service
Interface PortletPreferencesLocalService


public interface PortletPreferencesLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portal.service.impl.PortletPreferencesLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.PortletPreferencesServiceFactory, com.liferay.portal.service.PortletPreferencesServiceUtil

Method Summary
 PortletPreferences addPortletPreferences(PortletPreferences model)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid)
           
 void deletePortletPreferences(long ownerId, int ownerType, long plid, java.lang.String portletId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 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)
           
 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(PortletPreferencesIds portletPreferencesIds)
           
 PortletPreferences updatePortletPreferences(PortletPreferences model)
           
 PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, java.lang.String portletId, javax.portlet.PortletPreferences prefs)
           
 

Method Detail

addPortletPreferences

public PortletPreferences addPortletPreferences(PortletPreferences model)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePortletPreferences

public PortletPreferences updatePortletPreferences(PortletPreferences model)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePortletPreferences

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

deletePortletPreferences

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

getDefaultPreferences

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

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.SystemException,
                                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletPreferences

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

getPreferences

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

getPreferences

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

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.SystemException,
                                                       com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updatePreferences

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