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

com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence Maven / Gradle / Ivy

/**
 * Copyright (c) 2000-2013 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.portlet.blogs.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.service.persistence.BasePersistence;

import com.liferay.portlet.blogs.model.BlogsEntry;

/**
 * The persistence interface for the blogs entry service.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see BlogsEntryPersistenceImpl * @see BlogsEntryUtil * @generated */ @ProviderType public interface BlogsEntryPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link BlogsEntryUtil} to access the blogs entry persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the blogs entries where uuid = ?. * * @param uuid the uuid * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where uuid = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 uuid the uuid * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where uuid = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 uuid the uuid * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid( java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ?. * * @param entryId the primary key of the current blogs entry * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext( long entryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where uuid = ? from the database. * * @param uuid the uuid * @throws SystemException if a system exception occurred */ public void removeByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where uuid = ?. * * @param uuid the uuid * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entry where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param retrieveFromCache whether to use the finder cache * @return the matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G( java.lang.String uuid, long groupId, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the blogs entry where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the blogs entry that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry removeByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the number of blogs entries where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByUUID_G(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where uuid = ? and companyId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where uuid = ? and companyId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByUuid_C( java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_C_First( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_C_First( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_C_Last( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_C_Last( java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ? and companyId = ?. * * @param entryId the primary key of the current blogs entry * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_C_PrevAndNext( long entryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID * @throws SystemException if a system exception occurred */ public void removeByUuid_C(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByUuid_C(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ?. * * @param groupId the group ID * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry 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 entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry 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 entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry 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 entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry 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 entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext( long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByGroupId_PrevAndNext( long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? from the database. * * @param groupId the group ID * @throws SystemException if a system exception occurred */ public void removeByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ?. * * @param groupId the group ID * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ?. * * @param companyId the company ID * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext( long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? from the database. * * @param companyId the company ID * @throws SystemException if a system exception occurred */ public void removeByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ?. * * @param companyId the company ID * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U( long companyId, long userId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U( long companyId, long userId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U( long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_First( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_Last( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext( long entryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and userId = ? from the database. * * @param companyId the company ID * @param userId the user ID * @throws SystemException if a system exception occurred */ public void removeByC_U(long companyId, long userId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_U(long companyId, long userId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD( long companyId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD( long companyId, java.util.Date displayDate, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD( long companyId, java.util.Date displayDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_First( long companyId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_First( long companyId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_Last( long companyId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_Last( long companyId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_PrevAndNext( long entryId, long companyId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and displayDate < ? from the database. * * @param companyId the company ID * @param displayDate the display date * @throws SystemException if a system exception occurred */ public void removeByC_LtD(long companyId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and displayDate < ?. * * @param companyId the company ID * @param displayDate the display date * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_LtD(long companyId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_NotS( long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_NotS( long companyId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_NotS( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_NotS_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_NotS_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_NotS_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_NotS_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_NotS_PrevAndNext( long entryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and status ≠ ? from the database. * * @param companyId the company ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_NotS(long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_NotS(long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_S( long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_S( long companyId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_S( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_S_PrevAndNext( long entryId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and status = ? from the database. * * @param companyId the company ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_S(long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_S(long companyId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entry where groupId = ? and urlTitle = ? or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. * * @param groupId the group ID * @param urlTitle the url title * @return the matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param urlTitle the url title * @return the matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT( long groupId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entry where groupId = ? and urlTitle = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param urlTitle the url title * @param retrieveFromCache whether to use the finder cache * @return the matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT( long groupId, java.lang.String urlTitle, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the blogs entry where groupId = ? and urlTitle = ? from the database. * * @param groupId the group ID * @param urlTitle the url title * @return the blogs entry that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry removeByG_UT( long groupId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the number of blogs entries where groupId = ? and urlTitle = ?. * * @param groupId the group ID * @param urlTitle the url title * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_UT(long groupId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD( long groupId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD( long groupId, java.util.Date displayDate, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD( long groupId, java.util.Date displayDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_First( long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_First( long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_Last( long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_Last( long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD( long groupId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD( long groupId, java.util.Date displayDate, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD( long groupId, java.util.Date displayDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and displayDate < ? from the database. * * @param groupId the group ID * @param displayDate the display date * @throws SystemException if a system exception occurred */ public void removeByG_LtD(long groupId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_LtD(long groupId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ?. * * @param groupId the group ID * @param displayDate the display date * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_LtD(long groupId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_NotS( long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_NotS( long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_NotS( long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_NotS_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_NotS_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_NotS_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_NotS_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_NotS_PrevAndNext( long entryId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_NotS( long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_NotS( long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_NotS( long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_NotS_PrevAndNext( long entryId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and status ≠ ? from the database. * * @param groupId the group ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_NotS(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_NotS(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_NotS(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_S( long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_S( long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_S( long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_S_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_S_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_S_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_S_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_S_PrevAndNext( long entryId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_S( long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_S( long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_S( long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_S_PrevAndNext( long entryId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and status = ? from the database. * * @param groupId the group ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_S(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_S(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_S(long groupId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByLtD_S( java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByLtD_S( java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByLtD_S( java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByLtD_S_First( java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByLtD_S_First( java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByLtD_S_Last( java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByLtD_S_Last( java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByLtD_S_PrevAndNext( long entryId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where displayDate < ? and status = ? from the database. * * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByLtD_S(java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where displayDate < ? and status = ?. * * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByLtD_S(java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_NotS( long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_NotS( long companyId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_NotS( long companyId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_NotS_First( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_NotS_First( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_NotS_Last( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_NotS_Last( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_NotS_PrevAndNext( long entryId, long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and userId = ? and status ≠ ? from the database. * * @param companyId the company ID * @param userId the user ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_U_NotS(long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and userId = ? and status ≠ ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_U_NotS(long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_S( long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_S( long companyId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_U_S( long companyId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_First( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_S_First( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_Last( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_S_Last( long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_S_PrevAndNext( long entryId, long companyId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and userId = ? and status = ? from the database. * * @param companyId the company ID * @param userId the user ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_U_S(long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and userId = ? and status = ?. * * @param companyId the company ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_U_S(long companyId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_NotS( long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_NotS( long companyId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_NotS( long companyId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_NotS_First( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_NotS_First( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_NotS_Last( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_NotS_Last( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_NotS_PrevAndNext( long entryId, long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and displayDate < ? and status ≠ ? from the database. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_LtD_NotS(long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and displayDate < ? and status ≠ ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_LtD_NotS(long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_S( long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_S( long companyId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByC_LtD_S( long companyId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_S_First( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_S_First( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_S_Last( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_S_Last( long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param companyId the company ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_S_PrevAndNext( long entryId, long companyId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where companyId = ? and displayDate < ? and status = ? from the database. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByC_LtD_S(long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where companyId = ? and displayDate < ? and status = ?. * * @param companyId the company ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByC_LtD_S(long companyId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD( long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD( long groupId, long userId, java.util.Date displayDate, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD( long groupId, long userId, java.util.Date displayDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_First( long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_First( long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_Last( long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_Last( long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD( long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD( long groupId, long userId, java.util.Date displayDate, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD( long groupId, long userId, java.util.Date displayDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? from the database. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @throws SystemException if a system exception occurred */ public void removeByG_U_LtD(long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_U_LtD(long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_LtD(long groupId, long userId, java.util.Date displayDate) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_NotS( long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_NotS( long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_NotS( long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_NotS_First( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_NotS_First( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_NotS_Last( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_NotS_Last( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_NotS_PrevAndNext( long entryId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_NotS( long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_NotS( long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_NotS( long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_NotS_PrevAndNext( long entryId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and userId = ? and status ≠ ? from the database. * * @param groupId the group ID * @param userId the user ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_U_NotS(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_U_NotS(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_NotS(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_S( long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_S( long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_S( long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_First( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_S_First( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_Last( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_S_Last( long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_S_PrevAndNext( long entryId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_S( long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_S( long groupId, long userId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_S( long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_S_PrevAndNext( long entryId, long groupId, long userId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and userId = ? and status = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_U_S(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_U_S(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_S(long groupId, long userId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_NotS( long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_NotS( long groupId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_NotS( long groupId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_NotS_First( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_NotS_First( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_NotS_Last( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_NotS_Last( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_NotS_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_NotS( long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_NotS( long groupId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_NotS( long groupId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_NotS_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and displayDate < ? and status ≠ ? from the database. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_LtD_NotS(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_LtD_NotS(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_LtD_NotS(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_S( long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_S( long groupId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_LtD_S( long groupId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_S_First( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_S_First( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_S_Last( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_S_Last( long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_S_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_S( long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_S( long groupId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_LtD_S( long groupId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_S_PrevAndNext( long entryId, long groupId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and displayDate < ? and status = ? from the database. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_LtD_S(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_LtD_S(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_LtD_S(long groupId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_NotS_First( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_NotS_First( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_NotS_Last( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_NotS_Last( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_NotS_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_NotS( long groupId, long userId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_NotS_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ? from the database. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_U_LtD_NotS(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_U_LtD_NotS(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_LtD_NotS(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_S_First( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_S_First( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_S_Last( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching blogs entry, or null if a matching blogs entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_S_Last( long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_S_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 userId the user ID * @param displayDate the display date * @param status the status * @param start the lower bound of the range of blogs entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_LtD_S( long groupId, long userId, java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param entryId the primary key of the current blogs entry * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_S_PrevAndNext( long entryId, long groupId, long userId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_U_LtD_S(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries * @throws SystemException if a system exception occurred */ public int countByG_U_LtD_S(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param displayDate the display date * @param status the status * @return the number of matching blogs entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_LtD_S(long groupId, long userId, java.util.Date displayDate, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the blogs entry in the entity cache if it is enabled. * * @param blogsEntry the blogs entry */ public void cacheResult( com.liferay.portlet.blogs.model.BlogsEntry blogsEntry); /** * Caches the blogs entries in the entity cache if it is enabled. * * @param blogsEntries the blogs entries */ public void cacheResult( java.util.List blogsEntries); /** * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database. * * @param entryId the primary key for the new blogs entry * @return the new blogs entry */ public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId); /** * Removes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param entryId the primary key of the blogs entry * @return the blogs entry that was removed * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; public com.liferay.portlet.blogs.model.BlogsEntry updateImpl( com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the blogs entry with the primary key or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. * * @param entryId the primary key of the blogs entry * @return the blogs entry * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey( long entryId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.blogs.NoSuchEntryException; /** * Returns the blogs entry with the primary key or returns null if it could not be found. * * @param entryId the primary key of the blogs entry * @return the blogs entry, or null if a blogs entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey( long entryId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the blogs entries. * * @return the blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the blogs entries. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @return the range of blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the blogs entries. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. 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 entries * @param end the upper bound of the range of blogs entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of blogs entries * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the blogs entries from the database. * * @throws SystemException if a system exception occurred */ public void removeAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of blogs entries. * * @return the number of blogs entries * @throws SystemException if a system exception occurred */ public int countAll() throws com.liferay.portal.kernel.exception.SystemException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy