Liferay 6.0.4

com.liferay.portal.service
Class PortletPreferencesLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.PortletPreferencesLocalServiceUtil

public class PortletPreferencesLocalServiceUtil
extends Object

This class provides static methods for the PortletPreferencesLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

See Also:
PortletPreferencesLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
PortletPreferencesLocalServiceUtil()
           
 
Method Summary
static PortletPreferences addPortletPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, Portlet portlet, String defaultPreferences)
           
static PortletPreferences addPortletPreferences(PortletPreferences portletPreferences)
           
static PortletPreferences createPortletPreferences(long portletPreferencesId)
           
static void deletePortletPreferences(long portletPreferencesId)
           
static void deletePortletPreferences(long ownerId, int ownerType, long plid)
           
static void deletePortletPreferences(long ownerId, int ownerType, long plid, String portletId)
           
static void deletePortletPreferences(PortletPreferences portletPreferences)
           
static List dynamicQuery(DynamicQuery dynamicQuery)
           
static List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static PortletPreferences getDefaultPreferences(long companyId, String portletId)
           
static List<PortletPreferences> getPortletPreferences()
           
static PortletPreferences getPortletPreferences(long portletPreferencesId)
           
static List<PortletPreferences> getPortletPreferences(long ownerId, int ownerType, long plid)
           
static PortletPreferences getPortletPreferences(long ownerId, int ownerType, long plid, String portletId)
           
static List<PortletPreferences> getPortletPreferences(long plid, String portletId)
           
static List<PortletPreferences> getPortletPreferencesByPlid(long plid)
           
static List<PortletPreferences> getPortletPreferenceses(int start, int end)
           
static int getPortletPreferencesesCount()
           
static PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId)
           
static PortletPreferences getPreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, String defaultPreferences)
           
static PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
           
static PortletPreferencesLocalService getService()
           
 void setService(PortletPreferencesLocalService service)
           
static PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences)
           
static PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences, boolean merge)
           
static PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, String portletId, PortletPreferences preferences)
           
static PortletPreferences updatePreferences(long ownerId, int ownerType, long plid, String portletId, String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletPreferencesLocalServiceUtil

public PortletPreferencesLocalServiceUtil()
Method Detail

addPortletPreferences

public static PortletPreferences addPortletPreferences(PortletPreferences portletPreferences)
                                                throws SystemException
Throws:
SystemException

createPortletPreferences

public static PortletPreferences createPortletPreferences(long portletPreferencesId)

deletePortletPreferences

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

deletePortletPreferences

public static void deletePortletPreferences(PortletPreferences portletPreferences)
                                     throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static List dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getPortletPreferences

public static PortletPreferences getPortletPreferences(long portletPreferencesId)
                                                throws PortalException,
                                                       SystemException
Throws:
PortalException
SystemException

getPortletPreferenceses

public static List<PortletPreferences> getPortletPreferenceses(int start,
                                                               int end)
                                                        throws SystemException
Throws:
SystemException

getPortletPreferencesesCount

public static int getPortletPreferencesesCount()
                                        throws SystemException
Throws:
SystemException

updatePortletPreferences

public static PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences)
                                                   throws SystemException
Throws:
SystemException

updatePortletPreferences

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

addPortletPreferences

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

deletePortletPreferences

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

deletePortletPreferences

public static void deletePortletPreferences(long ownerId,
                                            int ownerType,
                                            long plid,
                                            String portletId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getDefaultPreferences

public static PortletPreferences getDefaultPreferences(long companyId,
                                                       String portletId)
                                                throws SystemException
Throws:
SystemException

getPortletPreferences

public static List<PortletPreferences> getPortletPreferences()
                                                      throws SystemException
Throws:
SystemException

getPortletPreferences

public static List<PortletPreferences> getPortletPreferences(long plid,
                                                             String portletId)
                                                      throws SystemException
Throws:
SystemException

getPortletPreferences

public static List<PortletPreferences> getPortletPreferences(long ownerId,
                                                             int ownerType,
                                                             long plid)
                                                      throws SystemException
Throws:
SystemException

getPortletPreferences

public static PortletPreferences getPortletPreferences(long ownerId,
                                                       int ownerType,
                                                       long plid,
                                                       String portletId)
                                                throws PortalException,
                                                       SystemException
Throws:
PortalException
SystemException

getPortletPreferencesByPlid

public static List<PortletPreferences> getPortletPreferencesByPlid(long plid)
                                                            throws SystemException
Throws:
SystemException

getPreferences

public static PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
                                         throws SystemException
Throws:
SystemException

getPreferences

public static PortletPreferences getPreferences(long companyId,
                                                long ownerId,
                                                int ownerType,
                                                long plid,
                                                String portletId)
                                         throws SystemException
Throws:
SystemException

getPreferences

public static PortletPreferences getPreferences(long companyId,
                                                long ownerId,
                                                int ownerType,
                                                long plid,
                                                String portletId,
                                                String defaultPreferences)
                                         throws SystemException
Throws:
SystemException

updatePreferences

public static PortletPreferences updatePreferences(long ownerId,
                                                   int ownerType,
                                                   long plid,
                                                   String portletId,
                                                   PortletPreferences preferences)
                                            throws SystemException
Throws:
SystemException

updatePreferences

public static PortletPreferences updatePreferences(long ownerId,
                                                   int ownerType,
                                                   long plid,
                                                   String portletId,
                                                   String xml)
                                            throws SystemException
Throws:
SystemException

getService

public static PortletPreferencesLocalService getService()

setService

public void setService(PortletPreferencesLocalService service)

Liferay 6.0.4