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.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletPreferencesLocalService
Method Summary |
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,
java.lang.String portletId)
|
static void |
deletePortletPreferences(PortletPreferences portletPreferences)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static javax.portlet.PortletPreferences |
getDefaultPreferences(long companyId,
java.lang.String portletId)
|
static java.util.List<PortletPreferences> |
getPortletPreferences()
|
static PortletPreferences |
getPortletPreferences(long portletPreferencesId)
|
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 java.util.List<PortletPreferences> |
getPortletPreferencesByPlid(long plid)
|
static java.util.List<PortletPreferences> |
getPortletPreferenceses(int start,
int end)
|
static int |
getPortletPreferencesesCount()
|
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 PortletPreferencesLocalService |
getService()
|
void |
setService(PortletPreferencesLocalService service)
|
static PortletPreferences |
updatePortletPreferences(PortletPreferences portletPreferences)
|
static PortletPreferences |
updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
|
static PortletPreferences |
updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.lang.String xml)
|
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
createPortletPreferences
public static PortletPreferences createPortletPreferences(long portletPreferencesId)
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.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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
public static 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
public static PortletPreferences getPortletPreferences(long portletPreferencesId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getPortletPreferenceses
public static java.util.List<PortletPreferences> getPortletPreferenceses(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPortletPreferencesesCount
public static int getPortletPreferencesesCount()
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.SystemException
- Throws:
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.SystemException
- Throws:
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,
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.SystemException
- Throws:
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
getPortletPreferencesByPlid
public static java.util.List<PortletPreferences> getPortletPreferencesByPlid(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPreferences
public static javax.portlet.PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
throws com.liferay.portal.SystemException
- Throws:
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.SystemException
- Throws:
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.SystemException
- Throws:
com.liferay.portal.SystemException
updatePreferences
public static 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
public static 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
getService
public static PortletPreferencesLocalService getService()
setService
public void setService(PortletPreferencesLocalService service)