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:
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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 javax.portlet.PortletPreferences getDefaultPreferences(long companyId, java.lang.String portletId)
           
 java.util.List<PortletPreferences> getPortletPreferences()
           
 PortletPreferences getPortletPreferences(long portletPreferencesId)
           
 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)
           
 java.util.List<PortletPreferences> getPortletPreferencesByPlid(long plid)
           
 java.util.List<PortletPreferences> getPortletPreferenceses(int start, int end)
           
 int getPortletPreferencesesCount()
           
 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
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

PortletPreferences getPortletPreferences(long portletPreferencesId)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletPreferenceses

java.util.List<PortletPreferences> getPortletPreferenceses(int start,
                                                           int end)
                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferencesesCount

int getPortletPreferencesesCount()
                                 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
Throws:
com.liferay.portal.SystemException

deletePortletPreferences

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

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

java.util.List<PortletPreferences> getPortletPreferences()
                                                         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
Throws:
com.liferay.portal.SystemException

getPortletPreferences

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

getPortletPreferencesByPlid

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

getPreferences

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

getPreferences

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

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

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