com.liferay.portlet.ratings.service.persistence
Interface RatingsStatsPersistence

All Known Implementing Classes:
RatingsStatsPersistenceImpl

public interface RatingsStatsPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.ratings.model.RatingsStats create(long statsId)
           
 com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(long statsId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.ratings.model.RatingsStats findByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(long statsId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
           
 com.liferay.portlet.ratings.model.RatingsStats remove(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
           
 com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.ratings.model.RatingsStats create(long statsId)

remove

public com.liferay.portlet.ratings.model.RatingsStats remove(long statsId)
                                                      throws com.liferay.portal.SystemException,
                                                             com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

remove

public com.liferay.portlet.ratings.model.RatingsStats remove(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.ratings.model.RatingsStats update(com.liferay.portlet.ratings.model.RatingsStats ratingsStats,
                                                             boolean merge)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.ratings.model.RatingsStats findByPrimaryKey(long statsId)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

fetchByPrimaryKey

public com.liferay.portlet.ratings.model.RatingsStats fetchByPrimaryKey(long statsId)
                                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C

public com.liferay.portlet.ratings.model.RatingsStats findByC_C(long classNameId,
                                                                long classPK)
                                                         throws com.liferay.portal.SystemException,
                                                                com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

fetchByC_C

public com.liferay.portlet.ratings.model.RatingsStats fetchByC_C(long classNameId,
                                                                 long classPK)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portlet.ratings.NoSuchStatsException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.ratings.NoSuchStatsException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException