com.liferay.journal.service.persistence.JournalArticleUtil Maven / Gradle / Ivy
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.journal.service.persistence;
import aQute.bnd.annotation.ProviderType;
import com.liferay.journal.model.JournalArticle;
import com.liferay.osgi.util.ServiceTrackerFactory;
import com.liferay.portal.kernel.dao.orm.DynamicQuery;
import com.liferay.portal.kernel.service.ServiceContext;
import com.liferay.portal.kernel.util.OrderByComparator;
import org.osgi.util.tracker.ServiceTracker;
import java.util.Date;
import java.util.List;
/**
* The persistence utility for the journal article service. This utility wraps {@link com.liferay.journal.service.persistence.impl.JournalArticlePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Brian Wing Shun Chan
* @see JournalArticlePersistence
* @see com.liferay.journal.service.persistence.impl.JournalArticlePersistenceImpl
* @generated
*/
@ProviderType
public class JournalArticleUtil {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
*/
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache()
*/
public static void clearCache() {
getPersistence().clearCache();
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel)
*/
public static void clearCache(JournalArticle journalArticle) {
getPersistence().clearCache(journalArticle);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
*/
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) {
return getPersistence().countWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery) {
return getPersistence().findWithDynamicQuery(dynamicQuery);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end) {
return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
*/
public static List findWithDynamicQuery(
DynamicQuery dynamicQuery, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findWithDynamicQuery(dynamicQuery, start, end,
orderByComparator);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel)
*/
public static JournalArticle update(JournalArticle journalArticle) {
return getPersistence().update(journalArticle);
}
/**
* @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
*/
public static JournalArticle update(JournalArticle journalArticle,
ServiceContext serviceContext) {
return getPersistence().update(journalArticle, serviceContext);
}
/**
* Returns all the journal articles where uuid = ?.
*
* @param uuid the uuid
* @return the matching journal articles
*/
public static List findByUuid(java.lang.String uuid) {
return getPersistence().findByUuid(uuid);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByUuid(java.lang.String uuid,
int start, int end) {
return getPersistence().findByUuid(uuid, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByUuid(java.lang.String uuid,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence().findByUuid(uuid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByUuid(java.lang.String uuid,
int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByUuid(uuid, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().findByUuid_First(uuid, orderByComparator);
}
/**
* Returns the first journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_First(uuid, orderByComparator);
}
/**
* Returns the last journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().findByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the last journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator) {
return getPersistence().fetchByUuid_Last(uuid, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where uuid = ?.
*
* @param id the primary key of the current journal article
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByUuid_PrevAndNext(long id,
java.lang.String uuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByUuid_PrevAndNext(id, uuid, orderByComparator);
}
/**
* Removes all the journal articles where uuid = ? from the database.
*
* @param uuid the uuid
*/
public static void removeByUuid(java.lang.String uuid) {
getPersistence().removeByUuid(uuid);
}
/**
* Returns the number of journal articles where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching journal articles
*/
public static int countByUuid(java.lang.String uuid) {
return getPersistence().countByUuid(uuid);
}
/**
* Returns the journal article where uuid = ? and groupId = ? or throws a {@link NoSuchArticleException} if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().findByUUID_G(uuid, groupId);
}
/**
* Returns the journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUUID_G(java.lang.String uuid,
long groupId) {
return getPersistence().fetchByUUID_G(uuid, groupId);
}
/**
* Returns the journal article 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 retrieve from the finder cache
* @return the matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUUID_G(java.lang.String uuid,
long groupId, boolean retrieveFromCache) {
return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
}
/**
* Removes the journal article where uuid = ? and groupId = ? from the database.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the journal article that was removed
*/
public static JournalArticle removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().removeByUUID_G(uuid, groupId);
}
/**
* Returns the number of journal articles where uuid = ? and groupId = ?.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the number of matching journal articles
*/
public static int countByUUID_G(java.lang.String uuid, long groupId) {
return getPersistence().countByUUID_G(uuid, groupId);
}
/**
* Returns all the journal articles where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the matching journal articles
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId) {
return getPersistence().findByUuid_C(uuid, companyId);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end) {
return getPersistence().findByUuid_C(uuid, companyId, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByUuid_C(uuid, companyId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByUuid_C(uuid, companyId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByUuid_C_First(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByUuid_C_First(uuid, companyId, orderByComparator);
}
/**
* Returns the first journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUuid_C_First(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByUuid_C_First(uuid, companyId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByUuid_C_Last(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByUuid_C_Last(uuid, companyId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByUuid_C_Last(java.lang.String uuid,
long companyId, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByUuid_C_Last(uuid, companyId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?.
*
* @param id the primary key of the current journal article
* @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 journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByUuid_C_PrevAndNext(long id,
java.lang.String uuid, long companyId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByUuid_C_PrevAndNext(id, uuid, companyId,
orderByComparator);
}
/**
* Removes all the journal articles where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public static void removeByUuid_C(java.lang.String uuid, long companyId) {
getPersistence().removeByUuid_C(uuid, companyId);
}
/**
* Returns the number of journal articles where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @return the number of matching journal articles
*/
public static int countByUuid_C(java.lang.String uuid, long companyId) {
return getPersistence().countByUuid_C(uuid, companyId);
}
/**
* Returns all the journal articles where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @return the matching journal articles
*/
public static List findByResourcePrimKey(
long resourcePrimKey) {
return getPersistence().findByResourcePrimKey(resourcePrimKey);
}
/**
* Returns a range of all the journal articles where resourcePrimKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByResourcePrimKey(
long resourcePrimKey, int start, int end) {
return getPersistence()
.findByResourcePrimKey(resourcePrimKey, start, end);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByResourcePrimKey(
long resourcePrimKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByResourcePrimKey(resourcePrimKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByResourcePrimKey(
long resourcePrimKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByResourcePrimKey(resourcePrimKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByResourcePrimKey_First(
long resourcePrimKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByResourcePrimKey_First(resourcePrimKey,
orderByComparator);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByResourcePrimKey_First(
long resourcePrimKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByResourcePrimKey_First(resourcePrimKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByResourcePrimKey_Last(
long resourcePrimKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByResourcePrimKey_Last(resourcePrimKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByResourcePrimKey_Last(
long resourcePrimKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByResourcePrimKey_Last(resourcePrimKey,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
*
* @param id the primary key of the current journal article
* @param resourcePrimKey the resource prim key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id,
long resourcePrimKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByResourcePrimKey_PrevAndNext(id, resourcePrimKey,
orderByComparator);
}
/**
* Removes all the journal articles where resourcePrimKey = ? from the database.
*
* @param resourcePrimKey the resource prim key
*/
public static void removeByResourcePrimKey(long resourcePrimKey) {
getPersistence().removeByResourcePrimKey(resourcePrimKey);
}
/**
* Returns the number of journal articles where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @return the number of matching journal articles
*/
public static int countByResourcePrimKey(long resourcePrimKey) {
return getPersistence().countByResourcePrimKey(resourcePrimKey);
}
/**
* Returns all the journal articles where groupId = ?.
*
* @param groupId the group ID
* @return the matching journal articles
*/
public static List findByGroupId(long groupId) {
return getPersistence().findByGroupId(groupId);
}
/**
* Returns a range of all the journal articles where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByGroupId(long groupId, int start,
int end) {
return getPersistence().findByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByGroupId(long groupId, int start,
int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByGroupId(groupId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByGroupId(long groupId, int start,
int end, OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByGroupId(groupId, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().findByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_First(groupId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence().findByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator) {
return getPersistence().fetchByGroupId_Last(groupId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByGroupId_PrevAndNext(long id,
long groupId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByGroupId_PrevAndNext(id, groupId, orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByGroupId(long groupId) {
return getPersistence().filterFindByGroupId(groupId);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByGroupId(long groupId,
int start, int end) {
return getPersistence().filterFindByGroupId(groupId, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
*
*
* @param groupId the group ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByGroupId(long groupId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByGroupId(groupId, start, end, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByGroupId_PrevAndNext(long id,
long groupId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByGroupId_PrevAndNext(id, groupId,
orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? from the database.
*
* @param groupId the group ID
*/
public static void removeByGroupId(long groupId) {
getPersistence().removeByGroupId(groupId);
}
/**
* Returns the number of journal articles where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching journal articles
*/
public static int countByGroupId(long groupId) {
return getPersistence().countByGroupId(groupId);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByGroupId(long groupId) {
return getPersistence().filterCountByGroupId(groupId);
}
/**
* Returns all the journal articles where companyId = ?.
*
* @param companyId the company ID
* @return the matching journal articles
*/
public static List findByCompanyId(long companyId) {
return getPersistence().findByCompanyId(companyId);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByCompanyId(long companyId,
int start, int end) {
return getPersistence().findByCompanyId(companyId, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByCompanyId(long companyId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByCompanyId(companyId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByCompanyId(long companyId,
int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByCompanyId(companyId, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByCompanyId_First(companyId, orderByComparator);
}
/**
* Returns the first journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByCompanyId_First(companyId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByCompanyId_Last(companyId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByCompanyId_Last(companyId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where companyId = ?.
*
* @param id the primary key of the current journal article
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByCompanyId_PrevAndNext(long id,
long companyId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByCompanyId_PrevAndNext(id, companyId, orderByComparator);
}
/**
* Removes all the journal articles where companyId = ? from the database.
*
* @param companyId the company ID
*/
public static void removeByCompanyId(long companyId) {
getPersistence().removeByCompanyId(companyId);
}
/**
* Returns the number of journal articles where companyId = ?.
*
* @param companyId the company ID
* @return the number of matching journal articles
*/
public static int countByCompanyId(long companyId) {
return getPersistence().countByCompanyId(companyId);
}
/**
* Returns all the journal articles where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @return the matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String DDMStructureKey) {
return getPersistence().findByDDMStructureKey(DDMStructureKey);
}
/**
* Returns a range of all the journal articles where DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int end) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKey, start, end);
}
/**
* Returns an ordered range of all the journal articles where DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByDDMStructureKey_First(
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMStructureKey_First(DDMStructureKey,
orderByComparator);
}
/**
* Returns the first journal article in the ordered set where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByDDMStructureKey_First(
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByDDMStructureKey_First(DDMStructureKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByDDMStructureKey_Last(
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMStructureKey_Last(DDMStructureKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByDDMStructureKey_Last(
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByDDMStructureKey_Last(DDMStructureKey,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where DDMStructureKey = ?.
*
* @param id the primary key of the current journal article
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByDDMStructureKey_PrevAndNext(long id,
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMStructureKey_PrevAndNext(id, DDMStructureKey,
orderByComparator);
}
/**
* Returns all the journal articles where DDMStructureKey = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKeies the d d m structure keies
* @return the matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies) {
return getPersistence().findByDDMStructureKey(DDMStructureKeies);
}
/**
* Returns a range of all the journal articles where DDMStructureKey = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKeies the d d m structure keies
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int end) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKeies, start, end);
}
/**
* Returns an ordered range of all the journal articles where DDMStructureKey = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKeies the d d m structure keies
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKeies, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where DDMStructureKey = ?, optionally using the finder cache.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByDDMStructureKey(DDMStructureKeies, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Removes all the journal articles where DDMStructureKey = ? from the database.
*
* @param DDMStructureKey the d d m structure key
*/
public static void removeByDDMStructureKey(java.lang.String DDMStructureKey) {
getPersistence().removeByDDMStructureKey(DDMStructureKey);
}
/**
* Returns the number of journal articles where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @return the number of matching journal articles
*/
public static int countByDDMStructureKey(java.lang.String DDMStructureKey) {
return getPersistence().countByDDMStructureKey(DDMStructureKey);
}
/**
* Returns the number of journal articles where DDMStructureKey = any ?.
*
* @param DDMStructureKeies the d d m structure keies
* @return the number of matching journal articles
*/
public static int countByDDMStructureKey(
java.lang.String[] DDMStructureKeies) {
return getPersistence().countByDDMStructureKey(DDMStructureKeies);
}
/**
* Returns all the journal articles where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @return the matching journal articles
*/
public static List findByDDMTemplateKey(
java.lang.String DDMTemplateKey) {
return getPersistence().findByDDMTemplateKey(DDMTemplateKey);
}
/**
* Returns a range of all the journal articles where DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int end) {
return getPersistence().findByDDMTemplateKey(DDMTemplateKey, start, end);
}
/**
* Returns an ordered range of all the journal articles where DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByDDMTemplateKey(DDMTemplateKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByDDMTemplateKey(DDMTemplateKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByDDMTemplateKey_First(
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMTemplateKey_First(DDMTemplateKey, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByDDMTemplateKey_First(
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByDDMTemplateKey_First(DDMTemplateKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByDDMTemplateKey_Last(
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMTemplateKey_Last(DDMTemplateKey, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByDDMTemplateKey_Last(
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByDDMTemplateKey_Last(DDMTemplateKey, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where DDMTemplateKey = ?.
*
* @param id the primary key of the current journal article
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByDDMTemplateKey_PrevAndNext(long id,
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByDDMTemplateKey_PrevAndNext(id, DDMTemplateKey,
orderByComparator);
}
/**
* Removes all the journal articles where DDMTemplateKey = ? from the database.
*
* @param DDMTemplateKey the d d m template key
*/
public static void removeByDDMTemplateKey(java.lang.String DDMTemplateKey) {
getPersistence().removeByDDMTemplateKey(DDMTemplateKey);
}
/**
* Returns the number of journal articles where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @return the number of matching journal articles
*/
public static int countByDDMTemplateKey(java.lang.String DDMTemplateKey) {
return getPersistence().countByDDMTemplateKey(DDMTemplateKey);
}
/**
* Returns all the journal articles where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @return the matching journal articles
*/
public static List findByLayoutUuid(
java.lang.String layoutUuid) {
return getPersistence().findByLayoutUuid(layoutUuid);
}
/**
* Returns a range of all the journal articles where layoutUuid = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 layoutUuid the layout uuid
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByLayoutUuid(
java.lang.String layoutUuid, int start, int end) {
return getPersistence().findByLayoutUuid(layoutUuid, start, end);
}
/**
* Returns an ordered range of all the journal articles where layoutUuid = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 layoutUuid the layout uuid
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByLayoutUuid(
java.lang.String layoutUuid, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByLayoutUuid(layoutUuid, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where layoutUuid = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 layoutUuid the layout uuid
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByLayoutUuid(
java.lang.String layoutUuid, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByLayoutUuid(layoutUuid, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByLayoutUuid_First(
java.lang.String layoutUuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByLayoutUuid_First(layoutUuid, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByLayoutUuid_First(
java.lang.String layoutUuid,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByLayoutUuid_First(layoutUuid, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByLayoutUuid_Last(
java.lang.String layoutUuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByLayoutUuid_Last(layoutUuid, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByLayoutUuid_Last(
java.lang.String layoutUuid,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByLayoutUuid_Last(layoutUuid, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?.
*
* @param id the primary key of the current journal article
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByLayoutUuid_PrevAndNext(long id,
java.lang.String layoutUuid,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByLayoutUuid_PrevAndNext(id, layoutUuid,
orderByComparator);
}
/**
* Removes all the journal articles where layoutUuid = ? from the database.
*
* @param layoutUuid the layout uuid
*/
public static void removeByLayoutUuid(java.lang.String layoutUuid) {
getPersistence().removeByLayoutUuid(layoutUuid);
}
/**
* Returns the number of journal articles where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @return the number of matching journal articles
*/
public static int countByLayoutUuid(java.lang.String layoutUuid) {
return getPersistence().countByLayoutUuid(layoutUuid);
}
/**
* Returns all the journal articles where smallImageId = ?.
*
* @param smallImageId the small image ID
* @return the matching journal articles
*/
public static List findBySmallImageId(long smallImageId) {
return getPersistence().findBySmallImageId(smallImageId);
}
/**
* Returns a range of all the journal articles where smallImageId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 smallImageId the small image ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findBySmallImageId(long smallImageId,
int start, int end) {
return getPersistence().findBySmallImageId(smallImageId, start, end);
}
/**
* Returns an ordered range of all the journal articles where smallImageId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 smallImageId the small image ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findBySmallImageId(long smallImageId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findBySmallImageId(smallImageId, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where smallImageId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 smallImageId the small image ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findBySmallImageId(long smallImageId,
int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findBySmallImageId(smallImageId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where smallImageId = ?.
*
* @param smallImageId the small image ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findBySmallImageId_First(long smallImageId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findBySmallImageId_First(smallImageId, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where smallImageId = ?.
*
* @param smallImageId the small image ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchBySmallImageId_First(long smallImageId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchBySmallImageId_First(smallImageId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where smallImageId = ?.
*
* @param smallImageId the small image ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findBySmallImageId_Last(long smallImageId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findBySmallImageId_Last(smallImageId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where smallImageId = ?.
*
* @param smallImageId the small image ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchBySmallImageId_Last(long smallImageId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchBySmallImageId_Last(smallImageId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
*
* @param id the primary key of the current journal article
* @param smallImageId the small image ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findBySmallImageId_PrevAndNext(long id,
long smallImageId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findBySmallImageId_PrevAndNext(id, smallImageId,
orderByComparator);
}
/**
* Removes all the journal articles where smallImageId = ? from the database.
*
* @param smallImageId the small image ID
*/
public static void removeBySmallImageId(long smallImageId) {
getPersistence().removeBySmallImageId(smallImageId);
}
/**
* Returns the number of journal articles where smallImageId = ?.
*
* @param smallImageId the small image ID
* @return the number of matching journal articles
*/
public static int countBySmallImageId(long smallImageId) {
return getPersistence().countBySmallImageId(smallImageId);
}
/**
* Returns all the journal articles where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @return the matching journal articles
*/
public static List findByR_I(long resourcePrimKey,
boolean indexable) {
return getPersistence().findByR_I(resourcePrimKey, indexable);
}
/**
* Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param indexable the indexable
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByR_I(long resourcePrimKey,
boolean indexable, int start, int end) {
return getPersistence().findByR_I(resourcePrimKey, indexable, start, end);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param indexable the indexable
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByR_I(long resourcePrimKey,
boolean indexable, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByR_I(resourcePrimKey, indexable, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param indexable the indexable
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByR_I(long resourcePrimKey,
boolean indexable, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByR_I(resourcePrimKey, indexable, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByR_I_First(long resourcePrimKey,
boolean indexable, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_I_First(resourcePrimKey, indexable,
orderByComparator);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByR_I_First(long resourcePrimKey,
boolean indexable, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByR_I_First(resourcePrimKey, indexable,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByR_I_Last(long resourcePrimKey,
boolean indexable, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_I_Last(resourcePrimKey, indexable, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByR_I_Last(long resourcePrimKey,
boolean indexable, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByR_I_Last(resourcePrimKey, indexable,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
*
* @param id the primary key of the current journal article
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByR_I_PrevAndNext(long id,
long resourcePrimKey, boolean indexable,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_I_PrevAndNext(id, resourcePrimKey, indexable,
orderByComparator);
}
/**
* Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
*/
public static void removeByR_I(long resourcePrimKey, boolean indexable) {
getPersistence().removeByR_I(resourcePrimKey, indexable);
}
/**
* Returns the number of journal articles where resourcePrimKey = ? and indexable = ?.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
* @return the number of matching journal articles
*/
public static int countByR_I(long resourcePrimKey, boolean indexable) {
return getPersistence().countByR_I(resourcePrimKey, indexable);
}
/**
* Returns all the journal articles where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @return the matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int status) {
return getPersistence().findByR_ST(resourcePrimKey, status);
}
/**
* Returns a range of all the journal articles where resourcePrimKey = ? 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param status the status
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int status, int start, int end) {
return getPersistence().findByR_ST(resourcePrimKey, status, start, end);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param status the status
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int status, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByR_ST(resourcePrimKey, status, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param status the status
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int status, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByR_ST(resourcePrimKey, status, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByR_ST_First(long resourcePrimKey,
int status, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_ST_First(resourcePrimKey, status, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByR_ST_First(long resourcePrimKey,
int status, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByR_ST_First(resourcePrimKey, status, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByR_ST_Last(long resourcePrimKey,
int status, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_ST_Last(resourcePrimKey, status, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByR_ST_Last(long resourcePrimKey,
int status, OrderByComparator orderByComparator) {
return getPersistence()
.fetchByR_ST_Last(resourcePrimKey, status, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?.
*
* @param id the primary key of the current journal article
* @param resourcePrimKey the resource prim key
* @param status the status
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByR_ST_PrevAndNext(long id,
long resourcePrimKey, int status,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByR_ST_PrevAndNext(id, resourcePrimKey, status,
orderByComparator);
}
/**
* Returns all the journal articles where resourcePrimKey = ? and status = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param statuses the statuses
* @return the matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int[] statuses) {
return getPersistence().findByR_ST(resourcePrimKey, statuses);
}
/**
* Returns a range of all the journal articles where resourcePrimKey = ? and status = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param statuses the statuses
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int end) {
return getPersistence().findByR_ST(resourcePrimKey, statuses, start, end);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param statuses the statuses
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByR_ST(resourcePrimKey, statuses, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?, optionally using the finder cache.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 resourcePrimKey the resource prim key
* @param status the status
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByR_ST(resourcePrimKey, statuses, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.
*
* @param resourcePrimKey the resource prim key
* @param status the status
*/
public static void removeByR_ST(long resourcePrimKey, int status) {
getPersistence().removeByR_ST(resourcePrimKey, status);
}
/**
* Returns the number of journal articles where resourcePrimKey = ? and status = ?.
*
* @param resourcePrimKey the resource prim key
* @param status the status
* @return the number of matching journal articles
*/
public static int countByR_ST(long resourcePrimKey, int status) {
return getPersistence().countByR_ST(resourcePrimKey, status);
}
/**
* Returns the number of journal articles where resourcePrimKey = ? and status = any ?.
*
* @param resourcePrimKey the resource prim key
* @param statuses the statuses
* @return the number of matching journal articles
*/
public static int countByR_ST(long resourcePrimKey, int[] statuses) {
return getPersistence().countByR_ST(resourcePrimKey, statuses);
}
/**
* Returns all the journal articles where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @return the matching journal articles
*/
public static List findByG_U(long groupId, long userId) {
return getPersistence().findByG_U(groupId, userId);
}
/**
* Returns a range of all the journal articles where groupId = ? and userId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_U(long groupId, long userId,
int start, int end) {
return getPersistence().findByG_U(groupId, userId, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and userId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_U(long groupId, long userId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByG_U(groupId, userId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and userId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_U(long groupId, long userId,
int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_U(groupId, userId, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_U_First(long groupId, long userId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_U_First(groupId, userId, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_U_First(long groupId, long userId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_U_First(groupId, userId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_U_Last(long groupId, long userId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_U_Last(groupId, userId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_U_Last(long groupId, long userId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_U_Last(groupId, userId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_U_PrevAndNext(long id, long groupId,
long userId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_U_PrevAndNext(id, groupId, userId, orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_U(long groupId, long userId) {
return getPersistence().filterFindByG_U(groupId, userId);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_U(long groupId,
long userId, int start, int end) {
return getPersistence().filterFindByG_U(groupId, userId, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?.
*
*
* Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_U(long groupId,
long userId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_U(groupId, userId, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param userId the user ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_U_PrevAndNext(long id,
long groupId, long userId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_U_PrevAndNext(id, groupId, userId,
orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? and userId = ? from the database.
*
* @param groupId the group ID
* @param userId the user ID
*/
public static void removeByG_U(long groupId, long userId) {
getPersistence().removeByG_U(groupId, userId);
}
/**
* Returns the number of journal articles where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @return the number of matching journal articles
*/
public static int countByG_U(long groupId, long userId) {
return getPersistence().countByG_U(groupId, userId);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?.
*
* @param groupId the group ID
* @param userId the user ID
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByG_U(long groupId, long userId) {
return getPersistence().filterCountByG_U(groupId, userId);
}
/**
* Returns all the journal articles where groupId = ? and folderId = ?.
*
* @param groupId the group ID
* @param folderId the folder ID
* @return the matching journal articles
*/
public static List findByG_F(long groupId, long folderId) {
return getPersistence().findByG_F(groupId, folderId);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_F(long groupId, long folderId,
int start, int end) {
return getPersistence().findByG_F(groupId, folderId, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_F(long groupId, long folderId,
int start, int end, OrderByComparator orderByComparator) {
return getPersistence()
.findByG_F(groupId, folderId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_F(long groupId, long folderId,
int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_F(groupId, folderId, start, end, orderByComparator,
retrieveFromCache);
}
/**
* Returns the first journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_F_First(long groupId, long folderId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_F_First(groupId, folderId, orderByComparator);
}
/**
* Returns the first journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_F_First(long groupId, long folderId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_F_First(groupId, folderId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_F_Last(long groupId, long folderId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_F_Last(groupId, folderId, orderByComparator);
}
/**
* Returns the last journal article 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 journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_F_Last(long groupId, long folderId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_F_Last(groupId, folderId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?.
*
* @param id the primary key of the current journal article
* @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 journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_F_PrevAndNext(long id, long groupId,
long folderId, OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_F_PrevAndNext(id, groupId, folderId,
orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?.
*
* @param groupId the group ID
* @param folderId the folder ID
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long folderId) {
return getPersistence().filterFindByG_F(groupId, folderId);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long folderId, int start, int end) {
return getPersistence().filterFindByG_F(groupId, folderId, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long folderId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_F(groupId, folderId, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?.
*
* @param id the primary key of the current journal article
* @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 journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_F_PrevAndNext(long id,
long groupId, long folderId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_F_PrevAndNext(id, groupId, folderId,
orderByComparator);
}
/**
* Returns all the journal articles 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 journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long[] folderIds) {
return getPersistence().filterFindByG_F(groupId, folderIds);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long[] folderIds, int start, int end) {
return getPersistence().filterFindByG_F(groupId, folderIds, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_F(long groupId,
long[] folderIds, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_F(groupId, folderIds, start, end,
orderByComparator);
}
/**
* Returns all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
*/
public static List findByG_F(long groupId, long[] folderIds) {
return getPersistence().findByG_F(groupId, folderIds);
}
/**
* Returns a range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_F(long groupId,
long[] folderIds, int start, int end) {
return getPersistence().findByG_F(groupId, folderIds, start, end);
}
/**
* Returns an ordered range of all the journal articles 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_F(long groupId,
long[] folderIds, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_F(groupId, folderIds, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and folderId = ?, optionally using the finder cache.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_F(long groupId,
long[] folderIds, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_F(groupId, folderIds, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Removes all the journal articles where groupId = ? and folderId = ? from the database.
*
* @param groupId the group ID
* @param folderId the folder ID
*/
public static void removeByG_F(long groupId, long folderId) {
getPersistence().removeByG_F(groupId, folderId);
}
/**
* Returns the number of journal articles where groupId = ? and folderId = ?.
*
* @param groupId the group ID
* @param folderId the folder ID
* @return the number of matching journal articles
*/
public static int countByG_F(long groupId, long folderId) {
return getPersistence().countByG_F(groupId, folderId);
}
/**
* Returns the number of journal articles where groupId = ? and folderId = any ?.
*
* @param groupId the group ID
* @param folderIds the folder IDs
* @return the number of matching journal articles
*/
public static int countByG_F(long groupId, long[] folderIds) {
return getPersistence().countByG_F(groupId, folderIds);
}
/**
* Returns the number of journal articles 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 journal articles that the user has permission to view
*/
public static int filterCountByG_F(long groupId, long folderId) {
return getPersistence().filterCountByG_F(groupId, folderId);
}
/**
* Returns the number of journal articles 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 journal articles that the user has permission to view
*/
public static int filterCountByG_F(long groupId, long[] folderIds) {
return getPersistence().filterCountByG_F(groupId, folderIds);
}
/**
* Returns all the journal articles where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @return the matching journal articles
*/
public static List findByG_A(long groupId,
java.lang.String articleId) {
return getPersistence().findByG_A(groupId, articleId);
}
/**
* Returns a range of all the journal articles where groupId = ? and articleId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 articleId the article ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_A(long groupId,
java.lang.String articleId, int start, int end) {
return getPersistence().findByG_A(groupId, articleId, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and articleId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 articleId the article ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_A(long groupId,
java.lang.String articleId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_A(groupId, articleId, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and articleId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 articleId the article ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_A(long groupId,
java.lang.String articleId, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_A(groupId, articleId, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_A_First(long groupId,
java.lang.String articleId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_A_First(groupId, articleId, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_A_First(long groupId,
java.lang.String articleId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_A_First(groupId, articleId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_A_Last(long groupId,
java.lang.String articleId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_A_Last(groupId, articleId, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_A_Last(long groupId,
java.lang.String articleId,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_A_Last(groupId, articleId, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_A_PrevAndNext(long id, long groupId,
java.lang.String articleId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_A_PrevAndNext(id, groupId, articleId,
orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_A(long groupId,
java.lang.String articleId) {
return getPersistence().filterFindByG_A(groupId, articleId);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 articleId the article ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_A(long groupId,
java.lang.String articleId, int start, int end) {
return getPersistence().filterFindByG_A(groupId, articleId, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 articleId the article ID
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_A(long groupId,
java.lang.String articleId, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_A(groupId, articleId, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param articleId the article ID
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_A_PrevAndNext(long id,
long groupId, java.lang.String articleId,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_A_PrevAndNext(id, groupId, articleId,
orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? and articleId = ? from the database.
*
* @param groupId the group ID
* @param articleId the article ID
*/
public static void removeByG_A(long groupId, java.lang.String articleId) {
getPersistence().removeByG_A(groupId, articleId);
}
/**
* Returns the number of journal articles where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @return the number of matching journal articles
*/
public static int countByG_A(long groupId, java.lang.String articleId) {
return getPersistence().countByG_A(groupId, articleId);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?.
*
* @param groupId the group ID
* @param articleId the article ID
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByG_A(long groupId, java.lang.String articleId) {
return getPersistence().filterCountByG_A(groupId, articleId);
}
/**
* Returns all the journal articles where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @return the matching journal articles
*/
public static List findByG_UT(long groupId,
java.lang.String urlTitle) {
return getPersistence().findByG_UT(groupId, urlTitle);
}
/**
* Returns a range of all the journal articles where groupId = ? and urlTitle = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 urlTitle the url title
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int end) {
return getPersistence().findByG_UT(groupId, urlTitle, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 urlTitle the url title
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_UT(groupId, urlTitle, start, end, orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 urlTitle the url title
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_UT(groupId, urlTitle, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_UT_First(long groupId,
java.lang.String urlTitle,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_UT_First(groupId, urlTitle, orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_UT_First(long groupId,
java.lang.String urlTitle,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_UT_First(groupId, urlTitle, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_UT_Last(long groupId,
java.lang.String urlTitle,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_UT_Last(groupId, urlTitle, orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_UT_Last(long groupId,
java.lang.String urlTitle,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_UT_Last(groupId, urlTitle, orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_UT_PrevAndNext(long id,
long groupId, java.lang.String urlTitle,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_UT_PrevAndNext(id, groupId, urlTitle,
orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_UT(long groupId,
java.lang.String urlTitle) {
return getPersistence().filterFindByG_UT(groupId, urlTitle);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 urlTitle the url title
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_UT(long groupId,
java.lang.String urlTitle, int start, int end) {
return getPersistence().filterFindByG_UT(groupId, urlTitle, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 urlTitle the url title
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_UT(groupId, urlTitle, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param urlTitle the url title
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_UT_PrevAndNext(long id,
long groupId, java.lang.String urlTitle,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_UT_PrevAndNext(id, groupId, urlTitle,
orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? and urlTitle = ? from the database.
*
* @param groupId the group ID
* @param urlTitle the url title
*/
public static void removeByG_UT(long groupId, java.lang.String urlTitle) {
getPersistence().removeByG_UT(groupId, urlTitle);
}
/**
* Returns the number of journal articles where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @return the number of matching journal articles
*/
public static int countByG_UT(long groupId, java.lang.String urlTitle) {
return getPersistence().countByG_UT(groupId, urlTitle);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
*
* @param groupId the group ID
* @param urlTitle the url title
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByG_UT(long groupId, java.lang.String urlTitle) {
return getPersistence().filterCountByG_UT(groupId, urlTitle);
}
/**
* Returns all the journal articles where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @return the matching journal articles
*/
public static List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey) {
return getPersistence().findByG_DDMSK(groupId, DDMStructureKey);
}
/**
* Returns a range of all the journal articles where groupId = ? and DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end) {
return getPersistence()
.findByG_DDMSK(groupId, DDMStructureKey, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_DDMSK(groupId, DDMStructureKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_DDMSK(groupId, DDMStructureKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_DDMSK_First(long groupId,
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMSK_First(groupId, DDMStructureKey,
orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_DDMSK_First(long groupId,
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_DDMSK_First(groupId, DDMStructureKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_DDMSK_Last(long groupId,
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMSK_Last(groupId, DDMStructureKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_DDMSK_Last(long groupId,
java.lang.String DDMStructureKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_DDMSK_Last(groupId, DDMStructureKey,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_DDMSK_PrevAndNext(long id,
long groupId, java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMSK_PrevAndNext(id, groupId, DDMStructureKey,
orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMSK(long groupId,
java.lang.String DDMStructureKey) {
return getPersistence().filterFindByG_DDMSK(groupId, DDMStructureKey);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end) {
return getPersistence()
.filterFindByG_DDMSK(groupId, DDMStructureKey, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMStructureKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMStructureKey the d d m structure key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_DDMSK(groupId, DDMStructureKey, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_DDMSK_PrevAndNext(long id,
long groupId, java.lang.String DDMStructureKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_DDMSK_PrevAndNext(id, groupId,
DDMStructureKey, orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? and DDMStructureKey = ? from the database.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
*/
public static void removeByG_DDMSK(long groupId,
java.lang.String DDMStructureKey) {
getPersistence().removeByG_DDMSK(groupId, DDMStructureKey);
}
/**
* Returns the number of journal articles where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @return the number of matching journal articles
*/
public static int countByG_DDMSK(long groupId,
java.lang.String DDMStructureKey) {
return getPersistence().countByG_DDMSK(groupId, DDMStructureKey);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
*
* @param groupId the group ID
* @param DDMStructureKey the d d m structure key
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByG_DDMSK(long groupId,
java.lang.String DDMStructureKey) {
return getPersistence().filterCountByG_DDMSK(groupId, DDMStructureKey);
}
/**
* Returns all the journal articles where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @return the matching journal articles
*/
public static List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey) {
return getPersistence().findByG_DDMTK(groupId, DDMTemplateKey);
}
/**
* Returns a range of all the journal articles where groupId = ? and DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end) {
return getPersistence()
.findByG_DDMTK(groupId, DDMTemplateKey, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public static List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.findByG_DDMTK(groupId, DDMTemplateKey, start, end,
orderByComparator);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the ordered range of matching journal articles
*/
public static List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
OrderByComparator orderByComparator,
boolean retrieveFromCache) {
return getPersistence()
.findByG_DDMTK(groupId, DDMTemplateKey, start, end,
orderByComparator, retrieveFromCache);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_DDMTK_First(long groupId,
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMTK_First(groupId, DDMTemplateKey,
orderByComparator);
}
/**
* Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the first matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_DDMTK_First(long groupId,
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_DDMTK_First(groupId, DDMTemplateKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article
* @throws NoSuchArticleException if a matching journal article could not be found
*/
public static JournalArticle findByG_DDMTK_Last(long groupId,
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMTK_Last(groupId, DDMTemplateKey,
orderByComparator);
}
/**
* Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the last matching journal article, or null
if a matching journal article could not be found
*/
public static JournalArticle fetchByG_DDMTK_Last(long groupId,
java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator) {
return getPersistence()
.fetchByG_DDMTK_Last(groupId, DDMTemplateKey,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] findByG_DDMTK_PrevAndNext(long id,
long groupId, java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.findByG_DDMTK_PrevAndNext(id, groupId, DDMTemplateKey,
orderByComparator);
}
/**
* Returns all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @return the matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey) {
return getPersistence().filterFindByG_DDMTK(groupId, DDMTemplateKey);
}
/**
* Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end) {
return getPersistence()
.filterFindByG_DDMTK(groupId, DDMTemplateKey, start, end);
}
/**
* Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMTemplateKey = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 DDMTemplateKey the d d m template key
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles that the user has permission to view
*/
public static List filterFindByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
OrderByComparator orderByComparator) {
return getPersistence()
.filterFindByG_DDMTK(groupId, DDMTemplateKey, start, end,
orderByComparator);
}
/**
* Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
*
* @param id the primary key of the current journal article
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @param orderByComparator the comparator to order the set by (optionally null
)
* @return the previous, current, and next journal article
* @throws NoSuchArticleException if a journal article with the primary key could not be found
*/
public static JournalArticle[] filterFindByG_DDMTK_PrevAndNext(long id,
long groupId, java.lang.String DDMTemplateKey,
OrderByComparator orderByComparator)
throws com.liferay.journal.exception.NoSuchArticleException {
return getPersistence()
.filterFindByG_DDMTK_PrevAndNext(id, groupId,
DDMTemplateKey, orderByComparator);
}
/**
* Removes all the journal articles where groupId = ? and DDMTemplateKey = ? from the database.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
*/
public static void removeByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey) {
getPersistence().removeByG_DDMTK(groupId, DDMTemplateKey);
}
/**
* Returns the number of journal articles where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @return the number of matching journal articles
*/
public static int countByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey) {
return getPersistence().countByG_DDMTK(groupId, DDMTemplateKey);
}
/**
* Returns the number of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
*
* @param groupId the group ID
* @param DDMTemplateKey the d d m template key
* @return the number of matching journal articles that the user has permission to view
*/
public static int filterCountByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey) {
return getPersistence().filterCountByG_DDMTK(groupId, DDMTemplateKey);
}
/**
* Returns all the journal articles where groupId = ? and layoutUuid = ?.
*
* @param groupId the group ID
* @param layoutUuid the layout uuid
* @return the matching journal articles
*/
public static List findByG_L(long groupId,
java.lang.String layoutUuid) {
return getPersistence().findByG_L(groupId, layoutUuid);
}
/**
* Returns a range of all the journal articles where groupId = ? and layoutUuid = ?.
*
*
* 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link JournalArticleModelImpl}. 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 layoutUuid the layout uuid
* @param start the lower bound of the range of journal articles
* @param end the upper bound of the range of journal articles (not inclusive)
* @return the range of matching journal articles
*/
public static List findByG_L(long groupId,
java.lang.String layoutUuid, int start, int end) {
return getPersistence().findByG_L(groupId, layoutUuid, start, end);
}
/**
* Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?.
*
*
* Useful when paginating results. Returns a maximum of