com.liferay.portal.service
Class PortletPreferencesLocalServiceUtil
java.lang.Object
com.liferay.portal.service.PortletPreferencesLocalServiceUtil
public class PortletPreferencesLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portal.service.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.
com.liferay.portal.service.PortletPreferencesLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletPreferencesLocalService
,
PortletPreferencesLocalServiceFactory
Method Summary |
static PortletPreferences |
addPortletPreferences(PortletPreferences portletPreferences)
|
static void |
deletePortletPreferences(long portletPreferencesId)
|
static void |
deletePortletPreferences(long ownerId,
int ownerType,
long plid)
|
static void |
deletePortletPreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static void |
deletePortletPreferences(PortletPreferences portletPreferences)
|
static java.util.List<PortletPreferences> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List<PortletPreferences> |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static javax.portlet.PortletPreferences |
getDefaultPreferences(long companyId,
java.lang.String portletId)
|
static java.util.List<PortletPreferences> |
getPortletPreferences()
|
static java.util.List<PortletPreferences> |
getPortletPreferences(long plid)
|
static java.util.List<PortletPreferences> |
getPortletPreferences(long ownerId,
int ownerType,
long plid)
|
static PortletPreferences |
getPortletPreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static java.util.List<PortletPreferences> |
getPortletPreferences(long plid,
java.lang.String portletId)
|
static javax.portlet.PortletPreferences |
getPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static javax.portlet.PortletPreferences |
getPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.lang.String defaultPreferences)
|
static javax.portlet.PortletPreferences |
getPreferences(PortletPreferencesIds portletPreferencesIds)
|
static PortletPreferences |
updatePortletPreferences(PortletPreferences portletPreferences)
|
static PortletPreferences |
updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
javax.portlet.PortletPreferences prefs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletPreferencesLocalServiceUtil
public PortletPreferencesLocalServiceUtil()
addPortletPreferences
public static PortletPreferences addPortletPreferences(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deletePortletPreferences
public static void deletePortletPreferences(long portletPreferencesId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePortletPreferences
public static void deletePortletPreferences(PortletPreferences portletPreferences)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<PortletPreferences> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static PortletPreferences updatePortletPreferences(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deletePortletPreferences
public static void deletePortletPreferences(long ownerId,
int ownerType,
long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deletePortletPreferences
public static 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
public static 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
public static java.util.List<PortletPreferences> getPortletPreferences()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences(long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences(long ownerId,
int ownerType,
long plid)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPortletPreferences
public static 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
getPreferences
public static 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
public static 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
public static 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
public static PortletPreferences updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
javax.portlet.PortletPreferences prefs)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException