com.liferay.portal.service.persistence
Class PortletItemUtil
java.lang.Object
com.liferay.portal.service.persistence.PortletItemUtil
public class PortletItemUtil
- 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:
PortletItemPersistence
,
PortletItemPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<PortletItem> portletItems)
|
static void |
cacheResult(PortletItem portletItem)
|
static void |
clearCache()
|
static void |
clearCache(PortletItem portletItem)
|
static int |
countAll()
|
static int |
countByG_C(long groupId,
long classNameId)
|
static int |
countByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
static int |
countByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static PortletItem |
create(long portletItemId)
|
static PortletItem |
fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
static PortletItem |
fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId,
boolean retrieveFromCache)
|
static PortletItem |
fetchByPrimaryKey(long portletItemId)
|
static java.util.List<PortletItem> |
findAll()
|
static java.util.List<PortletItem> |
findAll(int start,
int end)
|
static java.util.List<PortletItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem |
findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem |
findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem[] |
findByG_C_PrevAndNext(long portletItemId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId)
|
static java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId,
int start,
int end)
|
static java.util.List<PortletItem> |
findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem |
findByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
static PortletItem |
findByG_P_C_First(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem |
findByG_P_C_Last(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem[] |
findByG_P_C_PrevAndNext(long portletItemId,
long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
static java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end)
|
static java.util.List<PortletItem> |
findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static PortletItem |
findByPrimaryKey(long portletItemId)
|
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 PortletItemPersistence |
getPersistence()
|
static PortletItem |
remove(long portletItemId)
|
static PortletItem |
remove(PortletItem portletItem)
|
static void |
removeAll()
|
static void |
removeByG_C(long groupId,
long classNameId)
|
static void |
removeByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
|
static void |
removeByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
|
void |
setPersistence(PortletItemPersistence persistence)
|
static PortletItem |
update(PortletItem portletItem)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static PortletItem |
update(PortletItem portletItem,
boolean merge)
|
static PortletItem |
updateImpl(PortletItem portletItem,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletItemUtil
public PortletItemUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(PortletItem portletItem)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(PortletItem)
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 PortletItem remove(PortletItem portletItem)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static PortletItem update(PortletItem portletItem,
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(PortletItem portletItem)
cacheResult
public static void cacheResult(java.util.List<PortletItem> portletItems)
create
public static PortletItem create(long portletItemId)
remove
public static PortletItem remove(long portletItemId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
update
public static PortletItem update(PortletItem portletItem)
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 PortletItem updateImpl(PortletItem portletItem,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static PortletItem findByPrimaryKey(long portletItemId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static PortletItem fetchByPrimaryKey(long portletItemId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_C
public static java.util.List<PortletItem> findByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_C
public static java.util.List<PortletItem> findByG_C(long groupId,
long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_C
public static java.util.List<PortletItem> findByG_C(long groupId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_C_First
public static PortletItem findByG_C_First(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_C_Last
public static PortletItem findByG_C_Last(long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_C_PrevAndNext
public static PortletItem[] findByG_C_PrevAndNext(long portletItemId,
long groupId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_P_C
public static java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_C
public static java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_C
public static java.util.List<PortletItem> findByG_P_C(long groupId,
java.lang.String portletId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_P_C_First
public static PortletItem findByG_P_C_First(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_P_C_Last
public static PortletItem findByG_P_C_Last(long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_P_C_PrevAndNext
public static PortletItem[] findByG_P_C_PrevAndNext(long portletItemId,
long groupId,
java.lang.String portletId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
findByG_N_P_C
public static PortletItem findByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
fetchByG_N_P_C
public static PortletItem fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByG_N_P_C
public static PortletItem fetchByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletItem> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletItem> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<PortletItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_C
public static void removeByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_P_C
public static void removeByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_N_P_C
public static void removeByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
throws NoSuchPortletItemException,
com.liferay.portal.SystemException
- Throws:
NoSuchPortletItemException
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_C
public static int countByG_C(long groupId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_P_C
public static int countByG_P_C(long groupId,
java.lang.String portletId,
long classNameId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_N_P_C
public static int countByG_N_P_C(long groupId,
java.lang.String name,
java.lang.String portletId,
long classNameId)
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 PortletItemPersistence getPersistence()
setPersistence
public void setPersistence(PortletItemPersistence persistence)