com.liferay.portlet.shopping.service.persistence
Class ShoppingItemUtil
java.lang.Object
com.liferay.portlet.shopping.service.persistence.ShoppingItemUtil
public class ShoppingItemUtil
- 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:
ShoppingItemPersistence
,
ShoppingItemPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<ShoppingItem> shoppingItems)
|
static void |
cacheResult(ShoppingItem shoppingItem)
|
static void |
clearCache()
|
static boolean |
containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
|
static boolean |
containsShoppingItemPrices(long pk)
|
static int |
countAll()
|
static int |
countByC_S(long companyId,
java.lang.String sku)
|
static int |
countByG_C(long groupId,
long categoryId)
|
static int |
countByLargeImageId(long largeImageId)
|
static int |
countByMediumImageId(long mediumImageId)
|
static int |
countBySmallImageId(long smallImageId)
|
static ShoppingItem |
create(long itemId)
|
static ShoppingItem |
fetchByC_S(long companyId,
java.lang.String sku)
|
static ShoppingItem |
fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
|
static ShoppingItem |
fetchByLargeImageId(long largeImageId)
|
static ShoppingItem |
fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
|
static ShoppingItem |
fetchByMediumImageId(long mediumImageId)
|
static ShoppingItem |
fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
|
static ShoppingItem |
fetchByPrimaryKey(long itemId)
|
static ShoppingItem |
fetchBySmallImageId(long smallImageId)
|
static ShoppingItem |
fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
|
static java.util.List<ShoppingItem> |
findAll()
|
static java.util.List<ShoppingItem> |
findAll(int start,
int end)
|
static java.util.List<ShoppingItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingItem |
findByC_S(long companyId,
java.lang.String sku)
|
static ShoppingItem |
findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingItem |
findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingItem[] |
findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<ShoppingItem> |
findByG_C(long groupId,
long categoryId)
|
static java.util.List<ShoppingItem> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
|
static java.util.List<ShoppingItem> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ShoppingItem |
findByLargeImageId(long largeImageId)
|
static ShoppingItem |
findByMediumImageId(long mediumImageId)
|
static ShoppingItem |
findByPrimaryKey(long itemId)
|
static ShoppingItem |
findBySmallImageId(long smallImageId)
|
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 ShoppingItemPersistence |
getPersistence()
|
static java.util.List<ShoppingItemPrice> |
getShoppingItemPrices(long pk)
|
static java.util.List<ShoppingItemPrice> |
getShoppingItemPrices(long pk,
int start,
int end)
|
static java.util.List<ShoppingItemPrice> |
getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getShoppingItemPricesSize(long pk)
|
static ShoppingItem |
remove(long itemId)
|
static ShoppingItem |
remove(ShoppingItem shoppingItem)
|
static void |
removeAll()
|
static void |
removeByC_S(long companyId,
java.lang.String sku)
|
static void |
removeByG_C(long groupId,
long categoryId)
|
static void |
removeByLargeImageId(long largeImageId)
|
static void |
removeByMediumImageId(long mediumImageId)
|
static void |
removeBySmallImageId(long smallImageId)
|
void |
setPersistence(ShoppingItemPersistence persistence)
|
static ShoppingItem |
update(ShoppingItem shoppingItem,
boolean merge)
|
static ShoppingItem |
updateImpl(ShoppingItem shoppingItem,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingItemUtil
public ShoppingItemUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static ShoppingItem remove(ShoppingItem shoppingItem)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static ShoppingItem update(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(ShoppingItem shoppingItem)
cacheResult
public static void cacheResult(java.util.List<ShoppingItem> shoppingItems)
create
public static ShoppingItem create(long itemId)
remove
public static ShoppingItem remove(long itemId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
updateImpl
public static ShoppingItem updateImpl(ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByPrimaryKey
public static ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findBySmallImageId
public static ShoppingItem findBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchBySmallImageId
public static ShoppingItem fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchBySmallImageId
public static ShoppingItem fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByMediumImageId
public static ShoppingItem findByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByMediumImageId
public static ShoppingItem fetchByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByMediumImageId
public static ShoppingItem fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByLargeImageId
public static ShoppingItem findByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByLargeImageId
public static ShoppingItem fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByLargeImageId
public static ShoppingItem fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
public static java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
public static java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C
public static java.util.List<ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_C_First
public static ShoppingItem findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByG_C_Last
public static ShoppingItem findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByG_C_PrevAndNext
public static ShoppingItem[] findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
findByC_S
public static ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
fetchByC_S
public static ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByC_S
public static ShoppingItem fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ShoppingItem> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ShoppingItem> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<ShoppingItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeBySmallImageId
public static void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByMediumImageId
public static void removeByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByLargeImageId
public static void removeByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeByG_C
public static void removeByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByC_S
public static void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchItemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countBySmallImageId
public static int countBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByMediumImageId
public static int countByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByLargeImageId
public static int countByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_C
public static int countByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByC_S
public static int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
public static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
public static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices
public static java.util.List<ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingItemPricesSize
public static int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsShoppingItemPrice
public static boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsShoppingItemPrices
public static boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static ShoppingItemPersistence getPersistence()
setPersistence
public void setPersistence(ShoppingItemPersistence persistence)