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
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
- Generated:
Method Summary |
static PortletPreferences |
addPortletPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
Portlet portlet,
java.lang.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,
java.lang.String portletId)
|
static void |
deletePortletPreferences(PortletPreferences portletPreferences)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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 |
updatePortletPreferences(PortletPreferences portletPreferences,
boolean merge)
|
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 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 java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.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 java.util.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,
java.lang.String portletId,
Portlet portlet,
java.lang.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,
java.lang.String portletId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getDefaultPreferences
public static javax.portlet.PortletPreferences getDefaultPreferences(long companyId,
java.lang.String portletId)
throws SystemException
- Throws:
SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences()
throws SystemException
- Throws:
SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences(long plid,
java.lang.String portletId)
throws SystemException
- Throws:
SystemException
getPortletPreferences
public static java.util.List<PortletPreferences> getPortletPreferences(long ownerId,
int ownerType,
long plid)
throws SystemException
- Throws:
SystemException
getPortletPreferences
public static PortletPreferences getPortletPreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletPreferencesByPlid
public static java.util.List<PortletPreferences> getPortletPreferencesByPlid(long plid)
throws SystemException
- Throws:
SystemException
getPreferences
public static javax.portlet.PortletPreferences getPreferences(PortletPreferencesIds portletPreferencesIds)
throws SystemException
- Throws:
SystemException
getPreferences
public static javax.portlet.PortletPreferences getPreferences(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws SystemException
- Throws:
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 SystemException
- Throws:
SystemException
updatePreferences
public static PortletPreferences updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
javax.portlet.PortletPreferences preferences)
throws SystemException
- Throws:
SystemException
updatePreferences
public static PortletPreferences updatePreferences(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.lang.String xml)
throws SystemException
- Throws:
SystemException
getService
public static PortletPreferencesLocalService getService()
setService
public void setService(PortletPreferencesLocalService service)