Liferay 6.0.5

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.

Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regenerate this 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 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()
          Counts all the journal articles.
static int countByC_ST(long companyId, int status)
          Counts all the journal articles where companyId = ? and status = ?.
static int countByCompanyId(long companyId)
          Counts all the journal articles where companyId = ?.
static int countByG_A_ST(long groupId, String articleId, int status)
          Counts all the journal articles where groupId = ? and articleId = ? and status = ?.
static int countByG_A_V(long groupId, String articleId, double version)
          Counts all the journal articles where groupId = ? and articleId = ? and version = ?.
static int countByG_A(long groupId, String articleId)
          Counts all the journal articles where groupId = ? and articleId = ?.
static int countByG_S(long groupId, String structureId)
          Counts all the journal articles where groupId = ? and structureId = ?.
static int countByG_ST(long groupId, int status)
          Counts all the journal articles where groupId = ? and status = ?.
static int countByG_T(long groupId, String templateId)
          Counts all the journal articles where groupId = ? and templateId = ?.
static int countByG_UT_ST(long groupId, String urlTitle, int status)
          Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static int countByG_UT(long groupId, String urlTitle)
          Counts all the journal articles where groupId = ? and urlTitle = ?.
static int countByGroupId(long groupId)
          Counts all the journal articles where groupId = ?.
static int countByR_ST(long resourcePrimKey, int status)
          Counts all the journal articles where resourcePrimKey = ? and status = ?.
static int countByResourcePrimKey(long resourcePrimKey)
          Counts all the journal articles where resourcePrimKey = ?.
static int countBySmallImageId(long smallImageId)
          Counts all the journal articles where smallImageId = ?.
static int countByUUID_G(String uuid, long groupId)
          Counts all the journal articles where uuid = ? and groupId = ?.
static int countByUuid(String uuid)
          Counts all the journal articles where uuid = ?.
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static JournalArticle create(long id)
          Creates a new journal article with the primary key.
static JournalArticle fetchByG_A_V(long groupId, String articleId, double version)
          Finds 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)
          Finds 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 fetchByPrimaryKey(long id)
          Finds the journal article with the primary key or returns null if it could not be found.
static JournalArticle fetchByUUID_G(String uuid, long groupId)
          Finds 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)
          Finds the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
static int filterCountByG_A_ST(long groupId, String articleId, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?.
static int filterCountByG_A_V(long groupId, String articleId, double version)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and version = ?.
static int filterCountByG_A(long groupId, String articleId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?.
static int filterCountByG_S(long groupId, String structureId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?.
static int filterCountByG_ST(long groupId, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?.
static int filterCountByG_T(long groupId, String templateId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?.
static int filterCountByG_UT_ST(long groupId, String urlTitle, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static int filterCountByG_UT(long groupId, String urlTitle)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?.
static int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the journal articles where groupId = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the journal articles where groupId = ?.
static List<JournalArticle> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ?.
static List<JournalArticle> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?.
static List<JournalArticle> findAll()
          Finds all the journal articles.
static List<JournalArticle> findAll(int start, int end)
          Finds a range of all the journal articles.
static List<JournalArticle> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles.
static JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where companyId = ? and status = ?.
static JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the journal articles where companyId = ? and status = ?.
static List<JournalArticle> findByC_ST(long companyId, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where companyId = ? and status = ?.
static JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where companyId = ?.
static JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where companyId = ?.
static JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId)
          Finds all the journal articles where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the journal articles where companyId = ?.
static List<JournalArticle> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where companyId = ?.
static JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and articleId = ?.
static JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds all the journal articles where groupId = ? and articleId = ?.
static List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and articleId = ?.
static JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and structureId = ?.
static JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the journal articles where groupId = ? and structureId = ?.
static List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and structureId = ?.
static JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and status = ?.
static JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the journal articles where groupId = ? and status = ?.
static List<JournalArticle> findByG_ST(long groupId, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and status = ?.
static JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and templateId = ?.
static JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the journal articles where groupId = ? and templateId = ?.
static List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and templateId = ?.
static JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and urlTitle = ?.
static JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
static List<JournalArticle> findByG_UT(long groupId, String urlTitle)
          Finds all the journal articles where groupId = ? and urlTitle = ?.
static List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
static JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ?.
static JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ?.
static JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId)
          Finds all the journal articles where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId, int start, int end)
          Finds a range of all the journal articles where groupId = ?.
static List<JournalArticle> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where groupId = ?.
static JournalArticle findByPrimaryKey(long id)
          Finds 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)
          Finds the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
static JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Finds 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)
          Finds 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)
          Finds all the journal articles where resourcePrimKey = ? and status = ?.
static List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where resourcePrimKey = ? and status = ?.
static JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where resourcePrimKey = ?.
static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey)
          Finds all the journal articles where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Finds a range of all the journal articles where resourcePrimKey = ?.
static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where resourcePrimKey = ?.
static JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where smallImageId = ?.
static JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where smallImageId = ?.
static JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId)
          Finds all the journal articles where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end)
          Finds a range of all the journal articles where smallImageId = ?.
