com.liferay.portal.service
Interface PortletPreferencesLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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)
           
 PortletPreferences createPortletPreferences(long portletPreferencesId)
           
 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 preferences)
           
 PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String xml)
           
 

Method Detail

addPortletPreferences

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

createPortletPreferences

PortletPreferences createPortletPreferences(long portletPreferencesId)

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PortletPreferences getPortletPreferences(long portletPreferencesId)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletPreferenceses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletPreferences> getPortletPreferenceses(int start,
                                                                         int end)
                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferencesesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
javax.portlet.PortletPreferences getDefaultPreferences(long companyId,
                                                                     java.lang.String portletId)
                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletPreferences> getPortletPreferences()
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletPreferences> getPortletPreferences(long plid,
                                                                       java.lang.String portletId)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletPreferences> getPortletPreferences(long ownerId,
                                                                       int ownerType,
                                                                       long plid)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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.SystemException
Throws:
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.SystemException
Throws:
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.SystemException
Throws:
com.liferay.portal.SystemException

updatePreferences

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

updatePreferences

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