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<BlogsStatsUser> findAll()
           
 java.util.List<BlogsStatsUser> findAll(int start, int end)
           
 java.util.List<BlogsStatsUser> findAll(int start, 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<BlogsStatsUser> findByC_E(long companyId, int entryCount)
           
 java.util.List<BlogsStatsUser> findByC_E(long companyId, int entryCount, int start, int end)
           
 java.util.List<BlogsStatsUser> findByC_E(long companyId, int entryCount, int start, 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<BlogsStatsUser> findByG_E(long groupId, int entryCount)
           
 java.util.List<BlogsStatsUser> findByG_E(long groupId, int entryCount, int start, int end)
           
 java.util.List<BlogsStatsUser> findByG_E(long groupId, int entryCount, int start, 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<BlogsStatsUser> findByGroupId(long groupId)
           
 java.util.List<BlogsStatsUser> findByGroupId(long groupId, int start, int end)
           
 java.util.List<BlogsStatsUser> findByGroupId(long groupId, int start, 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<BlogsStatsUser> findByUserId(long userId)
           
 java.util.List<BlogsStatsUser> findByUserId(long userId, int start, int end)
           
 java.util.List<BlogsStatsUser> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 void registerListener(ModelListener listener)
           
 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)
           
 void unregisterListener(ModelListener listener)
           
 BlogsStatsUser update(BlogsStatsUser blogsStatsUser)
          Deprecated. Use update(BlogsStatsUser blogsStatsUser, boolean merge).
 BlogsStatsUser update(BlogsStatsUser blogsStatsUser, boolean merge)
          Add, update, or merge, the entity.
 BlogsStatsUser updateImpl(BlogsStatsUser blogsStatsUser, boolean merge)
           
 

Method Detail

create

BlogsStatsUser create(long statsUserId)

remove

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

remove

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

update

BlogsStatsUser update(BlogsStatsUser blogsStatsUser)
                      throws com.liferay.portal.SystemException
Deprecated. Use update(BlogsStatsUser blogsStatsUser, boolean merge).

Throws:
com.liferay.portal.SystemException

update

BlogsStatsUser update(BlogsStatsUser blogsStatsUser,
                      boolean merge)
                      throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
blogsStatsUser - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when blogsStatsUser is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

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

findByGroupId

java.util.List<BlogsStatsUser> findByGroupId(long groupId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<BlogsStatsUser> findByGroupId(long groupId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

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

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

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

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

findByUserId

java.util.List<BlogsStatsUser> findByUserId(long userId,
                                            int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<BlogsStatsUser> findByUserId(long userId,
                                            int start,
                                            int end,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

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

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

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

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

fetchByG_U

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

findByG_E

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

findByG_E

java.util.List<BlogsStatsUser> findByG_E(long groupId,
                                         int entryCount,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_E

java.util.List<BlogsStatsUser> findByG_E(long groupId,
                                         int entryCount,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_E_First

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

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

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

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

findByC_E

java.util.List<BlogsStatsUser> findByC_E(long companyId,
                                         int entryCount,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_E

java.util.List<BlogsStatsUser> findByC_E(long companyId,
                                         int entryCount,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_E_First

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

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

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

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BlogsStatsUser> findAll()
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BlogsStatsUser> findAll(int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<BlogsStatsUser> findAll(int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByUserId

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

removeByG_U

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

removeByG_E

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

removeByC_E

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

removeAll

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

countByGroupId

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

countByUserId

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

countByG_U

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

countByG_E

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

countByC_E

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

countAll

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

registerListener

void registerListener(ModelListener listener)

unregisterListener

void unregisterListener(ModelListener listener)