Liferay 6.2-ce-ga5

com.liferay.portlet.journal.service.persistence
Class JournalArticleUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.persistence.JournalArticleUtil

@ProviderType
public class JournalArticleUtil
extends Object

The persistence utility for the journal article service. This utility wraps JournalArticlePersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
JournalArticlePersistence, JournalArticlePersistenceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
JournalArticleUtil()
           
 
Method Summary
static void cacheResult(JournalArticle journalArticle)
          Caches the journal article in the entity cache if it is enabled.
static void cacheResult(List<JournalArticle> journalArticles)
          Caches the journal articles in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(JournalArticle journalArticle)
           
static int countAll()
          Returns the number of journal articles.
static int countByC_NotST(long companyId, int status)
          Returns the number of journal articles where companyId = ? and status ≠ ?.
static int countByC_ST(long companyId, int status)
          Returns the number of journal articles where companyId = ? and status = ?.
static int countByC_T(long classNameId, String templateId)
          Returns the number of journal articles where classNameId = ? and templateId = ?.
static int countByC_V_ST(long companyId, double version, int status)
          Returns the number of journal articles where companyId = ? and version = ? and status = ?.
static int countByC_V(long companyId, double version)
          Returns the number of journal articles where companyId = ? and version = ?.
static int countByCompanyId(long companyId)
          Returns the number of journal articles where companyId = ?.
static int countByG_A_NotST(long groupId, String articleId, int status)
          Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?.
static int countByG_A_ST(long groupId, String articleId, int status)
          Returns the number of journal articles where groupId = ? and articleId = ? and status = ?.
static int countByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?.
static int countByG_A_V(long groupId, String articleId, double version)
          Returns the number of journal articles where groupId = ? and articleId = ? and version = ?.
static int countByG_A(long groupId, String articleId)
          Returns the number of journal articles where groupId = ? and articleId = ?.
static int countByG_C_C(long groupId, long classNameId, long classPK)
          Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?.
static int countByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
static int countByG_C_S(long groupId, long classNameId, String structureId)
          Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?.
static int countByG_C_T(long groupId, long classNameId, String templateId)
          Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?.
static int countByG_F_ST(long groupId, long folderId, int status)
          Returns the number of journal articles where groupId = ? and folderId = ? and status = ?.
static int countByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?.
static int countByG_F(long groupId, long folderId)
          Returns the number of journal articles where groupId = ? and folderId = ?.
static int countByG_F(long groupId, long[] folderIds)
          Returns the number of journal articles where groupId = ? and folderId = any ?.
