com.liferay.journal.service.persistence.JournalArticlePersistence 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.exception.NoSuchArticleException;
import com.liferay.journal.model.JournalArticle;
import com.liferay.portal.kernel.service.persistence.BasePersistence;
import java.util.Date;
/**
* The persistence interface for the journal article service.
*
*
* Caching information and settings can be found in portal.properties
*
*
* @author Brian Wing Shun Chan
* @see com.liferay.journal.service.persistence.impl.JournalArticlePersistenceImpl
* @see JournalArticleUtil
* @generated
*/
@ProviderType
public interface JournalArticlePersistence extends BasePersistence {
/*
* NOTE FOR DEVELOPERS:
*
* Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns all the journal articles where uuid = ?.
*
* @param uuid the uuid
* @return the matching journal articles
*/
public java.util.List findByUuid(java.lang.String 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 java.util.List findByUuid(java.lang.String uuid,
int start, int 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 java.util.List findByUuid(java.lang.String uuid,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByUuid(java.lang.String uuid,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where uuid = ? from the database.
*
* @param uuid the uuid
*/
public void removeByUuid(java.lang.String uuid);
/**
* Returns the number of journal articles where uuid = ?.
*
* @param uuid the uuid
* @return the number of matching journal articles
*/
public int countByUuid(java.lang.String 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 JournalArticle findByUUID_G(java.lang.String uuid, long groupId)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByUUID_G(java.lang.String uuid, long 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 JournalArticle fetchByUUID_G(java.lang.String uuid, long groupId,
boolean 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 JournalArticle removeByUUID_G(java.lang.String uuid, long groupId)
throws NoSuchArticleException;
/**
* 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 int countByUUID_G(java.lang.String uuid, long 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 java.util.List findByUuid_C(java.lang.String uuid,
long 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 java.util.List findByUuid_C(java.lang.String uuid,
long companyId, int start, int 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 java.util.List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByUuid_C(java.lang.String uuid,
long companyId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByUuid_C_PrevAndNext(long id,
java.lang.String uuid, long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where uuid = ? and companyId = ? from the database.
*
* @param uuid the uuid
* @param companyId the company ID
*/
public void removeByUuid_C(java.lang.String uuid, long 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 int countByUuid_C(java.lang.String uuid, long companyId);
/**
* Returns all the journal articles where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @return the matching journal articles
*/
public java.util.List findByResourcePrimKey(
long 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 java.util.List findByResourcePrimKey(
long resourcePrimKey, int start, int 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 java.util.List findByResourcePrimKey(
long resourcePrimKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByResourcePrimKey(
long resourcePrimKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByResourcePrimKey_First(long resourcePrimKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByResourcePrimKey_Last(long resourcePrimKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByResourcePrimKey_PrevAndNext(long id,
long resourcePrimKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where resourcePrimKey = ? from the database.
*
* @param resourcePrimKey the resource prim key
*/
public void removeByResourcePrimKey(long resourcePrimKey);
/**
* Returns the number of journal articles where resourcePrimKey = ?.
*
* @param resourcePrimKey the resource prim key
* @return the number of matching journal articles
*/
public int countByResourcePrimKey(long resourcePrimKey);
/**
* Returns all the journal articles where groupId = ?.
*
* @param groupId the group ID
* @return the matching journal articles
*/
public java.util.List findByGroupId(long 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 java.util.List findByGroupId(long groupId,
int start, int 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 java.util.List findByGroupId(long groupId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByGroupId(long groupId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByGroupId(long 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 java.util.List filterFindByGroupId(long groupId,
int start, int 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 java.util.List filterFindByGroupId(long groupId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where groupId = ? from the database.
*
* @param groupId the group ID
*/
public void removeByGroupId(long groupId);
/**
* Returns the number of journal articles where groupId = ?.
*
* @param groupId the group ID
* @return the number of matching journal articles
*/
public int countByGroupId(long 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 int filterCountByGroupId(long groupId);
/**
* Returns all the journal articles where companyId = ?.
*
* @param companyId the company ID
* @return the matching journal articles
*/
public java.util.List findByCompanyId(long 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 java.util.List findByCompanyId(long companyId,
int start, int 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 java.util.List findByCompanyId(long companyId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByCompanyId(long companyId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where companyId = ? from the database.
*
* @param companyId the company ID
*/
public void removeByCompanyId(long companyId);
/**
* Returns the number of journal articles where companyId = ?.
*
* @param companyId the company ID
* @return the number of matching journal articles
*/
public int countByCompanyId(long companyId);
/**
* Returns all the journal articles where DDMStructureKey = ?.
*
* @param DDMStructureKey the d d m structure key
* @return the matching journal articles
*/
public java.util.List findByDDMStructureKey(
java.lang.String 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 java.util.List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int 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 java.util.List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByDDMStructureKey(
java.lang.String DDMStructureKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByDDMStructureKey_First(
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByDDMStructureKey_First(
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByDDMStructureKey_Last(
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByDDMStructureKey_Last(
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByDDMStructureKey_PrevAndNext(long id,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List findByDDMStructureKey(
java.lang.String[] 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 java.util.List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int 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 java.util.List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByDDMStructureKey(
java.lang.String[] DDMStructureKeies, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean retrieveFromCache);
/**
* Removes all the journal articles where DDMStructureKey = ? from the database.
*
* @param DDMStructureKey the d d m structure key
*/
public void removeByDDMStructureKey(java.lang.String 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 int countByDDMStructureKey(java.lang.String 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 int countByDDMStructureKey(java.lang.String[] DDMStructureKeies);
/**
* Returns all the journal articles where DDMTemplateKey = ?.
*
* @param DDMTemplateKey the d d m template key
* @return the matching journal articles
*/
public java.util.List findByDDMTemplateKey(
java.lang.String 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 java.util.List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int 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 java.util.List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByDDMTemplateKey(
java.lang.String DDMTemplateKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByDDMTemplateKey_First(
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByDDMTemplateKey_First(
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByDDMTemplateKey_Last(
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByDDMTemplateKey_Last(
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByDDMTemplateKey_PrevAndNext(long id,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where DDMTemplateKey = ? from the database.
*
* @param DDMTemplateKey the d d m template key
*/
public void removeByDDMTemplateKey(java.lang.String 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 int countByDDMTemplateKey(java.lang.String DDMTemplateKey);
/**
* Returns all the journal articles where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @return the matching journal articles
*/
public java.util.List findByLayoutUuid(
java.lang.String 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 java.util.List findByLayoutUuid(
java.lang.String layoutUuid, int start, int 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 java.util.List findByLayoutUuid(
java.lang.String layoutUuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByLayoutUuid(
java.lang.String layoutUuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByLayoutUuid_PrevAndNext(long id,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where layoutUuid = ? from the database.
*
* @param layoutUuid the layout uuid
*/
public void removeByLayoutUuid(java.lang.String layoutUuid);
/**
* Returns the number of journal articles where layoutUuid = ?.
*
* @param layoutUuid the layout uuid
* @return the number of matching journal articles
*/
public int countByLayoutUuid(java.lang.String layoutUuid);
/**
* Returns all the journal articles where smallImageId = ?.
*
* @param smallImageId the small image ID
* @return the matching journal articles
*/
public java.util.List findBySmallImageId(long 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 java.util.List findBySmallImageId(
long smallImageId, int start, int 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 java.util.List findBySmallImageId(
long smallImageId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findBySmallImageId(
long smallImageId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findBySmallImageId_First(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchBySmallImageId_First(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findBySmallImageId_Last(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchBySmallImageId_Last(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findBySmallImageId_PrevAndNext(long id,
long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where smallImageId = ? from the database.
*
* @param smallImageId the small image ID
*/
public void removeBySmallImageId(long smallImageId);
/**
* Returns the number of journal articles where smallImageId = ?.
*
* @param smallImageId the small image ID
* @return the number of matching journal articles
*/
public int countBySmallImageId(long 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 java.util.List findByR_I(long resourcePrimKey,
boolean 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 java.util.List findByR_I(long resourcePrimKey,
boolean indexable, int start, int 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 java.util.List findByR_I(long resourcePrimKey,
boolean indexable, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByR_I(long resourcePrimKey,
boolean indexable, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByR_I_First(long resourcePrimKey,
boolean indexable,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByR_I_First(long resourcePrimKey,
boolean indexable,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByR_I_Last(long resourcePrimKey,
boolean indexable,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByR_I_Last(long resourcePrimKey,
boolean indexable,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByR_I_PrevAndNext(long id,
long resourcePrimKey, boolean indexable,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database.
*
* @param resourcePrimKey the resource prim key
* @param indexable the indexable
*/
public void removeByR_I(long resourcePrimKey, boolean 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 int countByR_I(long resourcePrimKey, boolean 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 java.util.List findByR_ST(long resourcePrimKey,
int 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 java.util.List findByR_ST(long resourcePrimKey,
int status, int start, int 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 java.util.List findByR_ST(long resourcePrimKey,
int status, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByR_ST(long resourcePrimKey,
int status, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByR_ST_First(long resourcePrimKey, int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByR_ST_First(long resourcePrimKey, int status,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByR_ST_Last(long resourcePrimKey, int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByR_ST_Last(long resourcePrimKey, int status,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByR_ST_PrevAndNext(long id,
long resourcePrimKey, int status,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List findByR_ST(long resourcePrimKey,
int[] 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 java.util.List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int 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 java.util.List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByR_ST(long resourcePrimKey,
int[] statuses, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean retrieveFromCache);
/**
* Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.
*
* @param resourcePrimKey the resource prim key
* @param status the status
*/
public void removeByR_ST(long resourcePrimKey, int 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 int countByR_ST(long resourcePrimKey, int 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 int countByR_ST(long resourcePrimKey, int[] 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 java.util.List findByG_U(long groupId, long 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 java.util.List findByG_U(long groupId, long userId,
int start, int 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 java.util.List findByG_U(long groupId, long userId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_U(long groupId, long userId,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_U_First(long groupId, long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_U_First(long groupId, long userId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_U_Last(long groupId, long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_U_Last(long groupId, long userId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_U_PrevAndNext(long id, long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_U(long groupId,
long 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 java.util.List filterFindByG_U(long groupId,
long userId, int start, int 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 java.util.List filterFindByG_U(long groupId,
long userId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_U_PrevAndNext(long id, long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where groupId = ? and userId = ? from the database.
*
* @param groupId the group ID
* @param userId the user ID
*/
public void removeByG_U(long groupId, long 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 int countByG_U(long groupId, long 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 int filterCountByG_U(long groupId, long 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 java.util.List findByG_F(long groupId, long 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 java.util.List findByG_F(long groupId,
long folderId, int start, int 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 java.util.List findByG_F(long groupId,
long folderId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_F(long groupId,
long folderId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_F_First(long groupId, long folderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_F_First(long groupId, long folderId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_F_Last(long groupId, long folderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_F_Last(long groupId, long folderId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_F_PrevAndNext(long id, long groupId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_F(long groupId,
long 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 java.util.List filterFindByG_F(long groupId,
long folderId, int start, int 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 java.util.List filterFindByG_F(long groupId,
long folderId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_F_PrevAndNext(long id, long groupId,
long folderId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_F(long groupId,
long[] 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 java.util.List filterFindByG_F(long groupId,
long[] folderIds, int start, int 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 java.util.List filterFindByG_F(long groupId,
long[] folderIds, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_F(long groupId,
long[] 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 java.util.List findByG_F(long groupId,
long[] folderIds, int start, int 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 java.util.List findByG_F(long groupId,
long[] folderIds, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_F(long groupId,
long[] folderIds, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean retrieveFromCache);
/**
* Removes all the journal articles where groupId = ? and folderId = ? from the database.
*
* @param groupId the group ID
* @param folderId the folder ID
*/
public void removeByG_F(long groupId, long 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 int countByG_F(long groupId, long 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 int countByG_F(long groupId, long[] 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 int filterCountByG_F(long groupId, long 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 int filterCountByG_F(long groupId, long[] 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 java.util.List findByG_A(long groupId,
java.lang.String 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 java.util.List findByG_A(long groupId,
java.lang.String articleId, int start, int 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 java.util.List findByG_A(long groupId,
java.lang.String articleId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_A(long groupId,
java.lang.String articleId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_A_PrevAndNext(long id, long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_A(long groupId,
java.lang.String 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 java.util.List filterFindByG_A(long groupId,
java.lang.String articleId, int start, int 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 java.util.List filterFindByG_A(long groupId,
java.lang.String articleId, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_A_PrevAndNext(long id, long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where groupId = ? and articleId = ? from the database.
*
* @param groupId the group ID
* @param articleId the article ID
*/
public void removeByG_A(long groupId, java.lang.String 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 int countByG_A(long groupId, java.lang.String 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 int filterCountByG_A(long groupId, java.lang.String 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 java.util.List findByG_UT(long groupId,
java.lang.String 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 java.util.List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int 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 java.util.List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_UT_First(long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_UT_First(long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_UT_Last(long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_UT_Last(long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_UT(long groupId,
java.lang.String 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 java.util.List filterFindByG_UT(long groupId,
java.lang.String urlTitle, int start, int 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 java.util.List filterFindByG_UT(long groupId,
java.lang.String urlTitle, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_UT_PrevAndNext(long id, long groupId,
java.lang.String urlTitle,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* Removes all the journal articles where groupId = ? and urlTitle = ? from the database.
*
* @param groupId the group ID
* @param urlTitle the url title
*/
public void removeByG_UT(long groupId, java.lang.String 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 int countByG_UT(long groupId, java.lang.String 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 int filterCountByG_UT(long groupId, java.lang.String 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 java.util.List findByG_DDMSK(long groupId,
java.lang.String 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 java.util.List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int 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 java.util.List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_DDMSK_First(long groupId,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_DDMSK_First(long groupId,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_DDMSK_Last(long groupId,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_DDMSK_Last(long groupId,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_DDMSK_PrevAndNext(long id, long groupId,
java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_DDMSK(long groupId,
java.lang.String 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 java.util.List filterFindByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int 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 java.util.List filterFindByG_DDMSK(long groupId,
java.lang.String DDMStructureKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_DDMSK_PrevAndNext(long id,
long groupId, java.lang.String DDMStructureKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 void removeByG_DDMSK(long groupId, java.lang.String 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 int countByG_DDMSK(long groupId, java.lang.String 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 int filterCountByG_DDMSK(long groupId,
java.lang.String 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 java.util.List findByG_DDMTK(long groupId,
java.lang.String 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 java.util.List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int 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 java.util.List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 java.util.List findByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean 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 JournalArticle findByG_DDMTK_First(long groupId,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_DDMTK_First(long groupId,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle findByG_DDMTK_Last(long groupId,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 JournalArticle fetchByG_DDMTK_Last(long groupId,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] findByG_DDMTK_PrevAndNext(long id, long groupId,
java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 java.util.List filterFindByG_DDMTK(long groupId,
java.lang.String 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 java.util.List filterFindByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int 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 java.util.List filterFindByG_DDMTK(long groupId,
java.lang.String DDMTemplateKey, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator 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 JournalArticle[] filterFindByG_DDMTK_PrevAndNext(long id,
long groupId, java.lang.String DDMTemplateKey,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchArticleException;
/**
* 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 void removeByG_DDMTK(long groupId, java.lang.String 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 int countByG_DDMTK(long groupId, java.lang.String 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 int filterCountByG_DDMTK(long groupId,
java.lang.String 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 java.util.List findByG_L(long groupId,
java.lang.String 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 java.util.List findByG_L(long groupId,
java.lang.String layoutUuid, int start, int end);
/**
* Returns an ordered 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)
* @param orderByComparator the comparator to order the results by (optionally null
)
* @return the ordered range of matching journal articles
*/
public java.util.List findByG_L(long groupId,
java.lang.String layoutUuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator);
/**
* Returns an ordered 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)
* @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 java.util.List findByG_L(long groupId,
java.lang.String layoutUuid, int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean retrieveFromCache);
/**
* Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
*
* @param groupId the group ID
* @param layoutUuid the layout uuid
* @param orderByComparator the comparator to order the set by (optionally