com.liferay.portlet.shopping.service.persistence
Class ShoppingCouponFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder

public class ShoppingCouponFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String COUNT_BY_G_C_C_A_DT
           
static java.lang.String FIND_BY_G_C_C_A_DT
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
ShoppingCouponFinderImpl()
           
 
Method Summary
 int countByG_C_C_A_DT(long groupId, long companyId, java.lang.String code, boolean active, java.lang.String discountType, boolean andOperator)
           
 java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> findByG_C_C_A_DT(long groupId, long companyId, java.lang.String code, boolean active, java.lang.String discountType, boolean andOperator, int start, int end)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_G_C_C_A_DT

public static java.lang.String COUNT_BY_G_C_C_A_DT

FIND_BY_G_C_C_A_DT

public static java.lang.String FIND_BY_G_C_C_A_DT
Constructor Detail

ShoppingCouponFinderImpl

public ShoppingCouponFinderImpl()
Method Detail

countByG_C_C_A_DT

public int countByG_C_C_A_DT(long groupId,
                             long companyId,
                             java.lang.String code,
                             boolean active,
                             java.lang.String discountType,
                             boolean andOperator)
                      throws com.liferay.portal.SystemException
Specified by:
countByG_C_C_A_DT in interface com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder
Throws:
com.liferay.portal.SystemException

findByG_C_C_A_DT

public java.util.List<com.liferay.portlet.shopping.model.ShoppingCoupon> findByG_C_C_A_DT(long groupId,
                                                                                          long companyId,
                                                                                          java.lang.String code,
                                                                                          boolean active,
                                                                                          java.lang.String discountType,
                                                                                          boolean andOperator,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.SystemException
Specified by:
findByG_C_C_A_DT in interface com.liferay.portlet.shopping.service.persistence.ShoppingCouponFinder
Throws:
com.liferay.portal.SystemException