|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>
com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceImpl
public class ShoppingItemPersistenceImpl
The persistence implementation for the shopping item service.
Caching information and settings can be found in portal.properties
ShoppingItemPersistence,
ShoppingItemUtil| Nested Class Summary | |
|---|---|
protected class |
ShoppingItemPersistenceImpl.ContainsShoppingItemPrice
|
| Field Summary | |
|---|---|
protected ShoppingItemPersistenceImpl.ContainsShoppingItemPrice |
containsShoppingItemPrice
|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_CONTAINS_SHOPPINGITEMPRICE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_S
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LARGEIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_MEDIUMIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_SMALLIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_S
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_LARGEIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_MEDIUMIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_SMALLIMAGEID
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SHOPPINGITEMPRICES
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_GET_SHOPPINGITEMPRICES_SIZE
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
|
protected com.liferay.portal.service.persistence.ImagePersistence |
imagePersistence
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence |
shoppingCartPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence |
shoppingCategoryPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence |
shoppingCouponPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence |
shoppingItemFieldPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence |
shoppingItemPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence |
shoppingItemPricePersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence |
shoppingOrderItemPersistence
|
protected com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence |
shoppingOrderPersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
ShoppingItemPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the shopping item persistence. |
void |
cacheResult(java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> shoppingItems)
Caches the shopping items in the entity cache if it is enabled. |
void |
cacheResult(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
Caches the shopping item in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all shopping items. |
void |
clearCache(java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> shoppingItems)
|
void |
clearCache(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
Clears the cache for the shopping item. |
protected void |
clearUniqueFindersCache(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
|
boolean |
containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
Returns true if the shopping item price is associated with the shopping item. |
boolean |
containsShoppingItemPrices(long pk)
Returns true if the shopping item has any shopping item prices associated with it. |
int |
countAll()
Returns the number of shopping items. |
int |
countByC_S(long companyId,
java.lang.String sku)
Returns the number of shopping items where companyId = ? and sku = ?. |
int |
countByG_C(long groupId,
long categoryId)
Returns the number of shopping items where groupId = ? and categoryId = ?. |
int |
countByLargeImageId(long largeImageId)
Returns the number of shopping items where largeImageId = ?. |
int |
countByMediumImageId(long mediumImageId)
Returns the number of shopping items where mediumImageId = ?. |
int |
countBySmallImageId(long smallImageId)
Returns the number of shopping items where smallImageId = ?. |
com.liferay.portlet.shopping.model.ShoppingItem |
create(long itemId)
Creates a new shopping item with the primary key. |
void |
destroy()
|
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByC_S(long companyId,
java.lang.String sku)
Returns the shopping item where companyId = ? and sku = ? or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
Returns the shopping item where companyId = ? and sku = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByLargeImageId(long largeImageId)
Returns the shopping item where largeImageId = ? or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
Returns the shopping item where largeImageId = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByMediumImageId(long mediumImageId)
Returns the shopping item where mediumImageId = ? or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
Returns the shopping item where mediumImageId = ? or returns null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByPrimaryKey(long itemId)
Returns the shopping item with the primary key or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the shopping item with the primary key or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchBySmallImageId(long smallImageId)
Returns the shopping item where smallImageId = ? or returns null if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
Returns the shopping item where smallImageId = ? or returns null if it could not be found, optionally using the finder cache. |
int |
filterCountByG_C(long groupId,
long categoryId)
Returns the number of shopping items that the user has permission to view where groupId = ? and categoryId = ?. |
com.liferay.portlet.shopping.model.ShoppingItem[] |
filterFindByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the shopping items before and after the current shopping item in the ordered set of shopping items that the user has permission to view where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
filterFindByG_C(long groupId,
long categoryId)
Returns all the shopping items that the user has permission to view where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the shopping items that the user has permission to view where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the shopping items that the user has permissions to view where groupId = ? and categoryId = ?. |
protected com.liferay.portlet.shopping.model.ShoppingItem |
filterGetByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findAll()
Returns all the shopping items. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findAll(int start,
int end)
Returns a range of all the shopping items. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the shopping items. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByC_S(long companyId,
java.lang.String sku)
Returns the shopping item where companyId = ? and sku = ? or throws a NoSuchItemException if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first shopping item in the ordered set where groupId = ? and categoryId = ?. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last shopping item in the ordered set where groupId = ? and categoryId = ?. |
com.liferay.portlet.shopping.model.ShoppingItem[] |
findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the shopping items before and after the current shopping item in the ordered set where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findByG_C(long groupId,
long categoryId)
Returns all the shopping items where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findByG_C(long groupId,
long categoryId,
int start,
int end)
Returns a range of all the shopping items where groupId = ? and categoryId = ?. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> |
findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the shopping items where groupId = ? and categoryId = ?. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByLargeImageId(long largeImageId)
Returns the shopping item where largeImageId = ? or throws a NoSuchItemException if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByMediumImageId(long mediumImageId)
Returns the shopping item where mediumImageId = ? or throws a NoSuchItemException if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByPrimaryKey(long itemId)
Returns the shopping item with the primary key or throws a NoSuchItemException if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the shopping item with the primary key or throws a NoSuchModelException if it could not be found. |
com.liferay.portlet.shopping.model.ShoppingItem |
findBySmallImageId(long smallImageId)
Returns the shopping item where smallImageId = ? or throws a NoSuchItemException if it could not be found. |
protected com.liferay.portlet.shopping.model.ShoppingItem |
getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> |
getShoppingItemPrices(long pk)
Returns all the shopping item prices associated with the shopping item. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> |
getShoppingItemPrices(long pk,
int start,
int end)
Returns a range of all the shopping item prices associated with the shopping item. |
java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> |
getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the shopping item prices associated with the shopping item. |
int |
getShoppingItemPricesSize(long pk)
Returns the number of shopping item prices associated with the shopping item. |
com.liferay.portlet.shopping.model.ShoppingItem |
remove(long itemId)
Removes the shopping item with the primary key from the database. |
com.liferay.portlet.shopping.model.ShoppingItem |
remove(java.io.Serializable primaryKey)
Removes the shopping item with the primary key from the database. |
void |
removeAll()
Removes all the shopping items from the database. |
void |
removeByC_S(long companyId,
java.lang.String sku)
Removes the shopping item where companyId = ? and sku = ? from the database. |
void |
removeByG_C(long groupId,
long categoryId)
Removes all the shopping items where groupId = ? and categoryId = ? from the database. |
void |
removeByLargeImageId(long largeImageId)
Removes the shopping item where largeImageId = ? from the database. |
void |
removeByMediumImageId(long mediumImageId)
Removes the shopping item where mediumImageId = ? from the database. |
void |
removeBySmallImageId(long smallImageId)
Removes the shopping item where smallImageId = ? from the database. |
protected com.liferay.portlet.shopping.model.ShoppingItem |
removeImpl(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
|
protected com.liferay.portlet.shopping.model.ShoppingItem |
toUnwrappedModel(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
|
com.liferay.portlet.shopping.model.ShoppingItem |
updateImpl(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_SMALLIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_MEDIUMIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_MEDIUMIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_LARGEIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LARGEIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SHOPPINGITEMPRICES_SIZE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SHOPPINGITEMPRICE
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistence shoppingCartPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingCategoryPersistence shoppingCategoryPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingCouponPersistence shoppingCouponPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistence shoppingItemPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingItemFieldPersistence shoppingItemFieldPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingItemPricePersistence shoppingItemPricePersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistence shoppingOrderPersistence
@BeanReference(type=com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence.class) protected com.liferay.portlet.shopping.service.persistence.ShoppingOrderItemPersistence shoppingOrderItemPersistence
@BeanReference(type=com.liferay.portal.service.persistence.ImagePersistence.class) protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
protected ShoppingItemPersistenceImpl.ContainsShoppingItemPrice containsShoppingItemPrice
| Constructor Detail |
|---|
public ShoppingItemPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
cacheResult in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceshoppingItem - the shopping itempublic void cacheResult(java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> shoppingItems)
cacheResult in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceshoppingItems - the shopping itemspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>public void clearCache(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>public void clearCache(java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> shoppingItems)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>protected void clearUniqueFindersCache(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
public com.liferay.portlet.shopping.model.ShoppingItem create(long itemId)
create in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key for the new shopping item
public com.liferay.portlet.shopping.model.ShoppingItem remove(long itemId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key of the shopping item
com.liferay.portlet.shopping.NoSuchItemException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>primaryKey - the primary key of the shopping item
com.liferay.portlet.shopping.NoSuchItemException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.shopping.model.ShoppingItem removeImpl(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>com.liferay.portal.kernel.exception.SystemException
public com.liferay.portlet.shopping.model.ShoppingItem updateImpl(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.shopping.model.ShoppingItem toUnwrappedModel(com.liferay.portlet.shopping.model.ShoppingItem shoppingItem)
public com.liferay.portlet.shopping.model.ShoppingItem findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>primaryKey - the primary key of the shopping item
com.liferay.portal.NoSuchModelException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findByPrimaryKey(long itemId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException if it could not be found.
findByPrimaryKey in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key of the shopping item
com.liferay.portlet.shopping.NoSuchItemException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.shopping.model.ShoppingItem>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.shopping.model.ShoppingItem>primaryKey - the primary key of the shopping item
null if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByPrimaryKey(long itemId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.
fetchByPrimaryKey in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key of the shopping item
null if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findBySmallImageId(long smallImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException if it could not be found.
findBySmallImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencesmallImageId - the small image ID
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchBySmallImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencesmallImageId - the small image ID
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchBySmallImageId(long smallImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchBySmallImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencesmallImageId - the small image IDretrieveFromCache - whether to use the finder cache
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findByMediumImageId(long mediumImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException if it could not be found.
findByMediumImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencemediumImageId - the medium image ID
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByMediumImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencemediumImageId - the medium image ID
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByMediumImageId(long mediumImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByMediumImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencemediumImageId - the medium image IDretrieveFromCache - whether to use the finder cache
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findByLargeImageId(long largeImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException if it could not be found.
findByLargeImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencelargeImageId - the large image ID
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByLargeImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencelargeImageId - the large image ID
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByLargeImageId(long largeImageId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByLargeImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencelargeImageId - the large image IDretrieveFromCache - whether to use the finder cache
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findByG_C_First(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_C_First in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem findByG_C_Last(long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_C_Last in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem[] findByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findByG_C_PrevAndNext in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key of the current shopping itemgroupId - the group IDcategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.shopping.NoSuchItemException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.shopping.model.ShoppingItem getByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> filterFindByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> filterFindByG_C(long groupId,
long categoryId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> filterFindByG_C(long groupId,
long categoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
filterFindByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category IDstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem[] filterFindByG_C_PrevAndNext(long itemId,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
filterFindByG_C_PrevAndNext in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistenceitemId - the primary key of the current shopping itemgroupId - the group IDcategoryId - the category IDorderByComparator - the comparator to order the set by (optionally null)
com.liferay.portlet.shopping.NoSuchItemException - if a shopping item with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected com.liferay.portlet.shopping.model.ShoppingItem filterGetByG_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.shopping.model.ShoppingItem shoppingItem,
long groupId,
long categoryId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public com.liferay.portlet.shopping.model.ShoppingItem findByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
NoSuchItemException if it could not be found.
findByC_S in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecompanyId - the company IDsku - the sku
com.liferay.portlet.shopping.NoSuchItemException - if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.
fetchByC_S in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecompanyId - the company IDsku - the sku
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.shopping.model.ShoppingItem fetchByC_S(long companyId,
java.lang.String sku,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.
fetchByC_S in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecompanyId - the company IDsku - the skuretrieveFromCache - whether to use the finder cache
null if a matching shopping item could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencestart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
findAll in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencestart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeBySmallImageId(long smallImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
removeBySmallImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencesmallImageId - the small image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.shopping.NoSuchItemException
public void removeByMediumImageId(long mediumImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
removeByMediumImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencemediumImageId - the medium image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.shopping.NoSuchItemException
public void removeByLargeImageId(long largeImageId)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
removeByLargeImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencelargeImageId - the large image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.shopping.NoSuchItemException
public void removeByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void removeByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portlet.shopping.NoSuchItemException,
com.liferay.portal.kernel.exception.SystemException
removeByC_S in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecompanyId - the company IDsku - the sku
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.shopping.NoSuchItemException
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countBySmallImageId(long smallImageId)
throws com.liferay.portal.kernel.exception.SystemException
countBySmallImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencesmallImageId - the small image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByMediumImageId(long mediumImageId)
throws com.liferay.portal.kernel.exception.SystemException
countByMediumImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencemediumImageId - the medium image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByLargeImageId(long largeImageId)
throws com.liferay.portal.kernel.exception.SystemException
countByLargeImageId in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencelargeImageId - the large image ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int filterCountByG_C(long groupId,
long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByG_C in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencegroupId - the group IDcategoryId - the category ID
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countByC_S(long companyId,
java.lang.String sku)
throws com.liferay.portal.kernel.exception.SystemException
countByC_S in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecompanyId - the company IDsku - the sku
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getShoppingItemPrices in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping item
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getShoppingItemPrices in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping itemstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getShoppingItemPrices(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.
getShoppingItemPrices in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping itemstart - the lower bound of the range of shopping itemsend - the upper bound of the range of shopping items (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public int getShoppingItemPricesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getShoppingItemPricesSize in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping item
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsShoppingItemPrice(long pk,
long shoppingItemPricePK)
throws com.liferay.portal.kernel.exception.SystemException
true if the shopping item price is associated with the shopping item.
containsShoppingItemPrice in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping itemshoppingItemPricePK - the primary key of the shopping item price
true if the shopping item price is associated with the shopping item; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public boolean containsShoppingItemPrices(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the shopping item has any shopping item prices associated with it.
containsShoppingItemPrices in interface com.liferay.portlet.shopping.service.persistence.ShoppingItemPersistencepk - the primary key of the shopping item to check for associations with shopping item prices
true if the shopping item has any shopping item prices associated with it; false otherwise
com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||