|
Liferay 6.0.3 | |||||||||
| 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<ShoppingOrder>
com.liferay.portlet.shopping.service.persistence.ShoppingOrderPersistenceImpl
public class ShoppingOrderPersistenceImpl
ShoppingOrderPersistence,
ShoppingOrderUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, 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 | |
|---|---|
ShoppingOrderPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(List<ShoppingOrder> shoppingOrders)
|
void |
cacheResult(ShoppingOrder shoppingOrder)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(ShoppingOrder shoppingOrder)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
|
int |
countByGroupId(long groupId)
|
int |
countByNumber(String number)
|
int |
countByPPTxnId(String ppTxnId)
|
ShoppingOrder |
create(long orderId)
|
ShoppingOrder |
fetchByNumber(String number)
|
ShoppingOrder |
fetchByNumber(String number,
boolean retrieveFromCache)
|
ShoppingOrder |
fetchByPPTxnId(String ppTxnId)
|
ShoppingOrder |
fetchByPPTxnId(String ppTxnId,
boolean retrieveFromCache)
|
ShoppingOrder |
fetchByPrimaryKey(long orderId)
|
ShoppingOrder |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
int |
filterCountByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
|
int |
filterCountByGroupId(long groupId)
|
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
|
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
|
List<ShoppingOrder> |
filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
|
List<ShoppingOrder> |
filterFindByGroupId(long groupId)
|
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end)
|
List<ShoppingOrder> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<ShoppingOrder> |
findAll()
|
List<ShoppingOrder> |
findAll(int start,
int end)
|
List<ShoppingOrder> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
ShoppingOrder |
findByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
|
ShoppingOrder |
findByG_U_PPPS_Last(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
|
ShoppingOrder[] |
findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
|
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
|
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
|
List<ShoppingOrder> |
findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
|
ShoppingOrder |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
ShoppingOrder |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
ShoppingOrder[] |
findByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
|
List<ShoppingOrder> |
findByGroupId(long groupId)
|
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end)
|
List<ShoppingOrder> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
ShoppingOrder |
findByNumber(String number)
|
ShoppingOrder |
findByPPTxnId(String ppTxnId)
|
ShoppingOrder |
findByPrimaryKey(long orderId)
|
ShoppingOrder |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
protected ShoppingOrder |
getByG_U_PPPS_PrevAndNext(Session session,
ShoppingOrder shoppingOrder,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator,
boolean previous)
|
protected ShoppingOrder |
getByGroupId_PrevAndNext(Session session,
ShoppingOrder shoppingOrder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
ShoppingOrder |
remove(long orderId)
|
ShoppingOrder |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
|
void |
removeByGroupId(long groupId)
|
void |
removeByNumber(String number)
|
void |
removeByPPTxnId(String ppTxnId)
|
protected ShoppingOrder |
removeImpl(ShoppingOrder shoppingOrder)
Removes the model instance from the database. |
protected ShoppingOrder |
toUnwrappedModel(ShoppingOrder shoppingOrder)
|
ShoppingOrder |
updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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 |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_NUMBER
public static final FinderPath FINDER_PATH_COUNT_BY_NUMBER
public static final FinderPath FINDER_PATH_FETCH_BY_PPTXNID
public static final FinderPath FINDER_PATH_COUNT_BY_PPTXNID
public static final FinderPath FINDER_PATH_FIND_BY_G_U_PPPS
public static final FinderPath FINDER_PATH_COUNT_BY_G_U_PPPS
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=ShoppingCartPersistence.class) protected ShoppingCartPersistence shoppingCartPersistence
@BeanReference(type=ShoppingCategoryPersistence.class) protected ShoppingCategoryPersistence shoppingCategoryPersistence
@BeanReference(type=ShoppingCouponPersistence.class) protected ShoppingCouponPersistence shoppingCouponPersistence
@BeanReference(type=ShoppingItemPersistence.class) protected ShoppingItemPersistence shoppingItemPersistence
@BeanReference(type=ShoppingItemFieldPersistence.class) protected ShoppingItemFieldPersistence shoppingItemFieldPersistence
@BeanReference(type=ShoppingItemPricePersistence.class) protected ShoppingItemPricePersistence shoppingItemPricePersistence
@BeanReference(type=ShoppingOrderPersistence.class) protected ShoppingOrderPersistence shoppingOrderPersistence
@BeanReference(type=ShoppingOrderItemPersistence.class) protected ShoppingOrderItemPersistence shoppingOrderItemPersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
| Constructor Detail |
|---|
public ShoppingOrderPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(ShoppingOrder shoppingOrder)
cacheResult in interface ShoppingOrderPersistencepublic void cacheResult(List<ShoppingOrder> shoppingOrders)
cacheResult in interface ShoppingOrderPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<ShoppingOrder>clearCache in class BasePersistenceImpl<ShoppingOrder>public void clearCache(ShoppingOrder shoppingOrder)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<ShoppingOrder>clearCache in class BasePersistenceImpl<ShoppingOrder>shoppingOrder - the instance of this model to clear the cache forpublic ShoppingOrder create(long orderId)
create in interface ShoppingOrderPersistence
public ShoppingOrder remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<ShoppingOrder>remove in class BasePersistenceImpl<ShoppingOrder>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public ShoppingOrder remove(long orderId)
throws NoSuchOrderException,
SystemException
remove in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
protected ShoppingOrder removeImpl(ShoppingOrder shoppingOrder)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<ShoppingOrder>shoppingOrder - the model instance to remove
SystemException - if a system exception occurred
public ShoppingOrder updateImpl(ShoppingOrder shoppingOrder,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface ShoppingOrderPersistenceupdateImpl in class BasePersistenceImpl<ShoppingOrder>shoppingOrder - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected ShoppingOrder toUnwrappedModel(ShoppingOrder shoppingOrder)
public ShoppingOrder findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<ShoppingOrder>findByPrimaryKey in class BasePersistenceImpl<ShoppingOrder>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public ShoppingOrder findByPrimaryKey(long orderId)
throws NoSuchOrderException,
SystemException
findByPrimaryKey in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<ShoppingOrder>fetchByPrimaryKey in class BasePersistenceImpl<ShoppingOrder>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public ShoppingOrder fetchByPrimaryKey(long orderId)
throws SystemException
fetchByPrimaryKey in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByGroupId_First in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByGroupId_Last in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder[] findByGroupId_PrevAndNext(long orderId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByGroupId_PrevAndNext in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
protected ShoppingOrder getByGroupId_PrevAndNext(Session session,
ShoppingOrder shoppingOrder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<ShoppingOrder> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
filterFindByGroupId in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
filterFindByGroupId in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder findByNumber(String number)
throws NoSuchOrderException,
SystemException
findByNumber in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder fetchByNumber(String number)
throws SystemException
fetchByNumber in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder fetchByNumber(String number,
boolean retrieveFromCache)
throws SystemException
fetchByNumber in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder findByPPTxnId(String ppTxnId)
throws NoSuchOrderException,
SystemException
findByPPTxnId in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder fetchByPPTxnId(String ppTxnId)
throws SystemException
fetchByPPTxnId in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder fetchByPPTxnId(String ppTxnId,
boolean retrieveFromCache)
throws SystemException
fetchByPPTxnId in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
findByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
throws SystemException
findByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public ShoppingOrder findByG_U_PPPS_First(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByG_U_PPPS_First in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder findByG_U_PPPS_Last(long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByG_U_PPPS_Last in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public ShoppingOrder[] findByG_U_PPPS_PrevAndNext(long orderId,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator)
throws NoSuchOrderException,
SystemException
findByG_U_PPPS_PrevAndNext in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
protected ShoppingOrder getByG_U_PPPS_PrevAndNext(Session session,
ShoppingOrder shoppingOrder,
long groupId,
long userId,
String ppPaymentStatus,
OrderByComparator orderByComparator,
boolean previous)
public List<ShoppingOrder> filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
filterFindByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end)
throws SystemException
filterFindByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> filterFindByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
filterFindByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findAll()
throws SystemException
findAll in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findAll(int start,
int end)
throws SystemException
findAll in interface ShoppingOrderPersistenceSystemException
public List<ShoppingOrder> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface ShoppingOrderPersistenceSystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface ShoppingOrderPersistenceSystemException
public void removeByNumber(String number)
throws NoSuchOrderException,
SystemException
removeByNumber in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public void removeByPPTxnId(String ppTxnId)
throws NoSuchOrderException,
SystemException
removeByPPTxnId in interface ShoppingOrderPersistenceNoSuchOrderException
SystemException
public void removeByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
removeByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public void removeAll()
throws SystemException
removeAll in interface ShoppingOrderPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface ShoppingOrderPersistenceSystemException
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface ShoppingOrderPersistenceSystemException
public int countByNumber(String number)
throws SystemException
countByNumber in interface ShoppingOrderPersistenceSystemException
public int countByPPTxnId(String ppTxnId)
throws SystemException
countByPPTxnId in interface ShoppingOrderPersistenceSystemException
public int countByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
countByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public int filterCountByG_U_PPPS(long groupId,
long userId,
String ppPaymentStatus)
throws SystemException
filterCountByG_U_PPPS in interface ShoppingOrderPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface ShoppingOrderPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||