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 |
countByPlid(long plid)
|
static com.liferay.portal.model.PortletPreferences |
create(long portletPreferencesId)
|
static com.liferay.portal.model.PortletPreferences |
fetchByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences |
findByO_O_P_First(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.PortletPreferences |
findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.PortletPreferences |
findByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
|
static com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.PortletPreferences |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.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 com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences |
remove(long portletPreferencesId)
|
static com.liferay.portal.model.PortletPreferences |
remove(com.liferay.portal.model.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 |
removeByPlid(long plid)
|
void |
setPersistence(PortletPreferencesPersistence persistence)
|
static com.liferay.portal.model.PortletPreferences |
update(com.liferay.portal.model.PortletPreferences portletPreferences)
|
static com.liferay.portal.model.PortletPreferences |
update(com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences create(long portletPreferencesId)
remove
public static com.liferay.portal.model.PortletPreferences remove(long portletPreferencesId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
remove
public static com.liferay.portal.model.PortletPreferences remove(com.liferay.portal.model.PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.PortletPreferences update(com.liferay.portal.model.PortletPreferences portletPreferences)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.PortletPreferences update(com.liferay.portal.model.PortletPreferences portletPreferences,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portal.model.PortletPreferences findByPrimaryKey(long portletPreferencesId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
fetchByPrimaryKey
public static com.liferay.portal.model.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 com.liferay.portal.model.PortletPreferences findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
findByPlid_Last
public static com.liferay.portal.model.PortletPreferences findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
findByPlid_PrevAndNext
public static com.liferay.portal.model.PortletPreferences[] findByPlid_PrevAndNext(long portletPreferencesId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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 com.liferay.portal.model.PortletPreferences findByO_O_P_First(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
findByO_O_P_Last
public static com.liferay.portal.model.PortletPreferences findByO_O_P_Last(long ownerId,
int ownerType,
long plid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
findByO_O_P_PrevAndNext
public static com.liferay.portal.model.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,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
findByO_O_P_P
public static com.liferay.portal.model.PortletPreferences findByO_O_P_P(long ownerId,
int ownerType,
long plid,
java.lang.String portletId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPortletPreferencesException
fetchByO_O_P_P
public static com.liferay.portal.model.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
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,
com.liferay.portal.NoSuchPortletPreferencesException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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
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)