static List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where smallImageId = ?.
static JournalArticle findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where uuid = ?.
static JournalArticle findByUUID_G(String uuid, long groupId)
          Finds 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)
          Finds the last journal article in the ordered set where uuid = ?.
static JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where uuid = ?.
static List<JournalArticle> findByUuid(String uuid)
          Finds all the journal articles where uuid = ?.
static List<JournalArticle> findByUuid(String uuid, int start, int end)
          Finds a range of all the journal articles where uuid = ?.
static List<JournalArticle> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds 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(JournalArticle journalArticle)
           
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 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 void 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_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 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 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)
           
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)

remove

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

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 to cache

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 to cache

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 to remove
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
Finds 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 to find
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
Finds 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 to find
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
Finds all the journal articles where uuid = ?.

Parameters:
uuid - the uuid to search with
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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByUuid_Last

public static JournalArticle findByUuid_Last(String uuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public static JournalArticle[] findByUuid_PrevAndNext(long id,
                                                      String uuid,
                                                      OrderByComparator orderByComparator)
                                               throws SystemException,
                                                      NoSuchArticleException
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
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
Finds the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
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
Finds the journal article where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
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
Finds 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 to search with
groupId - the group id to search with
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
Finds all the journal articles where resourcePrimKey = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByResourcePrimKey_Last

public static JournalArticle findByResourcePrimKey_Last(long resourcePrimKey,
                                                        OrderByComparator orderByComparator)
                                                 throws SystemException,
                                                        NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByResourcePrimKey_PrevAndNext

public static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id,
                                                                 long resourcePrimKey,
                                                                 OrderByComparator orderByComparator)
                                                          throws SystemException,
                                                                 NoSuchArticleException
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key to search with
orderByComparator - the comparator to order the set by
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
Finds all the journal articles where groupId = ?.

Parameters:
groupId - the group id to search with
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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByGroupId_Last

