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:
PortletPreferencesLocalServiceFactory, PortletPreferencesLocalServiceUtil

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

Method Detail

addPortletPreferences

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

deletePortletPreferences

void deletePortletPreferences(long portletPreferencesId)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePortletPreferences

void deletePortletPreferences(PortletPreferences portletPreferences)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

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

dynamicQuery

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

updatePortletPreferences

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

deletePortletPreferences

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

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

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

java.util.List<PortletPreferences> getPortletPreferences()
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

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

getPortletPreferences

java.util.List<PortletPreferences> getPortletPreferences(long plid,
                                                         java.lang.String portletId)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

java.util.List<PortletPreferences> 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

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

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

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

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

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