static int countByG_L(long groupId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and layoutUuid = ?.
static int countByG_S(long groupId, String structureId)
          Returns the number of journal articles where groupId = ? and structureId = ?.
static int countByG_ST(long groupId, int status)
          Returns the number of journal articles where groupId = ? and status = ?.
static int countByG_T(long groupId, String templateId)
          Returns the number of journal articles where groupId = ? and templateId = ?.
static int countByG_U_C(long groupId, long userId, long classNameId)
          Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?.
static int countByG_U(long groupId, long userId)
          Returns the number of journal articles where groupId = ? and userId = ?.
static int countByG_UT_ST(long groupId, String urlTitle, int status)
          Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?.
static int countByG_UT(long groupId, String urlTitle)
          Returns the number of journal articles where groupId = ? and urlTitle = ?.
static int countByGroupId(long groupId)
          Returns the number of journal articles where groupId = ?.
static int countByLayoutUuid(String layoutUuid)
          Returns the number of journal articles where layoutUuid = ?.
static int countByLtD_S(Date displayDate, int status)
          Returns the number of journal articles where displayDate < ? and status = ?.
static int countByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
static int countByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
static int countByR_I(long resourcePrimKey, boolean indexable)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ?.
static int countByR_ST(long resourcePrimKey, int status)
          Returns the number of journal articles where resourcePrimKey = ? and status = ?.
static int countByR_ST(long resourcePrimKey, int[] statuses)
          Returns the number of journal articles where resourcePrimKey = ? and status = any ?.
static int countByResourcePrimKey(long resourcePrimKey)
          Returns the number of journal articles where resourcePrimKey = ?.
static int countBySmallImageId(long smallImageId)
          Returns the number of journal articles where smallImageId = ?.
static int countByStructureId(String structureId)
          Returns the number of journal articles where structureId = ?.
static int countByStructureId(String[] structureIds)
          Returns the number of journal articles where structureId = any ?.
static int countByTemplateId(String templateId)
          Returns the number of journal articles where templateId = ?.
static int countByUuid_C(String uuid, long companyId)
          Returns the number of journal articles where uuid = ? and companyId = ?.
static int countByUUID_G(String uuid, long groupId)
          Returns the number of journal articles where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Returns the number of journal articles where uuid = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static JournalArticle create(long id)
          Creates a new journal article with the primary key.
static JournalArticle fetchByC_NotST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.
static JournalArticle fetchByC_NotST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.
static JournalArticle fetchByC_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
static JournalArticle fetchByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status = ?.
static JournalArticle fetchByC_T_First(long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where classNameId = ? and templateId = ?.
static JournalArticle fetchByC_T_Last(long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where classNameId = ? and templateId = ?.
static JournalArticle fetchByC_V_First(long companyId, double version, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
static JournalArticle fetchByC_V_Last(long companyId, double version, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ?.
static JournalArticle fetchByC_V_ST_First(long companyId, double version, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.
static JournalArticle fetchByC_V_ST_Last(long companyId, double version, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.
static JournalArticle fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
static JournalArticle fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
static JournalArticle fetchByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle fetchByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle fetchByG_A_NotST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle fetchByG_A_NotST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle fetchByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
static JournalArticle fetchByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
static JournalArticle fetchByG_A_V(long groupId, String articleId, double version)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found.
static JournalArticle fetchByG_A_V(long groupId, String articleId, double version, boolean retrieveFromCache)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
static JournalArticle fetchByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle fetchByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle fetchByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle fetchByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle fetchByG_C_S(long groupId, long classNameId, String structureId)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found.
static JournalArticle fetchByG_C_S(long groupId, long classNameId, String structureId, boolean retrieveFromCache)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found, optionally using the finder cache.
static JournalArticle fetchByG_C_T_First(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle fetchByG_C_T_Last(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle fetchByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ?.
static JournalArticle fetchByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ?.
static JournalArticle fetchByG_F_ST_First(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
static JournalArticle fetchByG_F_ST_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
static JournalArticle fetchByG_L_First(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
static JournalArticle fetchByG_L_Last(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.
static JournalArticle fetchByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and structureId = ?.
static JournalArticle fetchByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and structureId = ?.
static JournalArticle fetchByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
static JournalArticle fetchByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and status = ?.
static JournalArticle fetchByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and templateId = ?.
static JournalArticle fetchByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and templateId = ?.
static JournalArticle fetchByG_U_C_First(long groupId, long userId, long classNameId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle fetchByG_U_C_Last(long groupId, long userId, long classNameId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle fetchByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ?.
static JournalArticle fetchByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ?.
static JournalArticle fetchByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle fetchByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle fetchByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
static JournalArticle fetchByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
static JournalArticle fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
static JournalArticle fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
static JournalArticle fetchByLayoutUuid_First(String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
static JournalArticle fetchByLayoutUuid_Last(String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
static JournalArticle fetchByLtD_S_First(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where displayDate < ? and status = ?.
static JournalArticle fetchByLtD_S_Last(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where displayDate < ? and status = ?.
static JournalArticle fetchByPrimaryKey(long id)
          Returns the journal article with the primary key or returns null if it could not be found.
static JournalArticle fetchByR_I_First(long resourcePrimKey, boolean indexable, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
static JournalArticle fetchByR_I_Last(long resourcePrimKey, boolean indexable, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
static JournalArticle fetchByR_I_S_First(long resourcePrimKey, boolean indexable, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
static JournalArticle fetchByR_I_S_Last(long resourcePrimKey, boolean indexable, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
static JournalArticle fetchByR_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
static JournalArticle fetchByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
static JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle fetchBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
static JournalArticle fetchBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
static JournalArticle fetchByStructureId_First(String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where structureId = ?.
static JournalArticle fetchByStructureId_Last(String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where structureId = ?.
static JournalArticle fetchByTemplateId_First(String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where templateId = ?.
static JournalArticle fetchByTemplateId_Last(String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where templateId = ?.
static JournalArticle fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where uuid = ? and companyId = ?.
static JournalArticle fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where uuid = ? and companyId = ?.
static JournalArticle fetchByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where uuid = ?.
static JournalArticle fetchByUUID_G(String uuid, long groupId)
          Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found.
static JournalArticle fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static JournalArticle fetchByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
static int filterCountByG_A_NotST(long groupId, String articleId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
static int filterCountByG_A_ST(long groupId, String articleId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
static int filterCountByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
static int filterCountByG_A(long groupId, String articleId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?.
static int filterCountByG_C_C(long groupId, long classNameId, long classPK)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
static int filterCountByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
static int filterCountByG_C_T(long groupId, long classNameId, String templateId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
static int filterCountByG_F_ST(long groupId, long folderId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
static int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
static int filterCountByG_F(long groupId, long folderId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?.
static int filterCountByG_F(long groupId, long[] folderIds)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?.
static int filterCountByG_L(long groupId, String layoutUuid)
          Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
static int filterCountByG_S(long groupId, String structureId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?.
static int filterCountByG_ST(long groupId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?.
static int filterCountByG_T(long groupId, String templateId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?.
static int filterCountByG_U_C(long groupId, long userId, long classNameId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
static int filterCountByG_U(long groupId, long userId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?.
static int filterCountByG_UT_ST(long groupId, String urlTitle, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
static int filterCountByG_UT(long groupId, String urlTitle)
          Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
static int filterCountByGroupId(long groupId)
          Returns the number of journal articles that the user has permission to view where groupId = ?.
static JournalArticle[] filterFindByG_A_NotST_PrevAndNext(long id, long groupId, String articleId, int status, 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 = ? and status ≠ ?.
static List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
static List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
static List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle[] filterFindByG_A_PrevAndNext(long id, long groupId, String articleId, 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 = ?.
static JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, 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 = ? and status = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?.
static JournalArticle[] filterFindByG_C_C_PrevAndNext(long id, long groupId, long classNameId, long classPK, 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 classNameId = ? and classPK = ?.
static List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
static List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
static List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle[] filterFindByG_C_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, 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 classNameId = ? and layoutUuid = ?.
static List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
static List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
static List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle[] filterFindByG_C_T_PrevAndNext(long id, long groupId, long classNameId, String templateId, 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 classNameId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle[] filterFindByG_F_PrevAndNext(long id, long groupId, long folderId, 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 = ?.
static JournalArticle[] filterFindByG_F_ST_PrevAndNext(long id, long groupId, long folderId, int status, 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 = ? and status = ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> filterFindByG_F(long groupId, long folderId)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?.
static List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
static List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
static List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
static List<JournalArticle> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?.
static List<JournalArticle> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?.
static JournalArticle[] filterFindByG_L_PrevAndNext(long id, long groupId, String layoutUuid, 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 layoutUuid = ?.
static List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid)
          Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
static List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
static List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?.
static JournalArticle[] filterFindByG_S_PrevAndNext(long id, long groupId, String structureId, 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 structureId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId)
          Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?.
static JournalArticle[] filterFindByG_ST_PrevAndNext(long id, long groupId, int status, 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 status = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and status = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?.
static JournalArticle[] filterFindByG_T_PrevAndNext(long id, long groupId, String templateId, 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 templateId = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId)
          Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?.
static JournalArticle[] filterFindByG_U_C_PrevAndNext(long id, long groupId, long userId, long classNameId, 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 = ? and classNameId = ?.
static List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId)
          Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
static List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
static List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle[] filterFindByG_U_PrevAndNext(long id, long groupId, long userId, 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 = ?.
static List<JournalArticle> filterFindByG_U(long groupId, long userId)
          Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?.
static List<JournalArticle> filterFindByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?.
static List<JournalArticle> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?.
static JournalArticle[] filterFindByG_UT_PrevAndNext(long id, long groupId, String urlTitle, 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 = ?.
static JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, 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 = ? and status = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle)
          Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?.
static JournalArticle[] filterFindByGroupId_PrevAndNext(long id, long groupId, 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 = ?.
static List<JournalArticle> filterFindByGroupId(long groupId)
          Returns all the journal articles that the user has permission to view where groupId = ?.
static List<JournalArticle> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ?.
static List<JournalArticle> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?.
static List<JournalArticle> findAll()
          Returns all the journal articles.
static List<JournalArticle> findAll(int start, int end)
          Returns a range of all the journal articles.
static List<JournalArticle> findAll(int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles.
static JournalArticle findByC_NotST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.
static JournalArticle findByC_NotST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.
static JournalArticle[] findByC_NotST_PrevAndNext(long id, long companyId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?.
static List<JournalArticle> findByC_NotST(long companyId, int status)
          Returns all the journal articles where companyId = ? and status ≠ ?.
static List<JournalArticle> findByC_NotST(long companyId, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and status ≠ ?.
static List<JournalArticle> findByC_NotST(long companyId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?.
static JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
static JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status = ?.
static JournalArticle[] findByC_ST_PrevAndNext(long id, long companyId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?.
static List<JournalArticle> findByC_ST(long companyId, int status)
          Returns all the journal articles where companyId = ? and status = ?.
static List<JournalArticle> findByC_ST(long companyId, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and status = ?.
static List<JournalArticle> findByC_ST(long companyId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and status = ?.
static JournalArticle findByC_T_First(long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where classNameId = ? and templateId = ?.
static JournalArticle findByC_T_Last(long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where classNameId = ? and templateId = ?.
static JournalArticle[] findByC_T_PrevAndNext(long id, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and templateId = ?.
static List<JournalArticle> findByC_T(long classNameId, String templateId)
          Returns all the journal articles where classNameId = ? and templateId = ?.
static List<JournalArticle> findByC_T(long classNameId, String templateId, int start, int end)
          Returns a range of all the journal articles where classNameId = ? and templateId = ?.
static List<JournalArticle> findByC_T(long classNameId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where classNameId = ? and templateId = ?.
static JournalArticle findByC_V_First(long companyId, double version, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
static JournalArticle findByC_V_Last(long companyId, double version, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ?.
static JournalArticle[] findByC_V_PrevAndNext(long id, long companyId, double version, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?.
static JournalArticle findByC_V_ST_First(long companyId, double version, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.
static JournalArticle findByC_V_ST_Last(long companyId, double version, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.
static JournalArticle[] findByC_V_ST_PrevAndNext(long id, long companyId, double version, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?.
static List<JournalArticle> findByC_V_ST(long companyId, double version, int status)
          Returns all the journal articles where companyId = ? and version = ? and status = ?.
static List<JournalArticle> findByC_V_ST(long companyId, double version, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and version = ? and status = ?.
static List<JournalArticle> findByC_V_ST(long companyId, double version, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?.
static List<JournalArticle> findByC_V(long companyId, double version)
          Returns all the journal articles where companyId = ? and version = ?.
static List<JournalArticle> findByC_V(long companyId, double version, int start, int end)
          Returns a range of all the journal articles where companyId = ? and version = ?.
static List<JournalArticle> findByC_V(long companyId, double version, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and version = ?.
static JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
static JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
static JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId)
          Returns all the journal articles where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the journal articles where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ?.
static JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle findByG_A_NotST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle findByG_A_NotST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle[] findByG_A_NotST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
static List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status)
          Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
static List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
static List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
static JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
static JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
static JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status)
          Returns all the journal articles where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns all the journal articles where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.
static JournalArticle findByG_A_V(long groupId, String articleId, double version)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.
static List<JournalArticle> findByG_A(long groupId, String articleId)
          Returns all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ?.
static JournalArticle findByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle findByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle[] findByG_C_C_PrevAndNext(long id, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
static List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK)
          Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
static List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
static List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
static JournalArticle findByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle findByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle[] findByG_C_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
static JournalArticle findByG_C_S(long groupId, long classNameId, String structureId)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a NoSuchArticleException if it could not be found.
static JournalArticle findByG_C_T_First(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle findByG_C_T_Last(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle[] findByG_C_T_PrevAndNext(long id, long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
static List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId)
          Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
static List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
static List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
static JournalArticle findByG_F_First(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ?.
static JournalArticle findByG_F_Last(long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ?.
static JournalArticle[] findByG_F_PrevAndNext(long id, long groupId, long folderId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?.
static JournalArticle findByG_F_ST_First(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
static JournalArticle findByG_F_ST_Last(long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
static JournalArticle[] findByG_F_ST_PrevAndNext(long id, long groupId, long folderId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status)
          Returns all the journal articles where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns all the journal articles where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?.
static List<JournalArticle> findByG_F(long groupId, long folderId)
          Returns all the journal articles where groupId = ? and folderId = ?.
static List<JournalArticle> findByG_F(long groupId, long[] folderIds)
          Returns all the journal articles where groupId = ? and folderId = any ?.
static List<JournalArticle> findByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = any ?.
static List<JournalArticle> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?.
static List<JournalArticle> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ?.
static List<JournalArticle> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ?.
static JournalArticle findByG_L_First(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
static JournalArticle findByG_L_Last(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.
static JournalArticle[] findByG_L_PrevAndNext(long id, long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_L(long groupId, String layoutUuid)
          Returns all the journal articles where groupId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_L(long groupId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles where groupId = ? and layoutUuid = ?.
static List<JournalArticle> findByG_L(long groupId, String layoutUuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?.
static JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and structureId = ?.
static JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and structureId = ?.
static JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?.
static List<JournalArticle> findByG_S(long groupId, String structureId)
          Returns all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and structureId = ?.
static JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
static JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and status = ?.
static JournalArticle[] findByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?.
static List<JournalArticle> findByG_ST(long groupId, int status)
          Returns all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> findByG_ST(long groupId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> findByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and status = ?.
static JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and templateId = ?.
static JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and templateId = ?.
static JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?.
static List<JournalArticle> findByG_T(long groupId, String templateId)
          Returns all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and templateId = ?.
static JournalArticle findByG_U_C_First(long groupId, long userId, long classNameId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle findByG_U_C_Last(long groupId, long userId, long classNameId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle[] findByG_U_C_PrevAndNext(long id, long groupId, long userId, long classNameId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
static List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId)
          Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?.
static List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.
static List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.
static JournalArticle findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ?.
static JournalArticle findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ?.
static JournalArticle[] findByG_U_PrevAndNext(long id, long groupId, long userId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?.
static List<JournalArticle> findByG_U(long groupId, long userId)
          Returns all the journal articles where groupId = ? and userId = ?.
static List<JournalArticle> findByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and userId = ?.
static List<JournalArticle> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and userId = ?.
static JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle findByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
static JournalArticle findByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
static JournalArticle[] findByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status)
          Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> findByG_UT(long groupId, String urlTitle)
          Returns all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end)
          Returns a range of all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
static JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
static JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
static JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId)
          Returns all the journal articles where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId, int start, int end)
          Returns a range of all the journal articles where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ?.
static JournalArticle findByLayoutUuid_First(String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
static JournalArticle findByLayoutUuid_Last(String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
static JournalArticle[] findByLayoutUuid_PrevAndNext(long id, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?.
static List<JournalArticle> findByLayoutUuid(String layoutUuid)
          Returns all the journal articles where layoutUuid = ?.
static List<JournalArticle> findByLayoutUuid(String layoutUuid, int start, int end)
          Returns a range of all the journal articles where layoutUuid = ?.
static List<JournalArticle> findByLayoutUuid(String layoutUuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where layoutUuid = ?.
static JournalArticle findByLtD_S_First(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where displayDate < ? and status = ?.
static JournalArticle findByLtD_S_Last(Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where displayDate < ? and status = ?.
static JournalArticle[] findByLtD_S_PrevAndNext(long id, Date displayDate, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?.
static List<JournalArticle> findByLtD_S(Date displayDate, int status)
          Returns all the journal articles where displayDate < ? and status = ?.
static List<JournalArticle> findByLtD_S(Date displayDate, int status, int start, int end)
          Returns a range of all the journal articles where displayDate < ? and status = ?.
static List<JournalArticle> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where displayDate < ? and status = ?.
static JournalArticle findByPrimaryKey(long id)
          Returns the journal article with the primary key or throws a NoSuchArticleException if it could not be found.
static JournalArticle findByR_I_First(long resourcePrimKey, boolean indexable, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
static JournalArticle findByR_I_Last(long resourcePrimKey, boolean indexable, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
static JournalArticle[] findByR_I_PrevAndNext(long id, long resourcePrimKey, boolean indexable, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
static JournalArticle findByR_I_S_First(long resourcePrimKey, boolean indexable, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
static JournalArticle findByR_I_S_Last(long resourcePrimKey, boolean indexable, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
static JournalArticle[] findByR_I_S_PrevAndNext(long id, long resourcePrimKey, boolean indexable, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
static List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
static List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ?.
static List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?.
static List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?.
static JournalArticle findByR_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
static JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
static JournalArticle[] findByR_ST_PrevAndNext(long id, long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int status)
          Returns all the journal articles where resourcePrimKey = ? and status = ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses)
          Returns all the journal articles where resourcePrimKey = ? and status = any ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and status = ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?.
static JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey)
          Returns all the journal articles where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ?.
static JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
static JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
static JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId)
          Returns all the journal articles where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end)
          Returns a range of all the journal articles where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where smallImageId = ?.
static JournalArticle findByStructureId_First(String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where structureId = ?.
static JournalArticle findByStructureId_Last(String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where structureId = ?.
static JournalArticle[] findByStructureId_PrevAndNext(long id, String structureId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where structureId = ?.
static List<JournalArticle> findByStructureId(String structureId)
          Returns all the journal articles where structureId = ?.
static List<JournalArticle> findByStructureId(String[] structureIds)
          Returns all the journal articles where structureId = any ?.
static List<JournalArticle> findByStructureId(String[] structureIds, int start, int end)
          Returns a range of all the journal articles where structureId = any ?.
static List<JournalArticle> findByStructureId(String[] structureIds, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where structureId = any ?.
static List<JournalArticle> findByStructureId(String structureId, int start, int end)
          Returns a range of all the journal articles where structureId = ?.
static List<JournalArticle> findByStructureId(String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where structureId = ?.
static JournalArticle findByTemplateId_First(String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where templateId = ?.
static JournalArticle findByTemplateId_Last(String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where templateId = ?.
static JournalArticle[] findByTemplateId_PrevAndNext(long id, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where templateId = ?.
static List<JournalArticle> findByTemplateId(String templateId)
          Returns all the journal articles where templateId = ?.
static List<JournalArticle> findByTemplateId(String templateId, int start, int end)
          Returns a range of all the journal articles where templateId = ?.
static List<JournalArticle> findByTemplateId(String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where templateId = ?.
static JournalArticle findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where uuid = ? and companyId = ?.
static JournalArticle findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where uuid = ? and companyId = ?.
static JournalArticle[] findByUuid_C_PrevAndNext(long id, String uuid, long companyId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?.
static List<JournalArticle> findByUuid_C(String uuid, long companyId)
          Returns all the journal articles where uuid = ? and companyId = ?.
static List<JournalArticle> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the journal articles where uuid = ? and companyId = ?.
static List<JournalArticle> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where uuid = ? and companyId = ?.
static JournalArticle findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where uuid = ?.
static JournalArticle findByUUID_G(String uuid, long groupId)
          Returns the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found.
static JournalArticle findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
static JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where uuid = ?.
static List<JournalArticle> findByUuid(String uuid)
          Returns all the journal articles where uuid = ?.
static List<JournalArticle> findByUuid(String uuid, int start, int end)
          Returns a range of all the journal articles where uuid = ?.
static List<JournalArticle> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where uuid = ?.
static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static JournalArticlePersistence getPersistence()
           
static JournalArticle remove(long id)
          Removes the journal article with the primary key from the database.
static void removeAll()
          Removes all the journal articles from the database.
static void removeByC_NotST(long companyId, int status)
          Removes all the journal articles where companyId = ? and status ≠ ? from the database.
static void removeByC_ST(long companyId, int status)
          Removes all the journal articles where companyId = ? and status = ? from the database.
static void removeByC_T(long classNameId, String templateId)
          Removes all the journal articles where classNameId = ? and templateId = ? from the database.
static void removeByC_V_ST(long companyId, double version, int status)
          Removes all the journal articles where companyId = ? and version = ? and status = ? from the database.
static void removeByC_V(long companyId, double version)
          Removes all the journal articles where companyId = ? and version = ? from the database.
static void removeByCompanyId(long companyId)
          Removes all the journal articles where companyId = ? from the database.
static void removeByG_A_NotST(long groupId, String articleId, int status)
          Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database.
static void removeByG_A_ST(long groupId, String articleId, int status)
          Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database.
static JournalArticle removeByG_A_V(long groupId, String articleId, double version)
          Removes the journal article where groupId = ? and articleId = ? and version = ? from the database.
static void removeByG_A(long groupId, String articleId)
          Removes all the journal articles where groupId = ? and articleId = ? from the database.
static void removeByG_C_C(long groupId, long classNameId, long classPK)
          Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database.
static void removeByG_C_L(long groupId, long classNameId, String layoutUuid)
          Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database.
static JournalArticle removeByG_C_S(long groupId, long classNameId, String structureId)
          Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database.
static void removeByG_C_T(long groupId, long classNameId, String templateId)
          Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database.
static void removeByG_F_ST(long groupId, long folderId, int status)
          Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database.
static void removeByG_F(long groupId, long folderId)
          Removes all the journal articles where groupId = ? and folderId = ? from the database.
static void removeByG_L(long groupId, String layoutUuid)
          Removes all the journal articles where groupId = ? and layoutUuid = ? from the database.
static void removeByG_S(long groupId, String structureId)
          Removes all the journal articles where groupId = ? and structureId = ? from the database.
static void removeByG_ST(long groupId, int status)
          Removes all the journal articles where groupId = ? and status = ? from the database.
static void removeByG_T(long groupId, String templateId)
          Removes all the journal articles where groupId = ? and templateId = ? from the database.
static void removeByG_U_C(long groupId, long userId, long classNameId)
          Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database.
static void removeByG_U(long groupId, long userId)
          Removes all the journal articles where groupId = ? and userId = ? from the database.
static void removeByG_UT_ST(long groupId, String urlTitle, int status)
          Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database.
static void removeByG_UT(long groupId, String urlTitle)
          Removes all the journal articles where groupId = ? and urlTitle = ? from the database.
static void removeByGroupId(long groupId)
          Removes all the journal articles where groupId = ? from the database.
static void removeByLayoutUuid(String layoutUuid)
          Removes all the journal articles where layoutUuid = ? from the database.
static void removeByLtD_S(Date displayDate, int status)
          Removes all the journal articles where displayDate < ? and status = ? from the database.
static void removeByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database.
static void removeByR_I(long resourcePrimKey, boolean indexable)
          Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database.
static void removeByR_ST(long resourcePrimKey, int status)
          Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.
static void removeByResourcePrimKey(long resourcePrimKey)
          Removes all the journal articles where resourcePrimKey = ? from the database.
static void removeBySmallImageId(long smallImageId)
          Removes all the journal articles where smallImageId = ? from the database.
static void removeByStructureId(String structureId)
          Removes all the journal articles where structureId = ? from the database.
static void removeByTemplateId(String templateId)
          Removes all the journal articles where templateId = ? from the database.
static void removeByUuid_C(String uuid, long companyId)
          Removes all the journal articles where uuid = ? and companyId = ? from the database.
static JournalArticle removeByUUID_G(String uuid, long groupId)
          Removes the journal article where uuid = ? and groupId = ? from the database.
static void removeByUuid(String uuid)
          Removes all the journal articles where uuid = ? from the database.
 void setPersistence(JournalArticlePersistence persistence)
          Deprecated. As of 6.2.0
static JournalArticle update(JournalArticle journalArticle)
           
static JournalArticle update(JournalArticle journalArticle, ServiceContext serviceContext)
           
static JournalArticle updateImpl(JournalArticle journalArticle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleUtil

public JournalArticleUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(JournalArticle journalArticle)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
                                  throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                        int start,
                                                        int end)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                        int start,
                                                        int end,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static JournalArticle update(JournalArticle journalArticle)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static JournalArticle update(JournalArticle journalArticle,
                                    ServiceContext serviceContext)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByUuid

public static List<JournalArticle> findByUuid(String uuid)
                                       throws SystemException
Returns all the journal articles where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<JournalArticle> findByUuid(String uuid,
                                              int start,
                                              int end)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid

public static List<JournalArticle> findByUuid(String uuid,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_First

public static JournalArticle findByUuid_First(String uuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the first journal article in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUuid_First

public static JournalArticle fetchByUuid_First(String uuid,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal article in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public static JournalArticle findByUuid_Last(String uuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the last journal article in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUuid_Last

public static JournalArticle fetchByUuid_Last(String uuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal article in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static JournalArticle[] findByUuid_PrevAndNext(long id,
                                                      String uuid,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where uuid = ?.

Parameters:
id - the primary key of the current journal article
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid

public static void removeByUuid(String uuid)
                         throws SystemException
Removes all the journal articles where uuid = ? from the database.

Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

countByUuid

public static int countByUuid(String uuid)
                       throws SystemException
Returns the number of journal articles where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUUID_G

public static JournalArticle findByUUID_G(String uuid,
                                          long groupId)
                                   throws SystemException,
                                          NoSuchArticleException
Returns the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUUID_G

public static JournalArticle fetchByUUID_G(String uuid,
                                           long groupId)
                                    throws SystemException
Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

public static JournalArticle fetchByUUID_G(String uuid,
                                           long groupId,
                                           boolean retrieveFromCache)
                                    throws SystemException
Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public static JournalArticle removeByUUID_G(String uuid,
                                            long groupId)
                                     throws SystemException,
                                            NoSuchArticleException
Removes the journal article where uuid = ? and groupId = ? from the database.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the journal article that was removed
Throws:
SystemException - if a system exception occurred
NoSuchArticleException

countByUUID_G

public static int countByUUID_G(String uuid,
                                long groupId)
                         throws SystemException
Returns the number of journal articles where uuid = ? and groupId = ?.

Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<JournalArticle> findByUuid_C(String uuid,
                                                long companyId)
                                         throws SystemException
Returns all the journal articles where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<JournalArticle> findByUuid_C(String uuid,
                                                long companyId,
                                                int start,
                                                int end)
                                         throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_C

public static List<JournalArticle> findByUuid_C(String uuid,
                                                long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_C_First

public static JournalArticle findByUuid_C_First(String uuid,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the first journal article in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUuid_C_First

public static JournalArticle fetchByUuid_C_First(String uuid,
                                                 long companyId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first journal article in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_Last

public static JournalArticle findByUuid_C_Last(String uuid,
                                               long companyId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the last journal article in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUuid_C_Last

public static JournalArticle fetchByUuid_C_Last(String uuid,
                                                long companyId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last journal article in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByUuid_C_PrevAndNext

public static JournalArticle[] findByUuid_C_PrevAndNext(long id,
                                                        String uuid,
                                                        long companyId,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?.

Parameters:
id - the primary key of the current journal article
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByUuid_C

public static void removeByUuid_C(String uuid,
                                  long companyId)
                           throws SystemException
Removes all the journal articles where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByUuid_C

public static int countByUuid_C(String uuid,
                                long companyId)
                         throws SystemException
Returns the number of journal articles where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

public static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey)
                                                  throws SystemException
Returns all the journal articles where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

public static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey,
                                                         int start,
                                                         int end)
                                                  throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

public static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_First

public static JournalArticle findByResourcePrimKey_First(long resourcePrimKey,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchArticleException
Returns the first journal article in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByResourcePrimKey_First

public static JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey,
                                                          OrderByComparator orderByComparator)
                                                   throws SystemException
Returns the first journal article in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_Last

public static JournalArticle findByResourcePrimKey_Last(long resourcePrimKey,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Returns the last journal article in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByResourcePrimKey_Last

public static JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Returns the last journal article in the ordered set where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_PrevAndNext

public static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id,
                                                                 long resourcePrimKey,
                                                                 OrderByComparator orderByComparator)
                                                          throws SystemException,
                                                                 NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.

Parameters:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByResourcePrimKey

public static void removeByResourcePrimKey(long resourcePrimKey)
                                    throws SystemException
Removes all the journal articles where resourcePrimKey = ? from the database.

Parameters:
resourcePrimKey - the resource prim key
Throws:
SystemException - if a system exception occurred

countByResourcePrimKey

public static int countByResourcePrimKey(long resourcePrimKey)
                                  throws SystemException
Returns the number of journal articles where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<JournalArticle> findByGroupId(long groupId)
                                          throws SystemException
Returns all the journal articles where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<JournalArticle> findByGroupId(long groupId,
                                                 int start,
                                                 int end)
                                          throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId

public static List<JournalArticle> findByGroupId(long groupId,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public static JournalArticle findByGroupId_First(long groupId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByGroupId_First

public static JournalArticle fetchByGroupId_First(long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns the first journal article in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public static JournalArticle findByGroupId_Last(long groupId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByGroupId_Last

public static JournalArticle fetchByGroupId_Last(long groupId,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the last journal article in the ordered set where groupId = ?.

Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public static JournalArticle[] findByGroupId_PrevAndNext(long id,
                                                         long groupId,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByGroupId

public static List<JournalArticle> filterFindByGroupId(long groupId)
                                                throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<JournalArticle> filterFindByGroupId(long groupId,
                                                       int start,
                                                       int end)
                                                throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public static List<JournalArticle> filterFindByGroupId(long groupId,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public static JournalArticle[] filterFindByGroupId_PrevAndNext(long id,
                                                               long groupId,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException,
                                                               NoSuchArticleException
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 = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws SystemException
Removes all the journal articles where groupId = ? from the database.

Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Returns the number of journal articles where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public static int filterCountByGroupId(long groupId)
                                throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ?.

Parameters:
groupId - the group ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<JournalArticle> findByCompanyId(long companyId)
                                            throws SystemException
Returns all the journal articles where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<JournalArticle> findByCompanyId(long companyId,
                                                   int start,
                                                   int end)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId

public static List<JournalArticle> findByCompanyId(long companyId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public static JournalArticle findByCompanyId_First(long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByCompanyId_First

public static JournalArticle fetchByCompanyId_First(long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first journal article in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public static JournalArticle findByCompanyId_Last(long companyId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByCompanyId_Last

public static JournalArticle fetchByCompanyId_Last(long companyId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last journal article in the ordered set where companyId = ?.

Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public static JournalArticle[] findByCompanyId_PrevAndNext(long id,
                                                           long companyId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where companyId = ?.

Parameters:
id - the primary key of the current journal article
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws SystemException
Removes all the journal articles where companyId = ? from the database.

Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws SystemException
Returns the number of journal articles where companyId = ?.

Parameters:
companyId - the company ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String structureId)
                                              throws SystemException
Returns all the journal articles where structureId = ?.

Parameters:
structureId - the structure ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String structureId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String structureId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles where structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId_First

public static JournalArticle findByStructureId_First(String structureId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the first journal article in the ordered set where structureId = ?.

Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByStructureId_First

public static JournalArticle fetchByStructureId_First(String structureId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns the first journal article in the ordered set where structureId = ?.

Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByStructureId_Last

public static JournalArticle findByStructureId_Last(String structureId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchArticleException
Returns the last journal article in the ordered set where structureId = ?.

Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByStructureId_Last

public static JournalArticle fetchByStructureId_Last(String structureId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns the last journal article in the ordered set where structureId = ?.

Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByStructureId_PrevAndNext

public static JournalArticle[] findByStructureId_PrevAndNext(long id,
                                                             String structureId,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where structureId = ?.

Parameters:
id - the primary key of the current journal article
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String[] structureIds)
                                              throws SystemException
Returns all the journal articles where structureId = 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
structureIds - the structure IDs
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String[] structureIds,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles where structureId = 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
structureIds - the structure IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

public static List<JournalArticle> findByStructureId(String[] structureIds,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles where structureId = 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
structureIds - the structure IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByStructureId

public static void removeByStructureId(String structureId)
                                throws SystemException
Removes all the journal articles where structureId = ? from the database.

Parameters:
structureId - the structure ID
Throws:
SystemException - if a system exception occurred

countByStructureId

public static int countByStructureId(String structureId)
                              throws SystemException
Returns the number of journal articles where structureId = ?.

Parameters:
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByStructureId

public static int countByStructureId(String[] structureIds)
                              throws SystemException
Returns the number of journal articles where structureId = any ?.

Parameters:
structureIds - the structure IDs
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByTemplateId

public static List<JournalArticle> findByTemplateId(String templateId)
                                             throws SystemException
Returns all the journal articles where templateId = ?.

Parameters:
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByTemplateId

public static List<JournalArticle> findByTemplateId(String templateId,
                                                    int start,
                                                    int end)
                                             throws SystemException
Returns a range of all the journal articles where templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByTemplateId

public static List<JournalArticle> findByTemplateId(String templateId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns an ordered range of all the journal articles where templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByTemplateId_First

public static JournalArticle findByTemplateId_First(String templateId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchArticleException
Returns the first journal article in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByTemplateId_First

public static JournalArticle fetchByTemplateId_First(String templateId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns the first journal article in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByTemplateId_Last

public static JournalArticle findByTemplateId_Last(String templateId,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchArticleException
Returns the last journal article in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByTemplateId_Last

public static JournalArticle fetchByTemplateId_Last(String templateId,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the last journal article in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByTemplateId_PrevAndNext

public static JournalArticle[] findByTemplateId_PrevAndNext(long id,
                                                            String templateId,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where templateId = ?.

Parameters:
id - the primary key of the current journal article
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByTemplateId

public static void removeByTemplateId(String templateId)
                               throws SystemException
Removes all the journal articles where templateId = ? from the database.

Parameters:
templateId - the template ID
Throws:
SystemException - if a system exception occurred

countByTemplateId

public static int countByTemplateId(String templateId)
                             throws SystemException
Returns the number of journal articles where templateId = ?.

Parameters:
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLayoutUuid

public static List<JournalArticle> findByLayoutUuid(String layoutUuid)
                                             throws SystemException
Returns all the journal articles where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByLayoutUuid

public static List<JournalArticle> findByLayoutUuid(String layoutUuid,
                                                    int start,
                                                    int end)
                                             throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLayoutUuid

public static List<JournalArticle> findByLayoutUuid(String layoutUuid,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_First

public static JournalArticle findByLayoutUuid_First(String layoutUuid,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException,
                                                    NoSuchArticleException
Returns the first journal article in the ordered set where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByLayoutUuid_First

public static JournalArticle fetchByLayoutUuid_First(String layoutUuid,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns the first journal article in the ordered set where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_Last

public static JournalArticle findByLayoutUuid_Last(String layoutUuid,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchArticleException
Returns the last journal article in the ordered set where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByLayoutUuid_Last

public static JournalArticle fetchByLayoutUuid_Last(String layoutUuid,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the last journal article in the ordered set where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_PrevAndNext

public static JournalArticle[] findByLayoutUuid_PrevAndNext(long id,
                                                            String layoutUuid,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?.

Parameters:
id - the primary key of the current journal article
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByLayoutUuid

public static void removeByLayoutUuid(String layoutUuid)
                               throws SystemException
Removes all the journal articles where layoutUuid = ? from the database.

Parameters:
layoutUuid - the layout uuid
Throws:
SystemException - if a system exception occurred

countByLayoutUuid

public static int countByLayoutUuid(String layoutUuid)
                             throws SystemException
Returns the number of journal articles where layoutUuid = ?.

Parameters:
layoutUuid - the layout uuid
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId

public static List<JournalArticle> findBySmallImageId(long smallImageId)
                                               throws SystemException
Returns all the journal articles where smallImageId = ?.

Parameters:
smallImageId - the small image ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId

public static List<JournalArticle> findBySmallImageId(long smallImageId,
                                                      int start,
                                                      int end)
                                               throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
smallImageId - the small image ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId

public static List<JournalArticle> findBySmallImageId(long smallImageId,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
smallImageId - the small image ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId_First

public static JournalArticle findBySmallImageId_First(long smallImageId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the first journal article in the ordered set where smallImageId = ?.

Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchBySmallImageId_First

public static JournalArticle fetchBySmallImageId_First(long smallImageId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns the first journal article in the ordered set where smallImageId = ?.

Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findBySmallImageId_Last

public static JournalArticle findBySmallImageId_Last(long smallImageId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the last journal article in the ordered set where smallImageId = ?.

Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchBySmallImageId_Last

public static JournalArticle fetchBySmallImageId_Last(long smallImageId,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns the last journal article in the ordered set where smallImageId = ?.

Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findBySmallImageId_PrevAndNext

public static JournalArticle[] findBySmallImageId_PrevAndNext(long id,
                                                              long smallImageId,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException,
                                                              NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?.

Parameters:
id - the primary key of the current journal article
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeBySmallImageId

public static void removeBySmallImageId(long smallImageId)
                                 throws SystemException
Removes all the journal articles where smallImageId = ? from the database.

Parameters:
smallImageId - the small image ID
Throws:
SystemException - if a system exception occurred

countBySmallImageId

public static int countBySmallImageId(long smallImageId)
                               throws SystemException
Returns the number of journal articles where smallImageId = ?.

Parameters:
smallImageId - the small image ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I

public static List<JournalArticle> findByR_I(long resourcePrimKey,
                                             boolean indexable)
                                      throws SystemException
Returns all the journal articles where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I

public static List<JournalArticle> findByR_I(long resourcePrimKey,
                                             boolean indexable,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I

public static List<JournalArticle> findByR_I(long resourcePrimKey,
                                             boolean indexable,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_First

public static JournalArticle findByR_I_First(long resourcePrimKey,
                                             boolean indexable,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_I_First

public static JournalArticle fetchByR_I_First(long resourcePrimKey,
                                              boolean indexable,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_I_Last

public static JournalArticle findByR_I_Last(long resourcePrimKey,
                                            boolean indexable,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_I_Last

public static JournalArticle fetchByR_I_Last(long resourcePrimKey,
                                             boolean indexable,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_I_PrevAndNext

public static JournalArticle[] findByR_I_PrevAndNext(long id,
                                                     long resourcePrimKey,
                                                     boolean indexable,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?.

Parameters:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByR_I

public static void removeByR_I(long resourcePrimKey,
                               boolean indexable)
                        throws SystemException
Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
Throws:
SystemException - if a system exception occurred

countByR_I

public static int countByR_I(long resourcePrimKey,
                             boolean indexable)
                      throws SystemException
Returns the number of journal articles where resourcePrimKey = ? and indexable = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int status)
                                       throws SystemException
Returns all the journal articles where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST_First

public static JournalArticle findByR_ST_First(long resourcePrimKey,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_ST_First

public static JournalArticle fetchByR_ST_First(long resourcePrimKey,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_ST_Last

public static JournalArticle findByR_ST_Last(long resourcePrimKey,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_ST_Last

public static JournalArticle fetchByR_ST_Last(long resourcePrimKey,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_ST_PrevAndNext

public static JournalArticle[] findByR_ST_PrevAndNext(long id,
                                                      long resourcePrimKey,
                                                      int status,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?.

Parameters:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int[] statuses)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int[] statuses,
                                              int start,
                                              int end)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

public static List<JournalArticle> findByR_ST(long resourcePrimKey,
                                              int[] statuses,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByR_ST

public static void removeByR_ST(long resourcePrimKey,
                                int status)
                         throws SystemException
Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.

Parameters:
resourcePrimKey - the resource prim key
status - the status
Throws:
SystemException - if a system exception occurred

countByR_ST

public static int countByR_ST(long resourcePrimKey,
                              int status)
                       throws SystemException
Returns the number of journal articles where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByR_ST

public static int countByR_ST(long resourcePrimKey,
                              int[] statuses)
                       throws SystemException
Returns the number of journal articles where resourcePrimKey = ? and status = any ?.

Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<JournalArticle> findByG_U(long groupId,
                                             long userId)
                                      throws SystemException
Returns all the journal articles where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<JournalArticle> findByG_U(long groupId,
                                             long userId,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U

public static List<JournalArticle> findByG_U(long groupId,
                                             long userId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U_First

public static JournalArticle findByG_U_First(long groupId,
                                             long userId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_U_First

public static JournalArticle fetchByG_U_First(long groupId,
                                              long userId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_Last

public static JournalArticle findByG_U_Last(long groupId,
                                            long userId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_U_Last

public static JournalArticle fetchByG_U_Last(long groupId,
                                             long userId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_PrevAndNext

public static JournalArticle[] findByG_U_PrevAndNext(long id,
                                                     long groupId,
                                                     long userId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_U

public static List<JournalArticle> filterFindByG_U(long groupId,
                                                   long userId)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<JournalArticle> filterFindByG_U(long groupId,
                                                   long userId,
                                                   int start,
                                                   int end)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U

public static List<JournalArticle> filterFindByG_U(long groupId,
                                                   long userId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_PrevAndNext

public static JournalArticle[] filterFindByG_U_PrevAndNext(long id,
                                                           long groupId,
                                                           long userId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_U

public static void removeByG_U(long groupId,
                               long userId)
                        throws SystemException
Removes all the journal articles where groupId = ? and userId = ? from the database.

Parameters:
groupId - the group ID
userId - the user ID
Throws:
SystemException - if a system exception occurred

countByG_U

public static int countByG_U(long groupId,
                             long userId)
                      throws SystemException
Returns the number of journal articles where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_U

public static int filterCountByG_U(long groupId,
                                   long userId)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?.

Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long folderId)
                                      throws SystemException
Returns all the journal articles where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long folderId,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long folderId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_First

public static JournalArticle findByG_F_First(long groupId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_F_First

public static JournalArticle fetchByG_F_First(long groupId,
                                              long folderId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_Last

public static JournalArticle findByG_F_Last(long groupId,
                                            long folderId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_F_Last

public static JournalArticle fetchByG_F_Last(long groupId,
                                             long folderId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_PrevAndNext

public static JournalArticle[] findByG_F_PrevAndNext(long id,
                                                     long groupId,
                                                     long folderId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long folderId)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long folderId,
                                                   int start,
                                                   int end)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long folderId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_PrevAndNext

public static JournalArticle[] filterFindByG_F_PrevAndNext(long id,
                                                           long groupId,
                                                           long folderId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long[] folderIds)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.

Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long[] folderIds,
                                                   int start,
                                                   int end)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F

public static List<JournalArticle> filterFindByG_F(long groupId,
                                                   long[] folderIds,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long[] folderIds)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long[] folderIds,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F

public static List<JournalArticle> findByG_F(long groupId,
                                             long[] folderIds,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByG_F

public static void removeByG_F(long groupId,
                               long folderId)
                        throws SystemException
Removes all the journal articles where groupId = ? and folderId = ? from the database.

Parameters:
groupId - the group ID
folderId - the folder ID
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long folderId)
                      throws SystemException
Returns the number of journal articles where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByG_F

public static int countByG_F(long groupId,
                             long[] folderIds)
                      throws SystemException
Returns the number of journal articles where groupId = ? and folderId = any ?.

Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long folderId)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F

public static int filterCountByG_F(long groupId,
                                   long[] folderIds)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?.

Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_A

public static List<JournalArticle> findByG_A(long groupId,
                                             String articleId)
                                      throws SystemException
Returns all the journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A

public static List<JournalArticle> findByG_A(long groupId,
                                             String articleId,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A

public static List<JournalArticle> findByG_A(long groupId,
                                             String articleId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_First

public static JournalArticle findByG_A_First(long groupId,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_First

public static JournalArticle fetchByG_A_First(long groupId,
                                              String articleId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_Last

public static JournalArticle findByG_A_Last(long groupId,
                                            String articleId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_Last

public static JournalArticle fetchByG_A_Last(long groupId,
                                             String articleId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_PrevAndNext

public static JournalArticle[] findByG_A_PrevAndNext(long id,
                                                     long groupId,
                                                     String articleId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A

public static List<JournalArticle> filterFindByG_A(long groupId,
                                                   String articleId)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

public static List<JournalArticle> filterFindByG_A(long groupId,
                                                   String articleId,
                                                   int start,
                                                   int end)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

public static List<JournalArticle> filterFindByG_A(long groupId,
                                                   String articleId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_PrevAndNext

public static JournalArticle[] filterFindByG_A_PrevAndNext(long id,
                                                           long groupId,
                                                           String articleId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_A

public static void removeByG_A(long groupId,
                               String articleId)
                        throws SystemException
Removes all the journal articles where groupId = ? and articleId = ? from the database.

Parameters:
groupId - the group ID
articleId - the article ID
Throws:
SystemException - if a system exception occurred

countByG_A

public static int countByG_A(long groupId,
                             String articleId)
                      throws SystemException
Returns the number of journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A

public static int filterCountByG_A(long groupId,
                                   String articleId)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?.

Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_UT

public static List<JournalArticle> findByG_UT(long groupId,
                                              String urlTitle)
                                       throws SystemException
Returns all the journal articles where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT

public static List<JournalArticle> findByG_UT(long groupId,
                                              String urlTitle,
                                              int start,
                                              int end)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT

public static List<JournalArticle> findByG_UT(long groupId,
                                              String urlTitle,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_First

public static JournalArticle findByG_UT_First(long groupId,
                                              String urlTitle,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_UT_First

public static JournalArticle fetchByG_UT_First(long groupId,
                                               String urlTitle,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_UT_Last

public static JournalArticle findByG_UT_Last(long groupId,
                                             String urlTitle,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_UT_Last

public static JournalArticle fetchByG_UT_Last(long groupId,
                                              String urlTitle,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_UT_PrevAndNext

public static JournalArticle[] findByG_UT_PrevAndNext(long id,
                                                      long groupId,
                                                      String urlTitle,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_UT

public static List<JournalArticle> filterFindByG_UT(long groupId,
                                                    String urlTitle)
                                             throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

public static List<JournalArticle> filterFindByG_UT(long groupId,
                                                    String urlTitle,
                                                    int start,
                                                    int end)
                                             throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

public static List<JournalArticle> filterFindByG_UT(long groupId,
                                                    String urlTitle,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_PrevAndNext

public static JournalArticle[] filterFindByG_UT_PrevAndNext(long id,
                                                            long groupId,
                                                            String urlTitle,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchArticleException
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 = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_UT

public static void removeByG_UT(long groupId,
                                String urlTitle)
                         throws SystemException
Removes all the journal articles where groupId = ? and urlTitle = ? from the database.

Parameters:
groupId - the group ID
urlTitle - the url title
Throws:
SystemException - if a system exception occurred

countByG_UT

public static int countByG_UT(long groupId,
                              String urlTitle)
                       throws SystemException
Returns the number of journal articles where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_UT

public static int filterCountByG_UT(long groupId,
                                    String urlTitle)
                             throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_S

public static List<JournalArticle> findByG_S(long groupId,
                                             String structureId)
                                      throws SystemException
Returns all the journal articles where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_S

public static List<JournalArticle> findByG_S(long groupId,
                                             String structureId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the journal articles where groupId = ? and structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_S

public static List<JournalArticle> findByG_S(long groupId,
                                             String structureId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_S_First

public static JournalArticle findByG_S_First(long groupId,
                                             String structureId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_S_First

public static JournalArticle fetchByG_S_First(long groupId,
                                              String structureId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_Last

public static JournalArticle findByG_S_Last(long groupId,
                                            String structureId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_S_Last

public static JournalArticle fetchByG_S_Last(long groupId,
                                             String structureId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_S_PrevAndNext

public static JournalArticle[] findByG_S_PrevAndNext(long id,
                                                     long groupId,
                                                     String structureId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_S

public static List<JournalArticle> filterFindByG_S(long groupId,
                                                   String structureId)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public static List<JournalArticle> filterFindByG_S(long groupId,
                                                   String structureId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S

public static List<JournalArticle> filterFindByG_S(long groupId,
                                                   String structureId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
structureId - the structure ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_S_PrevAndNext

public static JournalArticle[] filterFindByG_S_PrevAndNext(long id,
                                                           long groupId,
                                                           String structureId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 structureId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_S

public static void removeByG_S(long groupId,
                               String structureId)
                        throws SystemException
Removes all the journal articles where groupId = ? and structureId = ? from the database.

Parameters:
groupId - the group ID
structureId - the structure ID
Throws:
SystemException - if a system exception occurred

countByG_S

public static int countByG_S(long groupId,
                             String structureId)
                      throws SystemException
Returns the number of journal articles where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_S

public static int filterCountByG_S(long groupId,
                                   String structureId)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?.

Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_T

public static List<JournalArticle> findByG_T(long groupId,
                                             String templateId)
                                      throws SystemException
Returns all the journal articles where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_T

public static List<JournalArticle> findByG_T(long groupId,
                                             String templateId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the journal articles where groupId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_T

public static List<JournalArticle> findByG_T(long groupId,
                                             String templateId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_T_First

public static JournalArticle findByG_T_First(long groupId,
                                             String templateId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_T_First

public static JournalArticle fetchByG_T_First(long groupId,
                                              String templateId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_Last

public static JournalArticle findByG_T_Last(long groupId,
                                            String templateId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_T_Last

public static JournalArticle fetchByG_T_Last(long groupId,
                                             String templateId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_T_PrevAndNext

public static JournalArticle[] findByG_T_PrevAndNext(long id,
                                                     long groupId,
                                                     String templateId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_T

public static List<JournalArticle> filterFindByG_T(long groupId,
                                                   String templateId)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

public static List<JournalArticle> filterFindByG_T(long groupId,
                                                   String templateId,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T

public static List<JournalArticle> filterFindByG_T(long groupId,
                                                   String templateId,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_T_PrevAndNext

public static JournalArticle[] filterFindByG_T_PrevAndNext(long id,
                                                           long groupId,
                                                           String templateId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 templateId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_T

public static void removeByG_T(long groupId,
                               String templateId)
                        throws SystemException
Removes all the journal articles where groupId = ? and templateId = ? from the database.

Parameters:
groupId - the group ID
templateId - the template ID
Throws:
SystemException - if a system exception occurred

countByG_T

public static int countByG_T(long groupId,
                             String templateId)
                      throws SystemException
Returns the number of journal articles where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_T

public static int filterCountByG_T(long groupId,
                                   String templateId)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?.

Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_L

public static List<JournalArticle> findByG_L(long groupId,
                                             String layoutUuid)
                                      throws SystemException
Returns all the journal articles where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_L

public static List<JournalArticle> findByG_L(long groupId,
                                             String layoutUuid,
                                             int start,
                                             int end)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_L

public static List<JournalArticle> findByG_L(long groupId,
                                             String layoutUuid,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_L_First

public static JournalArticle findByG_L_First(long groupId,
                                             String layoutUuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_L_First

public static JournalArticle fetchByG_L_First(long groupId,
                                              String layoutUuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_L_Last

public static JournalArticle findByG_L_Last(long groupId,
                                            String layoutUuid,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_L_Last

public static JournalArticle fetchByG_L_Last(long groupId,
                                             String layoutUuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_L_PrevAndNext

public static JournalArticle[] findByG_L_PrevAndNext(long id,
                                                     long groupId,
                                                     String layoutUuid,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_L

public static List<JournalArticle> filterFindByG_L(long groupId,
                                                   String layoutUuid)
                                            throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_L

public static List<JournalArticle> filterFindByG_L(long groupId,
                                                   String layoutUuid,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the journal articles that the user has permission to view 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_L

public static List<JournalArticle> filterFindByG_L(long groupId,
                                                   String layoutUuid,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_L_PrevAndNext

public static JournalArticle[] filterFindByG_L_PrevAndNext(long id,
                                                           long groupId,
                                                           String layoutUuid,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
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 layoutUuid = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_L

public static void removeByG_L(long groupId,
                               String layoutUuid)
                        throws SystemException
Removes all the journal articles where groupId = ? and layoutUuid = ? from the database.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Throws:
SystemException - if a system exception occurred

countByG_L

public static int countByG_L(long groupId,
                             String layoutUuid)
                      throws SystemException
Returns the number of journal articles where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_L

public static int filterCountByG_L(long groupId,
                                   String layoutUuid)
                            throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_ST

public static List<JournalArticle> findByG_ST(long groupId,
                                              int status)
                                       throws SystemException
Returns all the journal articles where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST

public static List<JournalArticle> findByG_ST(long groupId,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the journal articles where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST

public static List<JournalArticle> findByG_ST(long groupId,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST_First

public static JournalArticle findByG_ST_First(long groupId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_ST_First

public static JournalArticle fetchByG_ST_First(long groupId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal article in the ordered set where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_ST_Last

public static JournalArticle findByG_ST_Last(long groupId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_ST_Last

public static JournalArticle fetchByG_ST_Last(long groupId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal article in the ordered set where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_ST_PrevAndNext

public static JournalArticle[] findByG_ST_PrevAndNext(long id,
                                                      long groupId,
                                                      int status,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_ST

public static List<JournalArticle> filterFindByG_ST(long groupId,
                                                    int status)
                                             throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

public static List<JournalArticle> filterFindByG_ST(long groupId,
                                                    int status,
                                                    int start,
                                                    int end)
                                             throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

public static List<JournalArticle> filterFindByG_ST(long groupId,
                                                    int status,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_ST_PrevAndNext

public static JournalArticle[] filterFindByG_ST_PrevAndNext(long id,
                                                            long groupId,
                                                            int status,
                                                            OrderByComparator orderByComparator)
                                                     throws SystemException,
                                                            NoSuchArticleException
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 status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_ST

public static void removeByG_ST(long groupId,
                                int status)
                         throws SystemException
Removes all the journal articles where groupId = ? and status = ? from the database.

Parameters:
groupId - the group ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_ST

public static int countByG_ST(long groupId,
                              int status)
                       throws SystemException
Returns the number of journal articles where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_ST

public static int filterCountByG_ST(long groupId,
                                    int status)
                             throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?.

Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_V

public static List<JournalArticle> findByC_V(long companyId,
                                             double version)
                                      throws SystemException
Returns all the journal articles where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V

public static List<JournalArticle> findByC_V(long companyId,
                                             double version,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the journal articles where companyId = ? and version = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
version - the version
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V

public static List<JournalArticle> findByC_V(long companyId,
                                             double version,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the journal articles where companyId = ? and version = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
version - the version
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V_First

public static JournalArticle findByC_V_First(long companyId,
                                             double version,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_V_First

public static JournalArticle fetchByC_V_First(long companyId,
                                              double version,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_V_Last

public static JournalArticle findByC_V_Last(long companyId,
                                            double version,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_V_Last

public static JournalArticle fetchByC_V_Last(long companyId,
                                             double version,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_V_PrevAndNext

public static JournalArticle[] findByC_V_PrevAndNext(long id,
                                                     long companyId,
                                                     double version,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?.

Parameters:
id - the primary key of the current journal article
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByC_V

public static void removeByC_V(long companyId,
                               double version)
                        throws SystemException
Removes all the journal articles where companyId = ? and version = ? from the database.

Parameters:
companyId - the company ID
version - the version
Throws:
SystemException - if a system exception occurred

countByC_V

public static int countByC_V(long companyId,
                             double version)
                      throws SystemException
Returns the number of journal articles where companyId = ? and version = ?.

Parameters:
companyId - the company ID
version - the version
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST

public static List<JournalArticle> findByC_ST(long companyId,
                                              int status)
                                       throws SystemException
Returns all the journal articles where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST

public static List<JournalArticle> findByC_ST(long companyId,
                                              int status,
                                              int start,
                                              int end)
                                       throws SystemException
Returns a range of all the journal articles where companyId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST

public static List<JournalArticle> findByC_ST(long companyId,
                                              int status,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns an ordered range of all the journal articles where companyId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST_First

public static JournalArticle findByC_ST_First(long companyId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_ST_First

public static JournalArticle fetchByC_ST_First(long companyId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the first journal article in the ordered set where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_ST_Last

public static JournalArticle findByC_ST_Last(long companyId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_ST_Last

public static JournalArticle fetchByC_ST_Last(long companyId,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the last journal article in the ordered set where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_ST_PrevAndNext

public static JournalArticle[] findByC_ST_PrevAndNext(long id,
                                                      long companyId,
                                                      int status,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?.

Parameters:
id - the primary key of the current journal article
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByC_ST

public static void removeByC_ST(long companyId,
                                int status)
                         throws SystemException
Removes all the journal articles where companyId = ? and status = ? from the database.

Parameters:
companyId - the company ID
status - the status
Throws:
SystemException - if a system exception occurred

countByC_ST

public static int countByC_ST(long companyId,
                              int status)
                       throws SystemException
Returns the number of journal articles where companyId = ? and status = ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_NotST

public static List<JournalArticle> findByC_NotST(long companyId,
                                                 int status)
                                          throws SystemException
Returns all the journal articles where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_NotST

public static List<JournalArticle> findByC_NotST(long companyId,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the journal articles where companyId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_NotST

public static List<JournalArticle> findByC_NotST(long companyId,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_NotST_First

public static JournalArticle findByC_NotST_First(long companyId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_NotST_First

public static JournalArticle fetchByC_NotST_First(long companyId,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_NotST_Last

public static JournalArticle findByC_NotST_Last(long companyId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_NotST_Last

public static JournalArticle fetchByC_NotST_Last(long companyId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_NotST_PrevAndNext

public static JournalArticle[] findByC_NotST_PrevAndNext(long id,
                                                         long companyId,
                                                         int status,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?.

Parameters:
id - the primary key of the current journal article
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByC_NotST

public static void removeByC_NotST(long companyId,
                                   int status)
                            throws SystemException
Removes all the journal articles where companyId = ? and status ≠ ? from the database.

Parameters:
companyId - the company ID
status - the status
Throws:
SystemException - if a system exception occurred

countByC_NotST

public static int countByC_NotST(long companyId,
                                 int status)
                          throws SystemException
Returns the number of journal articles where companyId = ? and status ≠ ?.

Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_T

public static List<JournalArticle> findByC_T(long classNameId,
                                             String templateId)
                                      throws SystemException
Returns all the journal articles where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_T

public static List<JournalArticle> findByC_T(long classNameId,
                                             String templateId,
                                             int start,
                                             int end)
                                      throws SystemException
Returns a range of all the journal articles where classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_T

public static List<JournalArticle> findByC_T(long classNameId,
                                             String templateId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns an ordered range of all the journal articles where classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_T_First

public static JournalArticle findByC_T_First(long classNameId,
                                             String templateId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Returns the first journal article in the ordered set where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_T_First

public static JournalArticle fetchByC_T_First(long classNameId,
                                              String templateId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Returns the first journal article in the ordered set where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_T_Last

public static JournalArticle findByC_T_Last(long classNameId,
                                            String templateId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Returns the last journal article in the ordered set where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_T_Last

public static JournalArticle fetchByC_T_Last(long classNameId,
                                             String templateId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Returns the last journal article in the ordered set where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_T_PrevAndNext

public static JournalArticle[] findByC_T_PrevAndNext(long id,
                                                     long classNameId,
                                                     String templateId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and templateId = ?.

Parameters:
id - the primary key of the current journal article
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByC_T

public static void removeByC_T(long classNameId,
                               String templateId)
                        throws SystemException
Removes all the journal articles where classNameId = ? and templateId = ? from the database.

Parameters:
classNameId - the class name ID
templateId - the template ID
Throws:
SystemException - if a system exception occurred

countByC_T

public static int countByC_T(long classNameId,
                             String templateId)
                      throws SystemException
Returns the number of journal articles where classNameId = ? and templateId = ?.

Parameters:
classNameId - the class name ID
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLtD_S

public static List<JournalArticle> findByLtD_S(Date displayDate,
                                               int status)
                                        throws SystemException
Returns all the journal articles where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByLtD_S

public static List<JournalArticle> findByLtD_S(Date displayDate,
                                               int status,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLtD_S

public static List<JournalArticle> findByLtD_S(Date displayDate,
                                               int status,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where displayDate < ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByLtD_S_First

public static JournalArticle findByLtD_S_First(Date displayDate,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByLtD_S_First

public static JournalArticle fetchByLtD_S_First(Date displayDate,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByLtD_S_Last

public static JournalArticle findByLtD_S_Last(Date displayDate,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByLtD_S_Last

public static JournalArticle fetchByLtD_S_Last(Date displayDate,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByLtD_S_PrevAndNext

public static JournalArticle[] findByLtD_S_PrevAndNext(long id,
                                                       Date displayDate,
                                                       int status,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?.

Parameters:
id - the primary key of the current journal article
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByLtD_S

public static void removeByLtD_S(Date displayDate,
                                 int status)
                          throws SystemException
Removes all the journal articles where displayDate < ? and status = ? from the database.

Parameters:
displayDate - the display date
status - the status
Throws:
SystemException - if a system exception occurred

countByLtD_S

public static int countByLtD_S(Date displayDate,
                               int status)
                        throws SystemException
Returns the number of journal articles where displayDate < ? and status = ?.

Parameters:
displayDate - the display date
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int status)
                                        throws SystemException
Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int status,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int status,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S_First

public static JournalArticle findByR_I_S_First(long resourcePrimKey,
                                               boolean indexable,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_I_S_First

public static JournalArticle fetchByR_I_S_First(long resourcePrimKey,
                                                boolean indexable,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_I_S_Last

public static JournalArticle findByR_I_S_Last(long resourcePrimKey,
                                              boolean indexable,
                                              int status,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByR_I_S_Last

public static JournalArticle fetchByR_I_S_Last(long resourcePrimKey,
                                               boolean indexable,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByR_I_S_PrevAndNext

public static JournalArticle[] findByR_I_S_PrevAndNext(long id,
                                                       long resourcePrimKey,
                                                       boolean indexable,
                                                       int status,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int[] statuses)
                                        throws SystemException
Returns all the journal articles where resourcePrimKey = ? and indexable = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int[] statuses,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_I_S

public static List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                               boolean indexable,
                                               int[] statuses,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByR_I_S

public static void removeByR_I_S(long resourcePrimKey,
                                 boolean indexable,
                                 int status)
                          throws SystemException
Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
Throws:
SystemException - if a system exception occurred

countByR_I_S

public static int countByR_I_S(long resourcePrimKey,
                               boolean indexable,
                               int status)
                        throws SystemException
Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByR_I_S

public static int countByR_I_S(long resourcePrimKey,
                               boolean indexable,
                               int[] statuses)
                        throws SystemException
Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.

Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U_C

public static List<JournalArticle> findByG_U_C(long groupId,
                                               long userId,
                                               long classNameId)
                                        throws SystemException
Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U_C

public static List<JournalArticle> findByG_U_C(long groupId,
                                               long userId,
                                               long classNameId,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U_C

public static List<JournalArticle> findByG_U_C(long groupId,
                                               long userId,
                                               long classNameId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_U_C_First

public static JournalArticle findByG_U_C_First(long groupId,
                                               long userId,
                                               long classNameId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_U_C_First

public static JournalArticle fetchByG_U_C_First(long groupId,
                                                long userId,
                                                long classNameId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_C_Last

public static JournalArticle findByG_U_C_Last(long groupId,
                                              long userId,
                                              long classNameId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_U_C_Last

public static JournalArticle fetchByG_U_C_Last(long groupId,
                                               long userId,
                                               long classNameId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_U_C_PrevAndNext

public static JournalArticle[] findByG_U_C_PrevAndNext(long id,
                                                       long groupId,
                                                       long userId,
                                                       long classNameId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_U_C

public static List<JournalArticle> filterFindByG_U_C(long groupId,
                                                     long userId,
                                                     long classNameId)
                                              throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_C

public static List<JournalArticle> filterFindByG_U_C(long groupId,
                                                     long userId,
                                                     long classNameId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_C

public static List<JournalArticle> filterFindByG_U_C(long groupId,
                                                     long userId,
                                                     long classNameId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_U_C_PrevAndNext

public static JournalArticle[] filterFindByG_U_C_PrevAndNext(long id,
                                                             long groupId,
                                                             long userId,
                                                             long classNameId,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchArticleException
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 = ? and classNameId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_U_C

public static void removeByG_U_C(long groupId,
                                 long userId,
                                 long classNameId)
                          throws SystemException
Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Throws:
SystemException - if a system exception occurred

countByG_U_C

public static int countByG_U_C(long groupId,
                               long userId,
                               long classNameId)
                        throws SystemException
Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_U_C

public static int filterCountByG_U_C(long groupId,
                                     long userId,
                                     long classNameId)
                              throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.

Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int status)
                                         throws SystemException
Returns all the journal articles where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_ST_First

public static JournalArticle findByG_F_ST_First(long groupId,
                                                long folderId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_F_ST_First

public static JournalArticle fetchByG_F_ST_First(long groupId,
                                                 long folderId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_ST_Last

public static JournalArticle findByG_F_ST_Last(long groupId,
                                               long folderId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_F_ST_Last

public static JournalArticle fetchByG_F_ST_Last(long groupId,
                                                long folderId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_F_ST_PrevAndNext

public static JournalArticle[] findByG_F_ST_PrevAndNext(long id,
                                                        long groupId,
                                                        long folderId,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int status)
                                               throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int status,
                                                      int start,
                                                      int end)
                                               throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int status,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_ST_PrevAndNext

public static JournalArticle[] filterFindByG_F_ST_PrevAndNext(long id,
                                                              long groupId,
                                                              long folderId,
                                                              int status,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException,
                                                              NoSuchArticleException
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 = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int[] statuses)
                                               throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int[] statuses,
                                                      int start,
                                                      int end)
                                               throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_F_ST

public static List<JournalArticle> filterFindByG_F_ST(long groupId,
                                                      long folderId,
                                                      int[] statuses,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int[] statuses)
                                         throws SystemException
Returns all the journal articles where groupId = ? and folderId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int[] statuses,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal articles where groupId = ? and folderId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_F_ST

public static List<JournalArticle> findByG_F_ST(long groupId,
                                                long folderId,
                                                int[] statuses,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and folderId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByG_F_ST

public static void removeByG_F_ST(long groupId,
                                  long folderId,
                                  int status)
                           throws SystemException
Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_F_ST

public static int countByG_F_ST(long groupId,
                                long folderId,
                                int status)
                         throws SystemException
Returns the number of journal articles where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByG_F_ST

public static int countByG_F_ST(long groupId,
                                long folderId,
                                int[] statuses)
                         throws SystemException
Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_F_ST

public static int filterCountByG_F_ST(long groupId,
                                      long folderId,
                                      int status)
                               throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.

Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_F_ST

public static int filterCountByG_F_ST(long groupId,
                                      long folderId,
                                      int[] statuses)
                               throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.

Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_C

public static List<JournalArticle> findByG_C_C(long groupId,
                                               long classNameId,
                                               long classPK)
                                        throws SystemException
Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_C

public static List<JournalArticle> findByG_C_C(long groupId,
                                               long classNameId,
                                               long classPK,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_C

public static List<JournalArticle> findByG_C_C(long groupId,
                                               long classNameId,
                                               long classPK,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_C_First

public static JournalArticle findByG_C_C_First(long groupId,
                                               long classNameId,
                                               long classPK,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_C_First

public static JournalArticle fetchByG_C_C_First(long groupId,
                                                long classNameId,
                                                long classPK,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_C_Last

public static JournalArticle findByG_C_C_Last(long groupId,
                                              long classNameId,
                                              long classPK,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_C_Last

public static JournalArticle fetchByG_C_C_Last(long groupId,
                                               long classNameId,
                                               long classPK,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_C_PrevAndNext

public static JournalArticle[] findByG_C_C_PrevAndNext(long id,
                                                       long groupId,
                                                       long classNameId,
                                                       long classPK,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_C_C

public static List<JournalArticle> filterFindByG_C_C(long groupId,
                                                     long classNameId,
                                                     long classPK)
                                              throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C

public static List<JournalArticle> filterFindByG_C_C(long groupId,
                                                     long classNameId,
                                                     long classPK,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C

public static List<JournalArticle> filterFindByG_C_C(long groupId,
                                                     long classNameId,
                                                     long classPK,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C_PrevAndNext

public static JournalArticle[] filterFindByG_C_C_PrevAndNext(long id,
                                                             long groupId,
                                                             long classNameId,
                                                             long classPK,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchArticleException
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 classNameId = ? and classPK = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_C_C

public static void removeByG_C_C(long groupId,
                                 long classNameId,
                                 long classPK)
                          throws SystemException
Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Throws:
SystemException - if a system exception occurred

countByG_C_C

public static int countByG_C_C(long groupId,
                               long classNameId,
                               long classPK)
                        throws SystemException
Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_C_C

public static int filterCountByG_C_C(long groupId,
                                     long classNameId,
                                     long classPK)
                              throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_S

public static JournalArticle findByG_C_S(long groupId,
                                         long classNameId,
                                         String structureId)
                                  throws SystemException,
                                         NoSuchArticleException
Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a NoSuchArticleException if it could not be found.

Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_S

public static JournalArticle fetchByG_C_S(long groupId,
                                          long classNameId,
                                          String structureId)
                                   throws SystemException
Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_C_S

public static JournalArticle fetchByG_C_S(long groupId,
                                          long classNameId,
                                          String structureId,
                                          boolean retrieveFromCache)
                                   throws SystemException
Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

removeByG_C_S

public static JournalArticle removeByG_C_S(long groupId,
                                           long classNameId,
                                           String structureId)
                                    throws SystemException,
                                           NoSuchArticleException
Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database.

Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the journal article that was removed
Throws:
SystemException - if a system exception occurred
NoSuchArticleException

countByG_C_S

public static int countByG_C_S(long groupId,
                               long classNameId,
                               String structureId)
                        throws SystemException
Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_T

public static List<JournalArticle> findByG_C_T(long groupId,
                                               long classNameId,
                                               String templateId)
                                        throws SystemException
Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_T

public static List<JournalArticle> findByG_C_T(long groupId,
                                               long classNameId,
                                               String templateId,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_T

public static List<JournalArticle> findByG_C_T(long groupId,
                                               long classNameId,
                                               String templateId,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_T_First

public static JournalArticle findByG_C_T_First(long groupId,
                                               long classNameId,
                                               String templateId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_T_First

public static JournalArticle fetchByG_C_T_First(long groupId,
                                                long classNameId,
                                                String templateId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_T_Last

public static JournalArticle findByG_C_T_Last(long groupId,
                                              long classNameId,
                                              String templateId,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_T_Last

public static JournalArticle fetchByG_C_T_Last(long groupId,
                                               long classNameId,
                                               String templateId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_T_PrevAndNext

public static JournalArticle[] findByG_C_T_PrevAndNext(long id,
                                                       long groupId,
                                                       long classNameId,
                                                       String templateId,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_C_T

public static List<JournalArticle> filterFindByG_C_T(long groupId,
                                                     long classNameId,
                                                     String templateId)
                                              throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_T

public static List<JournalArticle> filterFindByG_C_T(long groupId,
                                                     long classNameId,
                                                     String templateId,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_T

public static List<JournalArticle> filterFindByG_C_T(long groupId,
                                                     long classNameId,
                                                     String templateId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_T_PrevAndNext

public static JournalArticle[] filterFindByG_C_T_PrevAndNext(long id,
                                                             long groupId,
                                                             long classNameId,
                                                             String templateId,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchArticleException
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 classNameId = ? and templateId = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_C_T

public static void removeByG_C_T(long groupId,
                                 long classNameId,
                                 String templateId)
                          throws SystemException
Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Throws:
SystemException - if a system exception occurred

countByG_C_T

public static int countByG_C_T(long groupId,
                               long classNameId,
                               String templateId)
                        throws SystemException
Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_C_T

public static int filterCountByG_C_T(long groupId,
                                     long classNameId,
                                     String templateId)
                              throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_C_L

public static List<JournalArticle> findByG_C_L(long groupId,
                                               long classNameId,
                                               String layoutUuid)
                                        throws SystemException
Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_L

public static List<JournalArticle> findByG_C_L(long groupId,
                                               long classNameId,
                                               String layoutUuid,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles where groupId = ? and classNameId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_L

public static List<JournalArticle> findByG_C_L(long groupId,
                                               long classNameId,
                                               String layoutUuid,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_L_First

public static JournalArticle findByG_C_L_First(long groupId,
                                               long classNameId,
                                               String layoutUuid,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_L_First

public static JournalArticle fetchByG_C_L_First(long groupId,
                                                long classNameId,
                                                String layoutUuid,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_L_Last

public static JournalArticle findByG_C_L_Last(long groupId,
                                              long classNameId,
                                              String layoutUuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_C_L_Last

public static JournalArticle fetchByG_C_L_Last(long groupId,
                                               long classNameId,
                                               String layoutUuid,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_L_PrevAndNext

public static JournalArticle[] findByG_C_L_PrevAndNext(long id,
                                                       long groupId,
                                                       long classNameId,
                                                       String layoutUuid,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException,
                                                       NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_C_L

public static List<JournalArticle> filterFindByG_C_L(long groupId,
                                                     long classNameId,
                                                     String layoutUuid)
                                              throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

public static List<JournalArticle> filterFindByG_C_L(long groupId,
                                                     long classNameId,
                                                     String layoutUuid,
                                                     int start,
                                                     int end)
                                              throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

public static List<JournalArticle> filterFindByG_C_L(long groupId,
                                                     long classNameId,
                                                     String layoutUuid,
                                                     int start,
                                                     int end,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L_PrevAndNext

public static JournalArticle[] filterFindByG_C_L_PrevAndNext(long id,
                                                             long groupId,
                                                             long classNameId,
                                                             String layoutUuid,
                                                             OrderByComparator orderByComparator)
                                                      throws SystemException,
                                                             NoSuchArticleException
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 classNameId = ? and layoutUuid = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_C_L

public static void removeByG_C_L(long groupId,
                                 long classNameId,
                                 String layoutUuid)
                          throws SystemException
Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Throws:
SystemException - if a system exception occurred

countByG_C_L

public static int countByG_C_L(long groupId,
                               long classNameId,
                               String layoutUuid)
                        throws SystemException
Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_C_L

public static int filterCountByG_C_L(long groupId,
                                     long classNameId,
                                     String layoutUuid)
                              throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.

Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_A_V

public static JournalArticle findByG_A_V(long groupId,
                                         String articleId,
                                         double version)
                                  throws SystemException,
                                         NoSuchArticleException
Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.

Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_V

public static JournalArticle fetchByG_A_V(long groupId,
                                          String articleId,
                                          double version)
                                   throws SystemException
Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_A_V

public static JournalArticle fetchByG_A_V(long groupId,
                                          String articleId,
                                          double version,
                                          boolean retrieveFromCache)
                                   throws SystemException
Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
groupId - the group ID
articleId - the article ID
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

removeByG_A_V

public static JournalArticle removeByG_A_V(long groupId,
                                           String articleId,
                                           double version)
                                    throws SystemException,
                                           NoSuchArticleException
Removes the journal article where groupId = ? and articleId = ? and version = ? from the database.

Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the journal article that was removed
Throws:
SystemException - if a system exception occurred
NoSuchArticleException

countByG_A_V

public static int countByG_A_V(long groupId,
                               String articleId,
                               double version)
                        throws SystemException
Returns the number of journal articles where groupId = ? and articleId = ? and version = ?.

Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int status)
                                         throws SystemException
Returns all the journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST_First

public static JournalArticle findByG_A_ST_First(long groupId,
                                                String articleId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_ST_First

public static JournalArticle fetchByG_A_ST_First(long groupId,
                                                 String articleId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_ST_Last

public static JournalArticle findByG_A_ST_Last(long groupId,
                                               String articleId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_ST_Last

public static JournalArticle fetchByG_A_ST_Last(long groupId,
                                                String articleId,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_ST_PrevAndNext

public static JournalArticle[] findByG_A_ST_PrevAndNext(long id,
                                                        long groupId,
                                                        String articleId,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int status)
                                               throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int status,
                                                      int start,
                                                      int end)
                                               throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int status,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST_PrevAndNext

public static JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id,
                                                              long groupId,
                                                              String articleId,
                                                              int status,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException,
                                                              NoSuchArticleException
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 = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int[] statuses)
                                               throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int[] statuses,
                                                      int start,
                                                      int end)
                                               throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int[] statuses,
                                                      int start,
                                                      int end,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException
Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int[] statuses)
                                         throws SystemException
Returns all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int[] statuses,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public static List<JournalArticle> findByG_A_ST(long groupId,
                                                String articleId,
                                                int[] statuses,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

removeByG_A_ST

public static void removeByG_A_ST(long groupId,
                                  String articleId,
                                  int status)
                           throws SystemException
Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_A_ST

public static int countByG_A_ST(long groupId,
                                String articleId,
                                int status)
                         throws SystemException
Returns the number of journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByG_A_ST

public static int countByG_A_ST(long groupId,
                                String articleId,
                                int[] statuses)
                         throws SystemException
Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A_ST

public static int filterCountByG_A_ST(long groupId,
                                      String articleId,
                                      int status)
                               throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterCountByG_A_ST

public static int filterCountByG_A_ST(long groupId,
                                      String articleId,
                                      int[] statuses)
                               throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_A_NotST

public static List<JournalArticle> findByG_A_NotST(long groupId,
                                                   String articleId,
                                                   int status)
                                            throws SystemException
Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_NotST

public static List<JournalArticle> findByG_A_NotST(long groupId,
                                                   String articleId,
                                                   int status,
                                                   int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_NotST

public static List<JournalArticle> findByG_A_NotST(long groupId,
                                                   String articleId,
                                                   int status,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_NotST_First

public static JournalArticle findByG_A_NotST_First(long groupId,
                                                   String articleId,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_NotST_First

public static JournalArticle fetchByG_A_NotST_First(long groupId,
                                                    String articleId,
                                                    int status,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_NotST_Last

public static JournalArticle findByG_A_NotST_Last(long groupId,
                                                  String articleId,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_NotST_Last

public static JournalArticle fetchByG_A_NotST_Last(long groupId,
                                                   String articleId,
                                                   int status,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_NotST_PrevAndNext

public static JournalArticle[] findByG_A_NotST_PrevAndNext(long id,
                                                           long groupId,
                                                           String articleId,
                                                           int status,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A_NotST

public static List<JournalArticle> filterFindByG_A_NotST(long groupId,
                                                         String articleId,
                                                         int status)
                                                  throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_NotST

public static List<JournalArticle> filterFindByG_A_NotST(long groupId,
                                                         String articleId,
                                                         int status,
                                                         int start,
                                                         int end)
                                                  throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_NotST

public static List<JournalArticle> filterFindByG_A_NotST(long groupId,
                                                         String articleId,
                                                         int status,
                                                         int start,
                                                         int end,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_NotST_PrevAndNext

public static JournalArticle[] filterFindByG_A_NotST_PrevAndNext(long id,
                                                                 long groupId,
                                                                 String articleId,
                                                                 int status,
                                                                 OrderByComparator orderByComparator)
                                                          throws SystemException,
                                                                 NoSuchArticleException
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 = ? and status ≠ ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_A_NotST

public static void removeByG_A_NotST(long groupId,
                                     String articleId,
                                     int status)
                              throws SystemException
Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Throws:
SystemException - if a system exception occurred

countByG_A_NotST

public static int countByG_A_NotST(long groupId,
                                   String articleId,
                                   int status)
                            throws SystemException
Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A_NotST

public static int filterCountByG_A_NotST(long groupId,
                                         String articleId,
                                         int status)
                                  throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.

Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

public static List<JournalArticle> findByG_UT_ST(long groupId,
                                                 String urlTitle,
                                                 int status)
                                          throws SystemException
Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

public static List<JournalArticle> findByG_UT_ST(long groupId,
                                                 String urlTitle,
                                                 int status,
                                                 int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the journal articles where groupId = ? and urlTitle = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

public static List<JournalArticle> findByG_UT_ST(long groupId,
                                                 String urlTitle,
                                                 int status,
                                                 int start,
                                                 int end,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_First

public static JournalArticle findByG_UT_ST_First(long groupId,
                                                 String urlTitle,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException,
                                                 NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_UT_ST_First

public static JournalArticle fetchByG_UT_ST_First(long groupId,
                                                  String urlTitle,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_Last

public static JournalArticle findByG_UT_ST_Last(long groupId,
                                                String urlTitle,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_UT_ST_Last

public static JournalArticle fetchByG_UT_ST_Last(long groupId,
                                                 String urlTitle,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_PrevAndNext

public static JournalArticle[] findByG_UT_ST_PrevAndNext(long id,
                                                         long groupId,
                                                         String urlTitle,
                                                         int status,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_UT_ST

public static List<JournalArticle> filterFindByG_UT_ST(long groupId,
                                                       String urlTitle,
                                                       int status)
                                                throws SystemException
Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

public static List<JournalArticle> filterFindByG_UT_ST(long groupId,
                                                       String urlTitle,
                                                       int status,
                                                       int start,
                                                       int end)
                                                throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

public static List<JournalArticle> filterFindByG_UT_ST(long groupId,
                                                       String urlTitle,
                                                       int status,
                                                       int start,
                                                       int end,
                                                       OrderByComparator orderByComparator)
                                                throws SystemException
Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST_PrevAndNext

public static JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id,
                                                               long groupId,
                                                               String urlTitle,
                                                               int status,
                                                               OrderByComparator orderByComparator)
                                                        throws SystemException,
                                                               NoSuchArticleException
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 = ? and status = ?.

Parameters:
id - the primary key of the current journal article
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByG_UT_ST

public static void removeByG_UT_ST(long groupId,
                                   String urlTitle,
                                   int status)
                            throws SystemException
Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Throws:
SystemException - if a system exception occurred

countByG_UT_ST

public static int countByG_UT_ST(long groupId,
                                 String urlTitle,
                                 int status)
                          throws SystemException
Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_UT_ST

public static int filterCountByG_UT_ST(long groupId,
                                       String urlTitle,
                                       int status)
                                throws SystemException
Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_V_ST

public static List<JournalArticle> findByC_V_ST(long companyId,
                                                double version,
                                                int status)
                                         throws SystemException
Returns all the journal articles where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V_ST

public static List<JournalArticle> findByC_V_ST(long companyId,
                                                double version,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Returns a range of all the journal articles where companyId = ? and version = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
version - the version
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V_ST

public static List<JournalArticle> findByC_V_ST(long companyId,
                                                double version,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns an ordered range of all the journal articles where companyId = ? and version = ? 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 QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
companyId - the company ID
version - the version
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_V_ST_First

public static JournalArticle findByC_V_ST_First(long companyId,
                                                double version,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_V_ST_First

public static JournalArticle fetchByC_V_ST_First(long companyId,
                                                 double version,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws SystemException
Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_V_ST_Last

public static JournalArticle findByC_V_ST_Last(long companyId,
                                               double version,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByC_V_ST_Last

public static JournalArticle fetchByC_V_ST_Last(long companyId,
                                                double version,
                                                int status,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByC_V_ST_PrevAndNext

public static JournalArticle[] findByC_V_ST_PrevAndNext(long id,
                                                        long companyId,
                                                        double version,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?.

Parameters:
id - the primary key of the current journal article
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

removeByC_V_ST

public static void removeByC_V_ST(long companyId,
                                  double version,
                                  int status)
                           throws SystemException
Removes all the journal articles where companyId = ? and version = ? and status = ? from the database.

Parameters:
companyId - the company ID
version - the version
status - the status
Throws:
SystemException - if a system exception occurred

countByC_V_ST

public static int countByC_V_ST(long companyId,
                                double version,
                                int status)
                         throws SystemException
Returns the number of journal articles where companyId = ? and version = ? and status = ?.

Parameters:
companyId - the company ID
version - the version
status - the status
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

cacheResult

public static void cacheResult(JournalArticle journalArticle)
Caches the journal article in the entity cache if it is enabled.

Parameters:
journalArticle - the journal article

cacheResult

public static void cacheResult(List<JournalArticle> journalArticles)
Caches the journal articles in the entity cache if it is enabled.

Parameters:
journalArticles - the journal articles

create

public static JournalArticle create(long id)
Creates a new journal article with the primary key. Does not add the journal article to the database.

Parameters:
id - the primary key for the new journal article
Returns:
the new journal article

remove

public static JournalArticle remove(long id)
                             throws SystemException,
                                    NoSuchArticleException
Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
id - the primary key of the journal article
Returns:
the journal article that was removed
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

updateImpl

public static JournalArticle updateImpl(JournalArticle journalArticle)
                                 throws SystemException
Throws:
SystemException

findByPrimaryKey

public static JournalArticle findByPrimaryKey(long id)
                                       throws SystemException,
                                              NoSuchArticleException
Returns the journal article with the primary key or throws a NoSuchArticleException if it could not be found.

Parameters:
id - the primary key of the journal article
Returns:
the journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public static JournalArticle fetchByPrimaryKey(long id)
                                        throws SystemException
Returns the journal article with the primary key or returns null if it could not be found.

Parameters:
id - the primary key of the journal article
Returns:
the journal article, or null if a journal article with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findAll

public static List<JournalArticle> findAll()
                                    throws SystemException
Returns all the journal articles.

Returns:
the journal articles
Throws:
SystemException - if a system exception occurred

findAll

public static List<JournalArticle> findAll(int start,
                                           int end)
                                    throws SystemException
Returns a range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of journal articles
Throws:
SystemException - if a system exception occurred

findAll

public static List<JournalArticle> findAll(int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Returns an ordered range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from 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.

Parameters:
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of journal articles
Throws:
SystemException - if a system exception occurred

removeAll

public static void removeAll()
                      throws SystemException
Removes all the journal articles from the database.

Throws:
SystemException - if a system exception occurred

countAll

public static int countAll()
                    throws SystemException
Returns the number of journal articles.

Returns:
the number of journal articles
Throws:
SystemException - if a system exception occurred

getPersistence

public static JournalArticlePersistence getPersistence()

setPersistence

public void setPersistence(JournalArticlePersistence persistence)
Deprecated. As of 6.2.0


Liferay 6.2-ce-ga5