public static JournalArticle findByGroupId_Last(long groupId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public static JournalArticle[] findByGroupId_PrevAndNext(long id,
                                                         long groupId,
                                                         OrderByComparator orderByComparator)
                                                  throws SystemException,
                                                         NoSuchArticleException
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ?.

Parameters:
groupId - the group id to search with
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
Filters by the user's permissions and finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Parameters:
companyId - the company id to search with
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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

public static JournalArticle findByCompanyId_Last(long companyId,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public static JournalArticle[] findByCompanyId_PrevAndNext(long id,
                                                           long companyId,
                                                           OrderByComparator orderByComparator)
                                                    throws SystemException,
                                                           NoSuchArticleException
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
companyId - the company id to search with
orderByComparator - the comparator to order the set by
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
Finds all the journal articles where smallImageId = ?.

Parameters:
smallImageId - the small image id to search with
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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findBySmallImageId_Last

public static JournalArticle findBySmallImageId_Last(long smallImageId,
                                                     OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findBySmallImageId_PrevAndNext

public static JournalArticle[] findBySmallImageId_PrevAndNext(long id,
                                                              long smallImageId,
                                                              OrderByComparator orderByComparator)
                                                       throws SystemException,
                                                              NoSuchArticleException
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
smallImageId - the small image id to search with
orderByComparator - the comparator to order the set by
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
Finds all the journal articles where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByR_ST_Last

public static JournalArticle findByR_ST_Last(long resourcePrimKey,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
resourcePrimKey - the resource prim key to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Finds all the journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
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
Finds 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 to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_A_Last

public static JournalArticle findByG_A_Last(long groupId,
                                            String articleId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
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
Filters by the user's permissions and finds 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 to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_S

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

Parameters:
groupId - the group id to search with
structureId - the structure id to search with
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
Finds 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 to search with
structureId - the structure id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
structureId - the structure id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
structureId - the structure id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_S_Last

public static JournalArticle findByG_S_Last(long groupId,
                                            String structureId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
structureId - the structure id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
structureId - the structure id to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?.

Parameters:
groupId - the group id to search with
structureId - the structure id to search with
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
Filters by the user's permissions and finds 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 to search with
structureId - the structure id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
structureId - the structure id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_T

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

Parameters:
groupId - the group id to search with
templateId - the template id to search with
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
Finds 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 to search with
templateId - the template id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
templateId - the template id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
templateId - the template id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_T_Last

public static JournalArticle findByG_T_Last(long groupId,
                                            String templateId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
templateId - the template id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
templateId - the template id to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?.

Parameters:
groupId - the group id to search with
templateId - the template id to search with
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
Filters by the user's permissions and finds 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 to search with
templateId - the template id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
templateId - the template id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_UT

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

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
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
Finds 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 to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
urlTitle - the url title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_UT_Last

public static JournalArticle findByG_UT_Last(long groupId,
                                             String urlTitle,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
urlTitle - the url title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
urlTitle - the url title to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
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
Filters by the user's permissions and finds 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 to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_ST

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

Parameters:
groupId - the group id to search with
status - the status to search with
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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_ST_Last

public static JournalArticle findByG_ST_Last(long groupId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?.

Parameters:
groupId - the group id to search with
status - the status to search with
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
Filters by the user's permissions and finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_ST

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

Parameters:
companyId - the company id to search with
status - the status to search with
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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByC_ST_Last

public static JournalArticle findByC_ST_Last(long companyId,
                                             int status,
                                             OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchArticleException
Finds the last journal article in the ordered set 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 to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Finds the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
version - the version to search with
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
Finds 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 to search with
articleId - the article id to search with
version - the version to search with
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
Finds 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 to search with
articleId - the article id to search with
version - the version to search with
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
Finds all the journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
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
Finds 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 to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the last journal article in the ordered set 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 to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

filterFindByG_A_ST

public static List<JournalArticle> filterFindByG_A_ST(long groupId,
                                                      String articleId,
                                                      int status)
                                               throws SystemException
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
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
Filters by the user's permissions and finds 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 to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
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
Finds 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 to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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
Finds the first journal article in the ordered set 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 to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the last journal article in the ordered set 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 to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
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
Finds the journal articles before and after the current journal article in the ordered set 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:
id - the primary key of the current journal article
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
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
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
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
Filters by the user's permissions and finds 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 to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (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
Filters by the user's permissions and finds 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 to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public static List<JournalArticle> findAll()
                                    throws SystemException
Finds 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
Finds 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 to return
end - the upper bound of the range of journal articles to return (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
Finds 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 to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
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 to search with
Throws:
SystemException - if a system exception occurred

removeByUUID_G

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

Parameters:
uuid - the uuid to search with
groupId - the group id to search with
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 to search with
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 to search with
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 to search with
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 to search with
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 to search with
status - the status to search with
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 to search with
articleId - the article id to search with
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 to search with
structureId - the structure id to search with
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 to search with
templateId - the template id to search with
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 to search with
urlTitle - the url title to search with
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 to search with
status - the status to search with
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 to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByG_A_V

public static void 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 to search with
articleId - the article id to search with
version - the version to search with
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 to search with
articleId - the article id to search with
status - the status to search with
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 to search with
urlTitle - the url title to search with
status - the status to search with
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
Counts all the journal articles where uuid = ?.

Parameters:
uuid - the uuid to search with
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
Counts all the journal articles where uuid = ? and groupId = ?.

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

countByResourcePrimKey

public static int countByResourcePrimKey(long resourcePrimKey)
                                  throws SystemException
Counts all the journal articles where resourcePrimKey = ?.

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

countByGroupId

public static int countByGroupId(long groupId)
                          throws SystemException
Counts all the journal articles where groupId = ?.

Parameters:
groupId - the group id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public static int filterCountByGroupId(long groupId)
                                throws SystemException
Filters by the user's permissions and counts all the journal articles where groupId = ?.

Parameters:
groupId - the group id to search with
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
Counts all the journal articles where companyId = ?.

Parameters:
companyId - the company id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countBySmallImageId

public static int countBySmallImageId(long smallImageId)
                               throws SystemException
Counts all the journal articles where smallImageId = ?.

Parameters:
smallImageId - the small image id to search with
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
Counts all the journal articles where resourcePrimKey = ? and status = ?.

Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
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
Counts all the journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
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
Counts all the journal articles where groupId = ? and structureId = ?.

Parameters:
groupId - the group id to search with
structureId - the structure id to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?.

Parameters:
groupId - the group id to search with
structureId - the structure id to search with
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
Counts all the journal articles where groupId = ? and templateId = ?.

Parameters:
groupId - the group id to search with
templateId - the template id to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?.

Parameters:
groupId - the group id to search with
templateId - the template id to search with
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
Counts all the journal articles where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
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
Counts all the journal articles where groupId = ? and status = ?.

Parameters:
groupId - the group id to search with
status - the status to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?.

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

countByC_ST

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

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

countByG_A_V

public static int countByG_A_V(long groupId,
                               String articleId,
                               double version)
                        throws SystemException
Counts all the journal articles where groupId = ? and articleId = ? and version = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
version - the version to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A_V

public static int filterCountByG_A_V(long groupId,
                                     String articleId,
                                     double version)
                              throws SystemException
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and version = ?.

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

countByG_A_ST

public static int countByG_A_ST(long groupId,
                                String articleId,
                                int status)
                         throws SystemException
Counts all the journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?.

Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
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
Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
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
Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.

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

countAll

public static int countAll()
                    throws SystemException
Counts all the 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)

Liferay 6.0.5