com.liferay.portlet.blogs.service.persistence
Class BlogsStatsUserUtil

java.lang.Object
  extended by com.liferay.portlet.blogs.service.persistence.BlogsStatsUserUtil

public class BlogsStatsUserUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BlogsStatsUserUtil()
           
 
Method Summary
static int countAll()
           
static int countByC_E(long companyId, int entryCount)
           
static int countByG_E(long groupId, int entryCount)
           
static int countByG_U(long groupId, long userId)
           
static int countByGroupId(long groupId)
           
static int countByUserId(long userId)
           
static BlogsStatsUser create(long statsUserId)
           
static BlogsStatsUser fetchByG_U(long groupId, long userId)
           
static BlogsStatsUser fetchByPrimaryKey(long statsUserId)
           
static java.util.List<BlogsStatsUser> findAll()
           
static java.util.List<BlogsStatsUser> findAll(int start, int end)
           
static java.util.List<BlogsStatsUser> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByC_E_First(long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByC_E_Last(long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser[] findByC_E_PrevAndNext(long statsUserId, long companyId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<BlogsStatsUser> findByC_E(long companyId, int entryCount)
           
static java.util.List<BlogsStatsUser> findByC_E(long companyId, int entryCount, int start, int end)
           
static java.util.List<BlogsStatsUser> findByC_E(long companyId, int entryCount, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByG_E_First(long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByG_E_Last(long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser[] findByG_E_PrevAndNext(long statsUserId, long groupId, int entryCount, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<BlogsStatsUser> findByG_E(long groupId, int entryCount)
           
static java.util.List<BlogsStatsUser> findByG_E(long groupId, int entryCount, int start, int end)
           
static java.util.List<BlogsStatsUser> findByG_E(long groupId, int entryCount, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByG_U(long groupId, long userId)
           
static BlogsStatsUser findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser[] findByGroupId_PrevAndNext(long statsUserId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<BlogsStatsUser> findByGroupId(long groupId)
           
static java.util.List<BlogsStatsUser> findByGroupId(long groupId, int start, int end)
           
static java.util.List<BlogsStatsUser> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByPrimaryKey(long statsUserId)
           
static BlogsStatsUser findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static BlogsStatsUser[] findByUserId_PrevAndNext(long statsUserId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<BlogsStatsUser> findByUserId(long userId)
           
static java.util.List<BlogsStatsUser> findByUserId(long userId, int start, int end)
           
static java.util.List<BlogsStatsUser> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static BlogsStatsUserPersistence getPersistence()
           
static BlogsStatsUser remove(BlogsStatsUser blogsStatsUser)
           
static BlogsStatsUser remove(long statsUserId)
           
static void removeAll()
           
static void removeByC_E(long companyId, int entryCount)
           
static void removeByG_E(long groupId, int entryCount)
           
static void removeByG_U(long groupId, long userId)
           
static void removeByGroupId(long groupId)
           
static void removeByUserId(long userId)
           
 void setPersistence(BlogsStatsUserPersistence persistence)
           
static BlogsStatsUser update(BlogsStatsUser blogsStatsUser)
          Deprecated. Use update(BlogsStatsUser blogsStatsUser, boolean merge).
static BlogsStatsUser update(BlogsStatsUser blogsStatsUser, boolean merge)
          Add, update, or merge, the entity.
static BlogsStatsUser updateImpl(BlogsStatsUser blogsStatsUser, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsStatsUserUtil

public BlogsStatsUserUtil()
Method Detail

create

public static BlogsStatsUser create(long statsUserId)

remove

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

remove

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

update

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

Throws:
com.liferay.portal.SystemException

update

public static 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

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

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

findByGroupId

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

findByGroupId

public static 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

public static 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 static 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 static 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 static java.util.List<BlogsStatsUser> findByUserId(long userId)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

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

findByUserId

public static 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

public static 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 static 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 static 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 static BlogsStatsUser findByG_U(long groupId,
                                       long userId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchStatsUserException
Throws:
com.liferay.portal.SystemException
NoSuchStatsUserException

fetchByG_U

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

findByG_E

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

findByG_E

public static 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

public static 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

public static 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 static 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 static 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 static java.util.List<BlogsStatsUser> findByC_E(long companyId,
                                                       int entryCount)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_E

public static 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

public static 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

public static 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 static 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 static 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 static 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

public static 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

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

findAll

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

findAll

public static 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

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

removeByUserId

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

removeByG_U

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

removeByG_E

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

removeByC_E

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

removeAll

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

countByGroupId

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

countByUserId

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

countByG_U

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

countByG_E

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

countByC_E

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

countAll

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

getPersistence

public static BlogsStatsUserPersistence getPersistence()

setPersistence

public void setPersistence(BlogsStatsUserPersistence persistence)