com.liferay.portlet.blogs.service.persistence
Interface BlogsStatsUserPersistence


public interface BlogsStatsUserPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_E(long companyId, int entryCount)
           
 int countByG_E(long groupId, int entryCount)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByUserId(long userId)
           
 BlogsStatsUser create(long statsUserId)
           
 BlogsStatsUser fetchByG_U(long groupId, long userId)
           
 BlogsStatsUser fetchByPrimaryKey(long statsUserId)
           
 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)
           
 BlogsStatsUser findByC_E_First(long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByC_E_Last(long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser[] findByC_E_PrevAndNext(long statsUserId, long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByC_E(long companyId, int entryCount)
           
 java.util.List findByC_E(long companyId, int entryCount, int begin, int end)
           
 java.util.List findByC_E(long companyId, int entryCount, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByG_E_First(long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByG_E_Last(long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser[] findByG_E_PrevAndNext(long statsUserId, long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_E(long groupId, int entryCount)
           
 java.util.List findByG_E(long groupId, int entryCount, int begin, int end)
           
 java.util.List findByG_E(long groupId, int entryCount, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByG_U(long groupId, long userId)
           
 BlogsStatsUser findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser[] findByGroupId_PrevAndNext(long statsUserId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByPrimaryKey(long statsUserId)
           
 BlogsStatsUser findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsStatsUser[] findByUserId_PrevAndNext(long statsUserId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUserId(long userId)
           
 java.util.List findByUserId(long userId, int begin, int end)
           
 java.util.List findByUserId(long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsStatsUser remove(BlogsStatsUser blogsStatsUser)
           
 BlogsStatsUser remove(long statsUserId)
           
 void removeAll()
           
 void removeByC_E(long companyId, int entryCount)
           
 void removeByG_E(long groupId, int entryCount)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 BlogsStatsUser update(BlogsStatsUser blogsStatsUser)
           
 BlogsStatsUser update(BlogsStatsUser blogsStatsUser, boolean merge)
           
 BlogsStatsUser updateImpl(BlogsStatsUser blogsStatsUser, boolean merge)
           
 

Method Detail

create

public BlogsStatsUser create(long statsUserId)

remove

public BlogsStatsUser remove(long statsUserId)
                      throws com.liferay.portal.SystemException,
                             NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

remove

public BlogsStatsUser remove(BlogsStatsUser blogsStatsUser)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public BlogsStatsUser update(BlogsStatsUser blogsStatsUser)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public BlogsStatsUser update(BlogsStatsUser blogsStatsUser,
                             boolean merge)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public BlogsStatsUser updateImpl(BlogsStatsUser blogsStatsUser,
                                 boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public BlogsStatsUser findByPrimaryKey(long statsUserId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

fetchByPrimaryKey

public BlogsStatsUser fetchByPrimaryKey(long statsUserId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId_First

public BlogsStatsUser findByGroupId_First(long groupId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByGroupId_Last

public BlogsStatsUser findByGroupId_Last(long groupId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByGroupId_PrevAndNext

public BlogsStatsUser[] findByGroupId_PrevAndNext(long statsUserId,
                                                  long groupId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId

public java.util.List findByUserId(long userId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

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

findByUserId

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

findByUserId_First

public BlogsStatsUser findByUserId_First(long userId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId_Last

public BlogsStatsUser findByUserId_Last(long userId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByUserId_PrevAndNext

public BlogsStatsUser[] findByUserId_PrevAndNext(long statsUserId,
                                                 long userId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_U

public BlogsStatsUser findByG_U(long groupId,
                                long userId)
                         throws com.liferay.portal.SystemException,
                                NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

fetchByG_U

public BlogsStatsUser fetchByG_U(long groupId,
                                 long userId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_E

public java.util.List findByG_E(long groupId,
                                int entryCount)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_E

public java.util.List findByG_E(long groupId,
                                int entryCount,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_E

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

findByG_E_First

public BlogsStatsUser findByG_E_First(long groupId,
                                      int entryCount,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_E_Last

public BlogsStatsUser findByG_E_Last(long groupId,
                                     int entryCount,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByG_E_PrevAndNext

public BlogsStatsUser[] findByG_E_PrevAndNext(long statsUserId,
                                              long groupId,
                                              int entryCount,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByC_E

public java.util.List findByC_E(long companyId,
                                int entryCount)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_E

public java.util.List findByC_E(long companyId,
                                int entryCount,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_E

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

findByC_E_First

public BlogsStatsUser findByC_E_First(long companyId,
                                      int entryCount,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByC_E_Last

public BlogsStatsUser findByC_E_Last(long companyId,
                                     int entryCount,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

findByC_E_PrevAndNext

public BlogsStatsUser[] findByC_E_PrevAndNext(long statsUserId,
                                              long companyId,
                                              int entryCount,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

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

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws com.liferay.portal.SystemException,
                        NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

removeByG_E

public void removeByG_E(long groupId,
                        int entryCount)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_E

public void removeByC_E(long companyId,
                        int entryCount)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUserId

public int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_E

public int countByG_E(long groupId,
                      int entryCount)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_E

public int countByC_E(long companyId,
                      int entryCount)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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