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
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
PortletPreferencesPersistence
,
PortletPreferencesPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<PortletPreferences> portletPreferenceses)
|
static void |
cacheResult(PortletPreferences portletPreferences)
|
static void |
clearCache()
|
static void |
clearCache(PortletPreferences portletPreferences)
|
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)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static PortletPreferences |
create(long portletPreferencesId)
|
static PortletPreferences |
fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static PortletPreferences |
fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
boolean retrieveFromCache)
|
static PortletPreferences |
fetchByPrimaryKey(long portletPreferencesId)
|
static java.util.List<PortletPreferences> |
findAll()
|
static java.util.List<PortletPreferences> |
findAll(int start,
int end)
|
static java.util.List<PortletPreferences> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByO_O_P_First(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
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 orderByComparator)
|
static java.util.List<PortletPreferences> |
findByO_O_P(long ownerId,
int ownerType,
long plid)
|
static java.util.List<PortletPreferences> |
findByO_O_P(long ownerId,
int ownerType,
long plid,
int start,
int end)
|
static java.util.List<PortletPreferences> |
findByO_O_P(long ownerId,
int ownerType,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByP_P_First(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByP_P_Last(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences[] |
findByP_P_PrevAndNext(long portletPreferencesId,
long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<PortletPreferences> |
findByP_P(long plid,
java.lang.String portletId)
|
static java.util.List<PortletPreferences> |
findByP_P(long plid,
java.lang.String portletId,
int start,
int end)
|
static java.util.List<PortletPreferences> |
findByP_P(long plid,
java.lang.String portletId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences[] |
findByPlid_PrevAndNext(long portletPreferencesId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<PortletPreferences> |
findByPlid(long plid)
|
static java.util.List<PortletPreferences> |
findByPlid(long plid,
int start,
int end)
|
static java.util.List<PortletPreferences> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletPreferences |
findByPrimaryKey(long portletPreferencesId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
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)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
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()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(PortletPreferences portletPreferences)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(PortletPreferences)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static PortletPreferences remove(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static PortletPreferences update(PortletPreferences portletPreferences,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(PortletPreferences portletPreferences)
cacheResult
public static void cacheResult(java.util.List<PortletPreferences> portletPreferenceses)
create
public static PortletPreferences create(long portletPreferencesId)
remove
public static PortletPreferences remove(long portletPreferencesId)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
update
public static PortletPreferences update(PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- 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 NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static PortletPreferences fetchByPrimaryKey(long portletPreferencesId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List<PortletPreferences> findByPlid(long plid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List<PortletPreferences> findByPlid(long plid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPlid
public static java.util.List<PortletPreferences> findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByPlid_Last
public static PortletPreferences findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByPlid_PrevAndNext
public static PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByP_P
public static java.util.List<PortletPreferences> 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<PortletPreferences> findByP_P(long plid,
java.lang.String portletId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_P
public static java.util.List<PortletPreferences> findByP_P(long plid,
java.lang.String portletId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByP_P_Last
public static PortletPreferences findByP_P_Last(long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByP_P_PrevAndNext
public static PortletPreferences[] findByP_P_PrevAndNext(long portletPreferencesId,
long plid,
java.lang.String portletId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByO_O_P
public static java.util.List<PortletPreferences> 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<PortletPreferences> findByO_O_P(long ownerId,
int ownerType,
long plid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByO_O_P
public static java.util.List<PortletPreferences> findByO_O_P(long ownerId,
int ownerType,
long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByO_O_P_Last
public static PortletPreferences findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
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 orderByComparator)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
findByO_O_P_P
public static PortletPreferences findByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
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
fetchByO_O_P_P
public static PortletPreferences fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletPreferences> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletPreferences> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletPreferences> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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 NoSuchPortletPreferencesException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletPreferencesException
com.liferay.portal.SystemException
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)