com.liferay.portal.service
Interface PortletPreferencesLocalService

All Known Implementing Classes:
PortletPreferencesLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

Method Summary
 PortletPreferences addPortletPreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, Portlet portlet, java.lang.String defaultPreferences)
           
 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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 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 updatePortletPreferences(PortletPreferences portletPreferences, boolean merge)
           
 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 SystemException
Throws:
SystemException

createPortletPreferences

PortletPreferences createPortletPreferences(long portletPreferencesId)

deletePortletPreferences

void deletePortletPreferences(long portletPreferencesId)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

deletePortletPreferences

void deletePortletPreferences(PortletPreferences portletPreferences)
                              throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getPortletPreferences

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

getPortletPreferenceses

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

getPortletPreferencesesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getPortletPreferencesesCount()
                                 throws SystemException
Throws:
SystemException

updatePortletPreferences

PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences)
                                            throws SystemException
Throws:
SystemException

updatePortletPreferences

PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences,
                                            boolean merge)
                                            throws SystemException
Throws:
SystemException

addPortletPreferences

PortletPreferences addPortletPreferences(long companyId,
                                         long ownerId,
                                         int ownerType,
                                         long plid,
                                         java.lang.String portletId,
                                         Portlet portlet,
                                         java.lang.String defaultPreferences)
                                         throws SystemException
Throws:
SystemException

deletePortletPreferences

void deletePortletPreferences(long ownerId,
                              int ownerType,
                              long plid)
                              throws SystemException
Throws:
SystemException

deletePortletPreferences

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

getDefaultPreferences

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

getPortletPreferences

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

getPortletPreferences

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

getPortletPreferences

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

getPortletPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PortletPreferences getPortletPreferences(long ownerId,
                                                                                  int ownerType,
                                                                                  long plid,
                                                                                  java.lang.String portletId)
                                         throws PortalException,
                                                SystemException
Throws:
PortalException
SystemException

getPortletPreferencesByPlid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletPreferences> getPortletPreferencesByPlid(long plid)
                                                               throws SystemException
Throws:
SystemException

getPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
javax.portlet.PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
                                                throws SystemException
Throws:
SystemException

getPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
javax.portlet.PortletPreferences getPreferences(long companyId,
                                                                                         long ownerId,
                                                                                         int ownerType,
                                                                                         long plid,
                                                                                         java.lang.String portletId)
                                                throws SystemException
Throws:
SystemException

getPreferences

@Transactional(propagation=SUPPORTS,
               readOnly=true)
javax.portlet.PortletPreferences getPreferences(long companyId,
                                                                                         long ownerId,
                                                                                         int ownerType,
                                                                                         long plid,
                                                                                         java.lang.String portletId,
                                                                                         java.lang.String defaultPreferences)
                                                throws SystemException
Throws:
SystemException

updatePreferences

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

updatePreferences

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