All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.blogs.service.persistence.BlogsStatsUserUtil Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.blogs.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.blogs.model.BlogsStatsUser;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;

import java.io.Serializable;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.osgi.framework.Bundle;
import org.osgi.framework.FrameworkUtil;
import org.osgi.util.tracker.ServiceTracker;

/**
 * The persistence utility for the blogs stats user service. This utility wraps com.liferay.blogs.service.persistence.impl.BlogsStatsUserPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see BlogsStatsUserPersistence * @generated */ @ProviderType public class BlogsStatsUserUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache(BlogsStatsUser blogsStatsUser) { getPersistence().clearCache(blogsStatsUser); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#fetchByPrimaryKeys(Set) */ public static Map fetchByPrimaryKeys( Set primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findWithDynamicQuery( dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static BlogsStatsUser update(BlogsStatsUser blogsStatsUser) { return getPersistence().update(blogsStatsUser); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static BlogsStatsUser update( BlogsStatsUser blogsStatsUser, ServiceContext serviceContext) { return getPersistence().update(blogsStatsUser, serviceContext); } /** * Returns all the blogs stats users where groupId = ?. * * @param groupId the group ID * @return the matching blogs stats users */ public static List findByGroupId(long groupId) { return getPersistence().findByGroupId(groupId); } /** * Returns a range of all the blogs stats users where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of matching blogs stats users */ public static List findByGroupId( long groupId, int start, int end) { return getPersistence().findByGroupId(groupId, start, end); } /** * Returns an ordered range of all the blogs stats users where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs stats users */ public static List findByGroupId( long groupId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByGroupId( groupId, start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching blogs stats users */ public static List findByGroupId( long groupId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findByGroupId( groupId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first blogs stats user in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByGroupId_First( long groupId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByGroupId_First(groupId, orderByComparator); } /** * Returns the first blogs stats user in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByGroupId_First( long groupId, OrderByComparator orderByComparator) { return getPersistence().fetchByGroupId_First( groupId, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByGroupId_Last( long groupId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByGroupId_Last(groupId, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByGroupId_Last( long groupId, OrderByComparator orderByComparator) { return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); } /** * Returns the blogs stats users before and after the current blogs stats user in the ordered set where groupId = ?. * * @param statsUserId the primary key of the current blogs stats user * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser[] findByGroupId_PrevAndNext( long statsUserId, long groupId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByGroupId_PrevAndNext( statsUserId, groupId, orderByComparator); } /** * Removes all the blogs stats users where groupId = ? from the database. * * @param groupId the group ID */ public static void removeByGroupId(long groupId) { getPersistence().removeByGroupId(groupId); } /** * Returns the number of blogs stats users where groupId = ?. * * @param groupId the group ID * @return the number of matching blogs stats users */ public static int countByGroupId(long groupId) { return getPersistence().countByGroupId(groupId); } /** * Returns all the blogs stats users where userId = ?. * * @param userId the user ID * @return the matching blogs stats users */ public static List findByUserId(long userId) { return getPersistence().findByUserId(userId); } /** * Returns a range of all the blogs stats users where userId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of matching blogs stats users */ public static List findByUserId( long userId, int start, int end) { return getPersistence().findByUserId(userId, start, end); } /** * Returns an ordered range of all the blogs stats users where userId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs stats users */ public static List findByUserId( long userId, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByUserId( userId, start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users where userId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching blogs stats users */ public static List findByUserId( long userId, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findByUserId( userId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first blogs stats user in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByUserId_First( long userId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByUserId_First(userId, orderByComparator); } /** * Returns the first blogs stats user in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByUserId_First( long userId, OrderByComparator orderByComparator) { return getPersistence().fetchByUserId_First(userId, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByUserId_Last( long userId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByUserId_Last(userId, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where userId = ?. * * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByUserId_Last( long userId, OrderByComparator orderByComparator) { return getPersistence().fetchByUserId_Last(userId, orderByComparator); } /** * Returns the blogs stats users before and after the current blogs stats user in the ordered set where userId = ?. * * @param statsUserId the primary key of the current blogs stats user * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser[] findByUserId_PrevAndNext( long statsUserId, long userId, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByUserId_PrevAndNext( statsUserId, userId, orderByComparator); } /** * Removes all the blogs stats users where userId = ? from the database. * * @param userId the user ID */ public static void removeByUserId(long userId) { getPersistence().removeByUserId(userId); } /** * Returns the number of blogs stats users where userId = ?. * * @param userId the user ID * @return the number of matching blogs stats users */ public static int countByUserId(long userId) { return getPersistence().countByUserId(userId); } /** * Returns the blogs stats user where groupId = ? and userId = ? or throws a NoSuchStatsUserException if it could not be found. * * @param groupId the group ID * @param userId the user ID * @return the matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByG_U(long groupId, long userId) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByG_U(groupId, userId); } /** * Returns the blogs stats user where groupId = ? and userId = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param userId the user ID * @return the matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByG_U(long groupId, long userId) { return getPersistence().fetchByG_U(groupId, userId); } /** * Returns the blogs stats user where groupId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param userId the user ID * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByG_U( long groupId, long userId, boolean retrieveFromCache) { return getPersistence().fetchByG_U(groupId, userId, retrieveFromCache); } /** * Removes the blogs stats user where groupId = ? and userId = ? from the database. * * @param groupId the group ID * @param userId the user ID * @return the blogs stats user that was removed */ public static BlogsStatsUser removeByG_U(long groupId, long userId) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().removeByG_U(groupId, userId); } /** * Returns the number of blogs stats users where groupId = ? and userId = ?. * * @param groupId the group ID * @param userId the user ID * @return the number of matching blogs stats users */ public static int countByG_U(long groupId, long userId) { return getPersistence().countByG_U(groupId, userId); } /** * Returns all the blogs stats users where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @return the matching blogs stats users */ public static List findByG_NotE( long groupId, int entryCount) { return getPersistence().findByG_NotE(groupId, entryCount); } /** * Returns a range of all the blogs stats users where groupId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of matching blogs stats users */ public static List findByG_NotE( long groupId, int entryCount, int start, int end) { return getPersistence().findByG_NotE(groupId, entryCount, start, end); } /** * Returns an ordered range of all the blogs stats users where groupId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs stats users */ public static List findByG_NotE( long groupId, int entryCount, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByG_NotE( groupId, entryCount, start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users where groupId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching blogs stats users */ public static List findByG_NotE( long groupId, int entryCount, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findByG_NotE( groupId, entryCount, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first blogs stats user in the ordered set where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByG_NotE_First( long groupId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByG_NotE_First( groupId, entryCount, orderByComparator); } /** * Returns the first blogs stats user in the ordered set where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByG_NotE_First( long groupId, int entryCount, OrderByComparator orderByComparator) { return getPersistence().fetchByG_NotE_First( groupId, entryCount, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByG_NotE_Last( long groupId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByG_NotE_Last( groupId, entryCount, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByG_NotE_Last( long groupId, int entryCount, OrderByComparator orderByComparator) { return getPersistence().fetchByG_NotE_Last( groupId, entryCount, orderByComparator); } /** * Returns the blogs stats users before and after the current blogs stats user in the ordered set where groupId = ? and entryCount ≠ ?. * * @param statsUserId the primary key of the current blogs stats user * @param groupId the group ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser[] findByG_NotE_PrevAndNext( long statsUserId, long groupId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByG_NotE_PrevAndNext( statsUserId, groupId, entryCount, orderByComparator); } /** * Removes all the blogs stats users where groupId = ? and entryCount ≠ ? from the database. * * @param groupId the group ID * @param entryCount the entry count */ public static void removeByG_NotE(long groupId, int entryCount) { getPersistence().removeByG_NotE(groupId, entryCount); } /** * Returns the number of blogs stats users where groupId = ? and entryCount ≠ ?. * * @param groupId the group ID * @param entryCount the entry count * @return the number of matching blogs stats users */ public static int countByG_NotE(long groupId, int entryCount) { return getPersistence().countByG_NotE(groupId, entryCount); } /** * Returns all the blogs stats users where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @return the matching blogs stats users */ public static List findByC_NotE( long companyId, int entryCount) { return getPersistence().findByC_NotE(companyId, entryCount); } /** * Returns a range of all the blogs stats users where companyId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param companyId the company ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of matching blogs stats users */ public static List findByC_NotE( long companyId, int entryCount, int start, int end) { return getPersistence().findByC_NotE(companyId, entryCount, start, end); } /** * Returns an ordered range of all the blogs stats users where companyId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param companyId the company ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs stats users */ public static List findByC_NotE( long companyId, int entryCount, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByC_NotE( companyId, entryCount, start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users where companyId = ? and entryCount ≠ ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param companyId the company ID * @param entryCount the entry count * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching blogs stats users */ public static List findByC_NotE( long companyId, int entryCount, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findByC_NotE( companyId, entryCount, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first blogs stats user in the ordered set where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByC_NotE_First( long companyId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByC_NotE_First( companyId, entryCount, orderByComparator); } /** * Returns the first blogs stats user in the ordered set where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByC_NotE_First( long companyId, int entryCount, OrderByComparator orderByComparator) { return getPersistence().fetchByC_NotE_First( companyId, entryCount, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByC_NotE_Last( long companyId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByC_NotE_Last( companyId, entryCount, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByC_NotE_Last( long companyId, int entryCount, OrderByComparator orderByComparator) { return getPersistence().fetchByC_NotE_Last( companyId, entryCount, orderByComparator); } /** * Returns the blogs stats users before and after the current blogs stats user in the ordered set where companyId = ? and entryCount ≠ ?. * * @param statsUserId the primary key of the current blogs stats user * @param companyId the company ID * @param entryCount the entry count * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser[] findByC_NotE_PrevAndNext( long statsUserId, long companyId, int entryCount, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByC_NotE_PrevAndNext( statsUserId, companyId, entryCount, orderByComparator); } /** * Removes all the blogs stats users where companyId = ? and entryCount ≠ ? from the database. * * @param companyId the company ID * @param entryCount the entry count */ public static void removeByC_NotE(long companyId, int entryCount) { getPersistence().removeByC_NotE(companyId, entryCount); } /** * Returns the number of blogs stats users where companyId = ? and entryCount ≠ ?. * * @param companyId the company ID * @param entryCount the entry count * @return the number of matching blogs stats users */ public static int countByC_NotE(long companyId, int entryCount) { return getPersistence().countByC_NotE(companyId, entryCount); } /** * Returns all the blogs stats users where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @return the matching blogs stats users */ public static List findByU_L( long userId, Date lastPostDate) { return getPersistence().findByU_L(userId, lastPostDate); } /** * Returns a range of all the blogs stats users where userId = ? and lastPostDate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param lastPostDate the last post date * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of matching blogs stats users */ public static List findByU_L( long userId, Date lastPostDate, int start, int end) { return getPersistence().findByU_L(userId, lastPostDate, start, end); } /** * Returns an ordered range of all the blogs stats users where userId = ? and lastPostDate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param lastPostDate the last post date * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs stats users */ public static List findByU_L( long userId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator) { return getPersistence().findByU_L( userId, lastPostDate, start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users where userId = ? and lastPostDate = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param userId the user ID * @param lastPostDate the last post date * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching blogs stats users */ public static List findByU_L( long userId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findByU_L( userId, lastPostDate, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first blogs stats user in the ordered set where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByU_L_First( long userId, Date lastPostDate, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByU_L_First( userId, lastPostDate, orderByComparator); } /** * Returns the first blogs stats user in the ordered set where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByU_L_First( long userId, Date lastPostDate, OrderByComparator orderByComparator) { return getPersistence().fetchByU_L_First( userId, lastPostDate, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user * @throws NoSuchStatsUserException if a matching blogs stats user could not be found */ public static BlogsStatsUser findByU_L_Last( long userId, Date lastPostDate, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByU_L_Last( userId, lastPostDate, orderByComparator); } /** * Returns the last blogs stats user in the ordered set where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs stats user, or null if a matching blogs stats user could not be found */ public static BlogsStatsUser fetchByU_L_Last( long userId, Date lastPostDate, OrderByComparator orderByComparator) { return getPersistence().fetchByU_L_Last( userId, lastPostDate, orderByComparator); } /** * Returns the blogs stats users before and after the current blogs stats user in the ordered set where userId = ? and lastPostDate = ?. * * @param statsUserId the primary key of the current blogs stats user * @param userId the user ID * @param lastPostDate the last post date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser[] findByU_L_PrevAndNext( long statsUserId, long userId, Date lastPostDate, OrderByComparator orderByComparator) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByU_L_PrevAndNext( statsUserId, userId, lastPostDate, orderByComparator); } /** * Removes all the blogs stats users where userId = ? and lastPostDate = ? from the database. * * @param userId the user ID * @param lastPostDate the last post date */ public static void removeByU_L(long userId, Date lastPostDate) { getPersistence().removeByU_L(userId, lastPostDate); } /** * Returns the number of blogs stats users where userId = ? and lastPostDate = ?. * * @param userId the user ID * @param lastPostDate the last post date * @return the number of matching blogs stats users */ public static int countByU_L(long userId, Date lastPostDate) { return getPersistence().countByU_L(userId, lastPostDate); } /** * Caches the blogs stats user in the entity cache if it is enabled. * * @param blogsStatsUser the blogs stats user */ public static void cacheResult(BlogsStatsUser blogsStatsUser) { getPersistence().cacheResult(blogsStatsUser); } /** * Caches the blogs stats users in the entity cache if it is enabled. * * @param blogsStatsUsers the blogs stats users */ public static void cacheResult(List blogsStatsUsers) { getPersistence().cacheResult(blogsStatsUsers); } /** * Creates a new blogs stats user with the primary key. Does not add the blogs stats user to the database. * * @param statsUserId the primary key for the new blogs stats user * @return the new blogs stats user */ public static BlogsStatsUser create(long statsUserId) { return getPersistence().create(statsUserId); } /** * Removes the blogs stats user with the primary key from the database. Also notifies the appropriate model listeners. * * @param statsUserId the primary key of the blogs stats user * @return the blogs stats user that was removed * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser remove(long statsUserId) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().remove(statsUserId); } public static BlogsStatsUser updateImpl(BlogsStatsUser blogsStatsUser) { return getPersistence().updateImpl(blogsStatsUser); } /** * Returns the blogs stats user with the primary key or throws a NoSuchStatsUserException if it could not be found. * * @param statsUserId the primary key of the blogs stats user * @return the blogs stats user * @throws NoSuchStatsUserException if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser findByPrimaryKey(long statsUserId) throws com.liferay.blogs.exception.NoSuchStatsUserException { return getPersistence().findByPrimaryKey(statsUserId); } /** * Returns the blogs stats user with the primary key or returns null if it could not be found. * * @param statsUserId the primary key of the blogs stats user * @return the blogs stats user, or null if a blogs stats user with the primary key could not be found */ public static BlogsStatsUser fetchByPrimaryKey(long statsUserId) { return getPersistence().fetchByPrimaryKey(statsUserId); } /** * Returns all the blogs stats users. * * @return the blogs stats users */ public static List findAll() { return getPersistence().findAll(); } /** * Returns a range of all the blogs stats users. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @return the range of blogs stats users */ public static List findAll(int start, int end) { return getPersistence().findAll(start, end); } /** * Returns an ordered range of all the blogs stats users. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of blogs stats users */ public static List findAll( int start, int end, OrderByComparator orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); } /** * Returns an ordered range of all the blogs stats users. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from BlogsStatsUserModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of blogs stats users * @param end the upper bound of the range of blogs stats users (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of blogs stats users */ public static List findAll( int start, int end, OrderByComparator orderByComparator, boolean retrieveFromCache) { return getPersistence().findAll( start, end, orderByComparator, retrieveFromCache); } /** * Removes all the blogs stats users from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of blogs stats users. * * @return the number of blogs stats users */ public static int countAll() { return getPersistence().countAll(); } public static BlogsStatsUserPersistence getPersistence() { return _serviceTracker.getService(); } private static ServiceTracker _serviceTracker; static { Bundle bundle = FrameworkUtil.getBundle( BlogsStatsUserPersistence.class); ServiceTracker serviceTracker = new ServiceTracker ( bundle.getBundleContext(), BlogsStatsUserPersistence.class, null); serviceTracker.open(); _serviceTracker = serviceTracker; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy