Liferay 6.1.2-ce-ga3

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

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

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_ST(long companyId, int status)
          Returns the number of journal articles where companyId = ? and status = ?.
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_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_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_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 countByR_ST(long resourcePrimKey, int status)
          Returns the number of journal articles where resourcePrimKey = ? and status = ?.
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 countByTemplateId(String templateId)
          Returns the number of journal articles where templateId = ?.
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 = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static JournalArticle create(long id)
          Creates a new journal article with the primary key.
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_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_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_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_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 fetchByPrimaryKey(long id)
          Returns the journal article with the primary key or returns null if it could not be found.
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_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_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_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_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_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_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_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_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_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_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_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_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 findByPrimaryKey(long id)
          Returns the journal article with the primary key or throws a NoSuchArticleException if it could not be found.
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 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 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_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_ST(long companyId, int status)
          Removes all the journal articles where companyId = ? and status = ? 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_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_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_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 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 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.  
static JournalArticle update(JournalArticle journalArticle, boolean merge)
           
static JournalArticle update(JournalArticle journalArticle, boolean merge, ServiceContext serviceContext)
           
static JournalArticle updateImpl(JournalArticle journalArticle, boolean merge)
           
 
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 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,
                                    boolean merge)
                             throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

update

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

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,
                                        boolean merge)
                                 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

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.

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.

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

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

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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

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.

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.

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

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.

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.

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.

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.

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

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

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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

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.

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.

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

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.

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.

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.

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

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.

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.

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.

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.

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_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.

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.

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.

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.

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

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.

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.

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

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.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

removeAll

public static void removeAll()
                      throws SystemException
Removes all the journal articles from the database.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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. 


Liferay 6.1.2-ce-ga3