com.liferay.portal.service.persistence
Class PortletPreferencesUtil
java.lang.Object
com.liferay.portal.service.persistence.PortletPreferencesUtil
- public class PortletPreferencesUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static int |
countByO_O_P(long ownerId,
int ownerType,
long plid)
|
static int |
countByP_P(long plid,
java.lang.String portletId)
|
static int |
countByPlid(long plid)
|
static PortletPreferences |
create(long portletPreferencesId)
|
static PortletPreferences |
fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static PortletPreferences |
fetchByPrimaryKey(long portletPreferencesId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByO_O_P_First(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static PortletPreferences[] |
findByO_O_P_PrevAndNext(long portletPreferencesId,
long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByO_O_P(long ownerId,
int ownerType,
long plid)
|
static java.util.List |
findByO_O_P(long ownerId,
int ownerType,
long plid,
int begin,
int end)
|
static java.util.List |
findByO_O_P(long ownerId,
int ownerType,
long plid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByP_P_First(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByP_P_Last(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences[] |
findByP_P_PrevAndNext(long portletPreferencesId,
long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByP_P(long plid,
java.lang.String portletId)
|
static java.util.List |
findByP_P(long plid,
java.lang.String portletId,
int begin,
int end)
|
static java.util.List |
findByP_P(long plid,
java.lang.String portletId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences[] |
findByPlid_PrevAndNext(long portletPreferencesId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByPlid(long plid)
|
static java.util.List |
findByPlid(long plid,
int begin,
int end)
|
static java.util.List |
findByPlid(long plid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static PortletPreferences |
findByPrimaryKey(long portletPreferencesId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static PortletPreferencesPersistence |
getPersistence()
|
static PortletPreferences |
remove(long portletPreferencesId)
|
static PortletPreferences |
remove(PortletPreferences portletPreferences)
|
static void |
removeAll()
|
static void |
removeByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static void |
removeByO_O_P(long ownerId,
int ownerType,
long plid)
|
static void |
removeByP_P(long plid,
java.lang.String portletId)
|
static void |
removeByPlid(long plid)
|
void |
setPersistence(PortletPreferencesPersistence persistence)
|
static PortletPreferences |
update(PortletPreferences portletPreferences)
|
static PortletPreferences |
update(PortletPreferences portletPreferences,
boolean merge)
|
static PortletPreferences |
updateImpl(PortletPreferences portletPreferences,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletPreferencesUtil
public PortletPreferencesUtil()
create
public static PortletPreferences create(long portletPreferencesId)
remove
public static PortletPreferences remove(long portletPreferencesId)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
remove
public static PortletPreferences remove(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static PortletPreferences update(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static PortletPreferences update(PortletPreferences portletPreferences,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public static PortletPreferences updateImpl(PortletPreferences portletPreferences,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static PortletPreferences findByPrimaryKey(long portletPreferencesId)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
fetchByPrimaryKey
public static PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List findByPlid(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List findByPlid(long plid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List findByPlid(long plid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid_First
public static PortletPreferences findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByPlid_Last
public static PortletPreferences findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByPlid_PrevAndNext
public static PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByP_P
public static java.util.List findByP_P(long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_P
public static java.util.List findByP_P(long plid,
java.lang.String portletId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_P
public static java.util.List findByP_P(long plid,
java.lang.String portletId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_P_First
public static PortletPreferences findByP_P_First(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByP_P_Last
public static PortletPreferences findByP_P_Last(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByP_P_PrevAndNext
public static PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId,
long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByO_O_P
public static java.util.List findByO_O_P(long ownerId,
int ownerType,
long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByO_O_P
public static java.util.List findByO_O_P(long ownerId,
int ownerType,
long plid,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByO_O_P
public static java.util.List findByO_O_P(long ownerId,
int ownerType,
long plid,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByO_O_P_First
public static PortletPreferences findByO_O_P_First(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByO_O_P_Last
public static PortletPreferences findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByO_O_P_PrevAndNext
public static PortletPreferences[] findByO_O_P_PrevAndNext(long portletPreferencesId,
long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
findByO_O_P_P
public static PortletPreferences findByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
fetchByO_O_P_P
public static PortletPreferences fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByPlid
public static void removeByPlid(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByP_P
public static void removeByP_P(long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByO_O_P
public static void removeByO_O_P(long ownerId,
int ownerType,
long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByO_O_P_P
public static void removeByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException,
NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
NoSuchPortletPreferencesException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByPlid
public static int countByPlid(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_P
public static int countByP_P(long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByO_O_P
public static int countByO_O_P(long ownerId,
int ownerType,
long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByO_O_P_P
public static int countByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static PortletPreferencesPersistence getPersistence()
setPersistence
public void setPersistence(PortletPreferencesPersistence persistence)