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

com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence 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.bookmarks.service.persistence;

import aQute.bnd.annotation.ProviderType;

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

import com.liferay.portlet.bookmarks.model.BookmarksEntry;

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

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

* * @author Brian Wing Shun Chan * @see BookmarksEntryPersistenceImpl * @see BookmarksEntryUtil * @generated */ @ProviderType public interface BookmarksEntryPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link BookmarksEntryUtil} to access the bookmarks entry persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the bookmarks entries where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByResourceBlockId( long resourceBlockId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where resourceBlockId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 resourceBlockId the resource block ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByResourceBlockId( long resourceBlockId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where resourceBlockId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 resourceBlockId the resource block ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByResourceBlockId( long resourceBlockId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First( long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First( long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last( long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last( long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = ?. * * @param entryId the primary key of the current bookmarks entry * @param resourceBlockId the resource block ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext( long entryId, long resourceBlockId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks entries where resourceBlockId = ? from the database. * * @param resourceBlockId the resource block ID * @throws SystemException if a system exception occurred */ public void removeByResourceBlockId(long resourceBlockId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where resourceBlockId = ?. * * @param resourceBlockId the resource block ID * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByResourceBlockId(long resourceBlockId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where uuid = ?. * * @param uuid the uuid * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last( java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. * * @param entryId the primary key of the current bookmarks entry * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where uuid = ?. * * @param uuid the uuid * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByUuid(java.lang.String uuid) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( java.lang.String uuid, long groupId, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the bookmarks entry where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the bookmarks entry that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G( java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the number of bookmarks entries where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching bookmarks 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 bookmarks entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ? and companyId = ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching bookmarks 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 bookmarks entries where companyId = ?. * * @param companyId the company ID * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ?. * * @param entryId the primary key of the current bookmarks entry * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByCompanyId_PrevAndNext( long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where companyId = ?. * * @param companyId the company ID * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long folderId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long folderId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First( long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First( long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last( long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last( long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext( long entryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long folderId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long folderId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long folderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext( long entryId, long groupId, long folderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long[] folderIds) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long[] folderIds, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F( long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and folderId = any ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long[] folderIds) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long[] folderIds, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. * *

* 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F( long groupId, long[] folderIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @throws SystemException if a system exception occurred */ public void removeByG_F(long groupId, long folderId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F(long groupId, long folderId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F(long groupId, long[] folderIds) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. * * @param groupId the group ID * @param folderId the folder ID * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F(long groupId, long folderId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. * * @param groupId the group ID * @param folderIds the folder IDs * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F(long groupId, long[] folderIds) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status = ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status = ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the number of matching bookmarks 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 bookmarks 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 bookmarks 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 bookmarks entries where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_First( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_Last( long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where groupId = ? and status ≠ ?. * * @param groupId the group ID * @param status the status * @return the number of matching bookmarks 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 bookmarks 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 bookmarks 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 bookmarks entries where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks entries where companyId = ? and status ≠ ?. * * @param companyId the company ID * @param status the status * @return the number of matching bookmarks 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 bookmarks entries where groupId = ? and userId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks 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 bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks 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 bookmarks 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 bookmarks 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 bookmarks 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 bookmarks entries where groupId = ? and userId = ? and status ≠ ?. * * @param groupId the group ID * @param userId the user ID * @param status the status * @return the matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks 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 bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry 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 bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks 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 bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks 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 bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks 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 bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] 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.bookmarks.NoSuchEntryException; /** * Removes all the bookmarks 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 bookmarks 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 bookmarks 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 bookmarks 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 bookmarks 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 bookmarks entries where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_First( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_First( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_Last( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_Last( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_S_PrevAndNext( long entryId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_S_PrevAndNext( long entryId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_S( long groupId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_S( long groupId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the bookmarks entries where groupId = ? and folderId = ? and status = ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_F_S(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F_S(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F_S(long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F_S(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F_S(long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_First( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_First( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_Last( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_Last( long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_NotS_PrevAndNext( long entryId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_NotS_PrevAndNext( long entryId, long groupId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_F_NotS( long groupId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_F_NotS( long groupId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ? from the database. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_F_NotS(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F_NotS(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_F_NotS(long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. * * @param groupId the group ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F_NotS(long groupId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. * * @param groupId the group ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_F_NotS(long groupId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_First( long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_First( long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_Last( long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching bookmarks entry, or null if a matching bookmarks entry could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_Last( long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_F_S_PrevAndNext( long entryId, long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long folderId, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderId the folder ID * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long folderId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param entryId the primary key of the current bookmarks entry * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_F_S_PrevAndNext( long entryId, long groupId, long userId, long folderId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param status the status * @return the matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public java.util.List filterFindByG_U_F_S( long groupId, long userId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @return the matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long[] folderIds, int status, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 folderIds the folder IDs * @param status the status * @param start the lower bound of the range of bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching bookmarks entries * @throws SystemException if a system exception occurred */ public java.util.List findByG_U_F_S( long groupId, long userId, long[] folderIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ? from the database. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @throws SystemException if a system exception occurred */ public void removeByG_U_F_S(long groupId, long userId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_U_F_S(long groupId, long userId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries * @throws SystemException if a system exception occurred */ public int countByG_U_F_S(long groupId, long userId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderId the folder ID * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_F_S(long groupId, long userId, long folderId, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. * * @param groupId the group ID * @param userId the user ID * @param folderIds the folder IDs * @param status the status * @return the number of matching bookmarks entries that the user has permission to view * @throws SystemException if a system exception occurred */ public int filterCountByG_U_F_S(long groupId, long userId, long[] folderIds, int status) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the bookmarks entry in the entity cache if it is enabled. * * @param bookmarksEntry the bookmarks entry */ public void cacheResult( com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); /** * Caches the bookmarks entries in the entity cache if it is enabled. * * @param bookmarksEntries the bookmarks entries */ public void cacheResult( java.util.List bookmarksEntries); /** * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database. * * @param entryId the primary key for the new bookmarks entry * @return the new bookmarks entry */ public com.liferay.portlet.bookmarks.model.BookmarksEntry create( long entryId); /** * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners. * * @param entryId the primary key of the bookmarks entry * @return the bookmarks entry that was removed * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry remove( long entryId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl( com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. * * @param entryId the primary key of the bookmarks entry * @return the bookmarks entry * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey( long entryId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.bookmarks.NoSuchEntryException; /** * Returns the bookmarks entry with the primary key or returns null if it could not be found. * * @param entryId the primary key of the bookmarks entry * @return the bookmarks entry, or null if a bookmarks entry with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey( long entryId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the bookmarks entries. * * @return the bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @return the range of bookmarks 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 bookmarks 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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 bookmarks entries * @param end the upper bound of the range of bookmarks entries (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of bookmarks 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 bookmarks 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 bookmarks entries. * * @return the number of bookmarks 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