Liferay 7.0-ce-m3

com.liferay.portlet.journal.service.persistence.impl
Class JournalArticlePersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalArticle>
      extended by com.liferay.portlet.journal.service.persistence.impl.JournalArticlePersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<JournalArticle>, JournalArticlePersistence

@ProviderType
public class JournalArticlePersistenceImpl
extends BasePersistenceImpl<JournalArticle>
implements JournalArticlePersistence

The persistence implementation for the journal article service.

Caching information and settings can be found in portal.properties

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_DDMTK
           
static FinderPath FINDER_PATH_COUNT_BY_C_ST
           
static FinderPath FINDER_PATH_COUNT_BY_C_V
           
static FinderPath FINDER_PATH_COUNT_BY_C_V_ST
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_DDMSTRUCTUREKEY
           
static FinderPath FINDER_PATH_COUNT_BY_DDMTEMPLATEKEY
           
static FinderPath FINDER_PATH_COUNT_BY_G_A
           
static FinderPath FINDER_PATH_COUNT_BY_G_A_ST
           
static FinderPath FINDER_PATH_COUNT_BY_G_A_V
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_C
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_DDMSK
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_DDMTK
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_DDMSK
           
static FinderPath FINDER_PATH_COUNT_BY_G_DDMTK
           
static FinderPath FINDER_PATH_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_COUNT_BY_G_F_ST
           
static FinderPath FINDER_PATH_COUNT_BY_G_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_ST
           
static FinderPath FINDER_PATH_COUNT_BY_G_U
           
static FinderPath FINDER_PATH_COUNT_BY_G_U_C
           
static FinderPath FINDER_PATH_COUNT_BY_G_UT
           
static FinderPath FINDER_PATH_COUNT_BY_G_UT_ST
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_LAYOUTUUID
           
static FinderPath FINDER_PATH_COUNT_BY_R_I
           
static FinderPath FINDER_PATH_COUNT_BY_R_I_S
           
static FinderPath FINDER_PATH_COUNT_BY_R_ST
           
static FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_C
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_A_V
           
static FinderPath FINDER_PATH_FETCH_BY_G_C_DDMSK
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_DDMSTRUCTUREKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_NOTST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_I_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DDMTK
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMSTRUCTUREKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMTEMPLATEKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_NOTST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_DDMTK
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMSK
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMTK
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DDMTK
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMSTRUCTUREKEY
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMTEMPLATEKEY
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_DDMTK
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMSK
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMTK
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
JournalArticlePersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the journal article persistence.
 void cacheResult(JournalArticle journalArticle)
          Caches the journal article in the entity cache if it is enabled.
 void cacheResult(List<JournalArticle> journalArticles)
          Caches the journal articles in the entity cache if it is enabled.
protected  void cacheUniqueFindersCache(JournalArticle journalArticle)
           
 void clearCache()
          Clears the cache for all journal articles.
 void clearCache(JournalArticle journalArticle)
          Clears the cache for the journal article.
 void clearCache(List<JournalArticle> journalArticles)
          Clears the cache for a List instances of this model.
protected  void clearUniqueFindersCache(JournalArticle journalArticle)
           
 int countAll()
          Returns the number of journal articles.
 int countByC_DDMTK(long classNameId, String DDMTemplateKey)
          Returns the number of journal articles where classNameId = ? and DDMTemplateKey = ?.
 int countByC_NotST(long companyId, int status)
          Returns the number of journal articles where companyId = ? and status ≠ ?.
 int countByC_ST(long companyId, int status)
          Returns the number of journal articles where companyId = ? and status = ?.
 int countByC_V_ST(long companyId, double version, int status)
          Returns the number of journal articles where companyId = ? and version = ? and status = ?.
 int countByC_V(long companyId, double version)
          Returns the number of journal articles where companyId = ? and version = ?.
 int countByCompanyId(long companyId)
          Returns the number of journal articles where companyId = ?.
 int countByDDMStructureKey(String DDMStructureKey)
          Returns the number of journal articles where DDMStructureKey = ?.
 int countByDDMStructureKey(String[] DDMStructureKeies)
          Returns the number of journal articles where DDMStructureKey = any ?.
 int countByDDMTemplateKey(String DDMTemplateKey)
          Returns the number of journal articles where DDMTemplateKey = ?.
 int countByG_A_NotST(long groupId, String articleId, int status)
          Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?.
 int countByG_A_ST(long groupId, String articleId, int status)
          Returns the number of journal articles where groupId = ? and articleId = ? and status = ?.
 int countByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?.
 int countByG_A_V(long groupId, String articleId, double version)
          Returns the number of journal articles where groupId = ? and articleId = ? and version = ?.
 int countByG_A(long groupId, String articleId)
          Returns the number of journal articles where groupId = ? and articleId = ?.
 int countByG_C_C(long groupId, long classNameId, long classPK)
          Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?.
 int countByG_C_DDMSK(long groupId, long classNameId, String DDMStructureKey)
          Returns the number of journal articles where groupId = ? and classNameId = ? and DDMStructureKey = ?.
 int countByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey)
          Returns the number of journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 int countByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 int countByG_DDMSK(long groupId, String DDMStructureKey)
          Returns the number of journal articles where groupId = ? and DDMStructureKey = ?.
 int countByG_DDMTK(long groupId, String DDMTemplateKey)
          Returns the number of journal articles where groupId = ? and DDMTemplateKey = ?.
 int countByG_F_ST(long groupId, long folderId, int status)
          Returns the number of journal articles where groupId = ? and folderId = ? and status = ?.
 int countByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?.
 int countByG_F(long groupId, long folderId)
          Returns the number of journal articles where groupId = ? and folderId = ?.
 int countByG_F(long groupId, long[] folderIds)
          Returns the number of journal articles where groupId = ? and folderId = any ?.
 int countByG_L(long groupId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and layoutUuid = ?.
 int countByG_ST(long groupId, int status)
          Returns the number of journal articles where groupId = ? and status = ?.
 int countByG_U_C(long groupId, long userId, long classNameId)
          Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?.
 int countByG_U(long groupId, long userId)
          Returns the number of journal articles where groupId = ? and userId = ?.
 int countByG_UT_ST(long groupId, String urlTitle, int status)
          Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?.
 int countByG_UT(long groupId, String urlTitle)
          Returns the number of journal articles where groupId = ? and urlTitle = ?.
 int countByGroupId(long groupId)
          Returns the number of journal articles where groupId = ?.
 int countByLayoutUuid(String layoutUuid)
          Returns the number of journal articles where layoutUuid = ?.
 int countByLtD_S(Date displayDate, int status)
          Returns the number of journal articles where displayDate < ? and status = ?.
 int countByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
 int countByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
 int countByR_I(long resourcePrimKey, boolean indexable)
          Returns the number of journal articles where resourcePrimKey = ? and indexable = ?.
 int countByR_ST(long resourcePrimKey, int status)
          Returns the number of journal articles where resourcePrimKey = ? and status = ?.
 int countByR_ST(long resourcePrimKey, int[] statuses)
          Returns the number of journal articles where resourcePrimKey = ? and status = any ?.
 int countByResourcePrimKey(long resourcePrimKey)
          Returns the number of journal articles where resourcePrimKey = ?.
 int countBySmallImageId(long smallImageId)
          Returns the number of journal articles where smallImageId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of journal articles where uuid = ? and companyId = ?.
 int countByUUID_G(String uuid, long groupId)
          Returns the number of journal articles where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Returns the number of journal articles where uuid = ?.
 JournalArticle create(long id)
          Creates a new journal article with the primary key.
 void destroy()
           
 JournalArticle fetchByC_DDMTK_First(long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByC_DDMTK_Last(long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByC_NotST_First(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.
 JournalArticle fetchByC_NotST_Last(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.
 JournalArticle fetchByC_ST_First(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle fetchByC_ST_Last(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle fetchByC_V_First(long companyId, double version, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle fetchByC_V_Last(long companyId, double version, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle fetchByC_V_ST_First(long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.
 JournalArticle fetchByC_V_ST_Last(long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.
 JournalArticle fetchByCompanyId_First(long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
 JournalArticle fetchByCompanyId_Last(long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
 JournalArticle fetchByDDMStructureKey_First(String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where DDMStructureKey = ?.
 JournalArticle fetchByDDMStructureKey_Last(String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where DDMStructureKey = ?.
 JournalArticle fetchByDDMTemplateKey_First(String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where DDMTemplateKey = ?.
 JournalArticle fetchByDDMTemplateKey_Last(String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where DDMTemplateKey = ?.
 JournalArticle fetchByG_A_First(long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle fetchByG_A_Last(long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle fetchByG_A_NotST_First(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle fetchByG_A_NotST_Last(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle fetchByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle fetchByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle fetchByG_A_V(long groupId, String articleId, double version)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found.
 JournalArticle fetchByG_A_V(long groupId, String articleId, double version, boolean retrieveFromCache)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 JournalArticle fetchByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle fetchByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle fetchByG_C_DDMSK(long groupId, long classNameId, String DDMStructureKey)
          Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns null if it could not be found.
 JournalArticle fetchByG_C_DDMSK(long groupId, long classNameId, String DDMStructureKey, boolean retrieveFromCache)
          Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns null if it could not be found, optionally using the finder cache.
 JournalArticle fetchByG_C_DDMTK_First(long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByG_C_DDMTK_Last(long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle fetchByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle fetchByG_DDMSK_First(long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
 JournalArticle fetchByG_DDMSK_Last(long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
 JournalArticle fetchByG_DDMTK_First(long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByG_DDMTK_Last(long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
 JournalArticle fetchByG_F_First(long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ?.
 JournalArticle fetchByG_F_Last(long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ?.
 JournalArticle fetchByG_F_ST_First(long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
 JournalArticle fetchByG_F_ST_Last(long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
 JournalArticle fetchByG_L_First(long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle fetchByG_L_Last(long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle fetchByG_ST_First(long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle fetchByG_ST_Last(long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle fetchByG_U_C_First(long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle fetchByG_U_C_Last(long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle fetchByG_U_First(long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ?.
 JournalArticle fetchByG_U_Last(long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ?.
 JournalArticle fetchByG_UT_First(long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle fetchByG_UT_Last(long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle fetchByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle fetchByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle fetchByGroupId_First(long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
 JournalArticle fetchByGroupId_Last(long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
 JournalArticle fetchByLayoutUuid_First(String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
 JournalArticle fetchByLayoutUuid_Last(String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
 JournalArticle fetchByLtD_S_First(Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where displayDate < ? and status = ?.
 JournalArticle fetchByLtD_S_Last(Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where displayDate < ? and status = ?.
 JournalArticle fetchByPrimaryKey(long id)
          Returns the journal article with the primary key or returns null if it could not be found.
 JournalArticle fetchByPrimaryKey(Serializable primaryKey)
          Returns the journal article with the primary key or returns null if it could not be found.
 Map<Serializable,JournalArticle> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 JournalArticle fetchByR_I_First(long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
 JournalArticle fetchByR_I_Last(long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
 JournalArticle fetchByR_I_S_First(long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
 JournalArticle fetchByR_I_S_Last(long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
 JournalArticle fetchByR_ST_First(long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle fetchByR_ST_Last(long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle fetchBySmallImageId_First(long smallImageId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
 JournalArticle fetchBySmallImageId_Last(long smallImageId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
 JournalArticle fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where uuid = ? and companyId = ?.
 JournalArticle fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where uuid = ? and companyId = ?.
 JournalArticle fetchByUuid_First(String uuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where uuid = ?.
 JournalArticle fetchByUUID_G(String uuid, long groupId)
          Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found.
 JournalArticle fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
          Returns the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 JournalArticle fetchByUuid_Last(String uuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
 int filterCountByG_A_NotST(long groupId, String articleId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
 int filterCountByG_A_ST(long groupId, String articleId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
 int filterCountByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
 int filterCountByG_A(long groupId, String articleId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?.
 int filterCountByG_C_C(long groupId, long classNameId, long classPK)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
 int filterCountByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 int filterCountByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 int filterCountByG_DDMSK(long groupId, String DDMStructureKey)
          Returns the number of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
 int filterCountByG_DDMTK(long groupId, String DDMTemplateKey)
          Returns the number of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
 int filterCountByG_F_ST(long groupId, long folderId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 int filterCountByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
 int filterCountByG_F(long groupId, long folderId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?.
 int filterCountByG_F(long groupId, long[] folderIds)
          Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?.
 int filterCountByG_L(long groupId, String layoutUuid)
          Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
 int filterCountByG_ST(long groupId, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?.
 int filterCountByG_U_C(long groupId, long userId, long classNameId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
 int filterCountByG_U(long groupId, long userId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?.
 int filterCountByG_UT_ST(long groupId, String urlTitle, int status)
          Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
 int filterCountByG_UT(long groupId, String urlTitle)
          Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of journal articles that the user has permission to view where groupId = ?.
 JournalArticle[] filterFindByG_A_NotST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> filterFindByG_A_NotST(long groupId, String articleId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle[] filterFindByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?.
 JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId)
          Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?.
 JournalArticle[] filterFindByG_C_C_PrevAndNext(long id, long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> filterFindByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle[] filterFindByG_C_DDMTK_PrevAndNext(long id, long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle[] filterFindByG_C_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle[] filterFindByG_DDMSK_PrevAndNext(long id, long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> filterFindByG_DDMSK(long groupId, String DDMStructureKey)
          Returns all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> filterFindByG_DDMSK(long groupId, String DDMStructureKey, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> filterFindByG_DDMSK(long groupId, String DDMStructureKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMStructureKey = ?.
 JournalArticle[] filterFindByG_DDMTK_PrevAndNext(long id, long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_DDMTK(long groupId, String DDMTemplateKey)
          Returns all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_DDMTK(long groupId, String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> filterFindByG_DDMTK(long groupId, String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMTemplateKey = ?.
 JournalArticle[] filterFindByG_F_PrevAndNext(long id, long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?.
 JournalArticle[] filterFindByG_F_ST_PrevAndNext(long id, long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> filterFindByG_F_ST(long groupId, long folderId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> filterFindByG_F(long groupId, long folderId)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?.
 List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds)
          Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
 List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
 List<JournalArticle> filterFindByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.
 List<JournalArticle> filterFindByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?.
 List<JournalArticle> filterFindByG_F(long groupId, long folderId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?.
 JournalArticle[] filterFindByG_L_PrevAndNext(long id, long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid)
          Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
 List<JournalArticle> filterFindByG_L(long groupId, String layoutUuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?.
 JournalArticle[] filterFindByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?.
 JournalArticle[] filterFindByG_U_C_PrevAndNext(long id, long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId)
          Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> filterFindByG_U_C(long groupId, long userId, long classNameId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle[] filterFindByG_U_PrevAndNext(long id, long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?.
 List<JournalArticle> filterFindByG_U(long groupId, long userId)
          Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?.
 List<JournalArticle> filterFindByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?.
 List<JournalArticle> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?.
 JournalArticle[] filterFindByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
 JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status)
          Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle)
          Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?.
 JournalArticle[] filterFindByGroupId_PrevAndNext(long id, long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?.
 List<JournalArticle> filterFindByGroupId(long groupId)
          Returns all the journal articles that the user has permission to view where groupId = ?.
 List<JournalArticle> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ?.
 List<JournalArticle> filterFindByGroupId(long groupId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?.
protected  JournalArticle filterGetByG_A_NotST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_A_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_A_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_DDMTK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_DDMSK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_DDMTK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_F_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_F_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_U_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_U_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_UT_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_UT_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByGroupId_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
 List<JournalArticle> findAll()
          Returns all the journal articles.
 List<JournalArticle> findAll(int start, int end)
          Returns a range of all the journal articles.
 List<JournalArticle> findAll(int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles.
 JournalArticle findByC_DDMTK_First(long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.
 JournalArticle findByC_DDMTK_Last(long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.
 JournalArticle[] findByC_DDMTK_PrevAndNext(long id, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByC_DDMTK(long classNameId, String DDMTemplateKey)
          Returns all the journal articles where classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByC_DDMTK(long classNameId, String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles where classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByC_DDMTK(long classNameId, String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where classNameId = ? and DDMTemplateKey = ?.
 JournalArticle findByC_NotST_First(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status ≠ ?.
 JournalArticle findByC_NotST_Last(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status ≠ ?.
 JournalArticle[] findByC_NotST_PrevAndNext(long id, long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?.
 List<JournalArticle> findByC_NotST(long companyId, int status)
          Returns all the journal articles where companyId = ? and status ≠ ?.
 List<JournalArticle> findByC_NotST(long companyId, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and status ≠ ?.
 List<JournalArticle> findByC_NotST(long companyId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?.
 JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle[] findByC_ST_PrevAndNext(long id, long companyId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?.
 List<JournalArticle> findByC_ST(long companyId, int status)
          Returns all the journal articles where companyId = ? and status = ?.
 List<JournalArticle> findByC_ST(long companyId, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and status = ?.
 List<JournalArticle> findByC_ST(long companyId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and status = ?.
 JournalArticle findByC_V_First(long companyId, double version, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle findByC_V_Last(long companyId, double version, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle[] findByC_V_PrevAndNext(long id, long companyId, double version, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle findByC_V_ST_First(long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.
 JournalArticle findByC_V_ST_Last(long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.
 JournalArticle[] findByC_V_ST_PrevAndNext(long id, long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?.
 List<JournalArticle> findByC_V_ST(long companyId, double version, int status)
          Returns all the journal articles where companyId = ? and version = ? and status = ?.
 List<JournalArticle> findByC_V_ST(long companyId, double version, int status, int start, int end)
          Returns a range of all the journal articles where companyId = ? and version = ? and status = ?.
 List<JournalArticle> findByC_V_ST(long companyId, double version, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?.
 List<JournalArticle> findByC_V(long companyId, double version)
          Returns all the journal articles where companyId = ? and version = ?.
 List<JournalArticle> findByC_V(long companyId, double version, int start, int end)
          Returns a range of all the journal articles where companyId = ? and version = ?.
 List<JournalArticle> findByC_V(long companyId, double version, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and version = ?.
 JournalArticle findByCompanyId_First(long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
 JournalArticle findByCompanyId_Last(long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
 JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId)
          Returns all the journal articles where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the journal articles where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ?.
 JournalArticle findByDDMStructureKey_First(String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where DDMStructureKey = ?.
 JournalArticle findByDDMStructureKey_Last(String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where DDMStructureKey = ?.
 JournalArticle[] findByDDMStructureKey_PrevAndNext(long id, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where DDMStructureKey = ?.
 List<JournalArticle> findByDDMStructureKey(String DDMStructureKey)
          Returns all the journal articles where DDMStructureKey = ?.
 List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies)
          Returns all the journal articles where DDMStructureKey = any ?.
 List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies, int start, int end)
          Returns a range of all the journal articles where DDMStructureKey = any ?.
 List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where DDMStructureKey = any ?.
 List<JournalArticle> findByDDMStructureKey(String DDMStructureKey, int start, int end)
          Returns a range of all the journal articles where DDMStructureKey = ?.
 List<JournalArticle> findByDDMStructureKey(String DDMStructureKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where DDMStructureKey = ?.
 JournalArticle findByDDMTemplateKey_First(String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where DDMTemplateKey = ?.
 JournalArticle findByDDMTemplateKey_Last(String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where DDMTemplateKey = ?.
 JournalArticle[] findByDDMTemplateKey_PrevAndNext(long id, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where DDMTemplateKey = ?.
 List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey)
          Returns all the journal articles where DDMTemplateKey = ?.
 List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles where DDMTemplateKey = ?.
 List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where DDMTemplateKey = ?.
 JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_NotST_First(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle findByG_A_NotST_Last(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle[] findByG_A_NotST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status)
          Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
 List<JournalArticle> findByG_A_NotST(long groupId, String articleId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.
 JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status)
          Returns all the journal articles where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses)
          Returns all the journal articles where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.
 JournalArticle findByG_A_V(long groupId, String articleId, double version)
          Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.
 List<JournalArticle> findByG_A(long groupId, String articleId)
          Returns all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and articleId = ?.
 JournalArticle findByG_C_C_First(long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle findByG_C_C_Last(long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle[] findByG_C_C_PrevAndNext(long id, long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK)
          Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
 List<JournalArticle> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle findByG_C_DDMSK(long groupId, long classNameId, String DDMStructureKey)
          Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByG_C_DDMTK_First(long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle findByG_C_DDMTK_Last(long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle[] findByG_C_DDMTK_PrevAndNext(long id, long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey)
          Returns all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.
 JournalArticle findByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle findByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle[] findByG_C_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid)
          Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_C_L(long groupId, long classNameId, String layoutUuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle findByG_DDMSK_First(long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
 JournalArticle findByG_DDMSK_Last(long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
 JournalArticle[] findByG_DDMSK_PrevAndNext(long id, long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> findByG_DDMSK(long groupId, String DDMStructureKey)
          Returns all the journal articles where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> findByG_DDMSK(long groupId, String DDMStructureKey, int start, int end)
          Returns a range of all the journal articles where groupId = ? and DDMStructureKey = ?.
 List<JournalArticle> findByG_DDMSK(long groupId, String DDMStructureKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and DDMStructureKey = ?.
 JournalArticle findByG_DDMTK_First(long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
 JournalArticle findByG_DDMTK_Last(long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
 JournalArticle[] findByG_DDMTK_PrevAndNext(long id, long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_DDMTK(long groupId, String DDMTemplateKey)
          Returns all the journal articles where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_DDMTK(long groupId, String DDMTemplateKey, int start, int end)
          Returns a range of all the journal articles where groupId = ? and DDMTemplateKey = ?.
 List<JournalArticle> findByG_DDMTK(long groupId, String DDMTemplateKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and DDMTemplateKey = ?.
 JournalArticle findByG_F_First(long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ?.
 JournalArticle findByG_F_Last(long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ?.
 JournalArticle[] findByG_F_PrevAndNext(long id, long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?.
 JournalArticle findByG_F_ST_First(long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
 JournalArticle findByG_F_ST_Last(long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
 JournalArticle[] findByG_F_ST_PrevAndNext(long id, long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status)
          Returns all the journal articles where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses)
          Returns all the journal articles where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> findByG_F_ST(long groupId, long folderId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?.
 List<JournalArticle> findByG_F(long groupId, long folderId)
          Returns all the journal articles where groupId = ? and folderId = ?.
 List<JournalArticle> findByG_F(long groupId, long[] folderIds)
          Returns all the journal articles where groupId = ? and folderId = any ?.
 List<JournalArticle> findByG_F(long groupId, long[] folderIds, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = any ?.
 List<JournalArticle> findByG_F(long groupId, long[] folderIds, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?.
 List<JournalArticle> findByG_F(long groupId, long folderId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and folderId = ?.
 List<JournalArticle> findByG_F(long groupId, long folderId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and folderId = ?.
 JournalArticle findByG_L_First(long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle findByG_L_Last(long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle[] findByG_L_PrevAndNext(long id, long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_L(long groupId, String layoutUuid)
          Returns all the journal articles where groupId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_L(long groupId, String layoutUuid, int start, int end)
          Returns a range of all the journal articles where groupId = ? and layoutUuid = ?.
 List<JournalArticle> findByG_L(long groupId, String layoutUuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?.
 JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle[] findByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?.
 List<JournalArticle> findByG_ST(long groupId, int status)
          Returns all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> findByG_ST(long groupId, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> findByG_ST(long groupId, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and status = ?.
 JournalArticle findByG_U_C_First(long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle findByG_U_C_Last(long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle[] findByG_U_C_PrevAndNext(long id, long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId)
          Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.
 List<JournalArticle> findByG_U_C(long groupId, long userId, long classNameId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?.
 JournalArticle findByG_U_First(long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and userId = ?.
 JournalArticle findByG_U_Last(long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and userId = ?.
 JournalArticle[] findByG_U_PrevAndNext(long id, long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?.
 List<JournalArticle> findByG_U(long groupId, long userId)
          Returns all the journal articles where groupId = ? and userId = ?.
 List<JournalArticle> findByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and userId = ?.
 List<JournalArticle> findByG_U(long groupId, long userId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and userId = ?.
 JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle findByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle findByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle[] findByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status)
          Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT(long groupId, String urlTitle)
          Returns all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end)
          Returns a range of all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
 JournalArticle findByGroupId_First(long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
 JournalArticle findByGroupId_Last(long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
 JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId)
          Returns all the journal articles where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId, int start, int end)
          Returns a range of all the journal articles where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ?.
 JournalArticle findByLayoutUuid_First(String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
 JournalArticle findByLayoutUuid_Last(String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
 JournalArticle[] findByLayoutUuid_PrevAndNext(long id, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?.
 List<JournalArticle> findByLayoutUuid(String layoutUuid)
          Returns all the journal articles where layoutUuid = ?.
 List<JournalArticle> findByLayoutUuid(String layoutUuid, int start, int end)
          Returns a range of all the journal articles where layoutUuid = ?.
 List<JournalArticle> findByLayoutUuid(String layoutUuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where layoutUuid = ?.
 JournalArticle findByLtD_S_First(Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where displayDate < ? and status = ?.
 JournalArticle findByLtD_S_Last(Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where displayDate < ? and status = ?.
 JournalArticle[] findByLtD_S_PrevAndNext(long id, Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?.
 List<JournalArticle> findByLtD_S(Date displayDate, int status)
          Returns all the journal articles where displayDate < ? and status = ?.
 List<JournalArticle> findByLtD_S(Date displayDate, int status, int start, int end)
          Returns a range of all the journal articles where displayDate < ? and status = ?.
 List<JournalArticle> findByLtD_S(Date displayDate, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where displayDate < ? and status = ?.
 JournalArticle findByPrimaryKey(long id)
          Returns the journal article with the primary key or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByPrimaryKey(Serializable primaryKey)
          Returns the journal article with the primary key or throws a NoSuchModelException if it could not be found.
 JournalArticle findByR_I_First(long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
 JournalArticle findByR_I_Last(long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
 JournalArticle[] findByR_I_PrevAndNext(long id, long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?.
 JournalArticle findByR_I_S_First(long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
 JournalArticle findByR_I_S_Last(long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
 JournalArticle[] findByR_I_S_PrevAndNext(long id, long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
 List<JournalArticle> findByR_I_S(long resourcePrimKey, boolean indexable, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.
 List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable)
          Returns all the journal articles where resourcePrimKey = ? and indexable = ?.
 List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?.
 List<JournalArticle> findByR_I(long resourcePrimKey, boolean indexable, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?.
 JournalArticle findByR_ST_First(long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle[] findByR_ST_PrevAndNext(long id, long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int status)
          Returns all the journal articles where resourcePrimKey = ? and status = ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses)
          Returns all the journal articles where resourcePrimKey = ? and status = any ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int[] statuses, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ? and status = ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?.
 JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey)
          Returns all the journal articles where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Returns a range of all the journal articles where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ?.
 JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
 JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
 JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId)
          Returns all the journal articles where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end)
          Returns a range of all the journal articles where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where smallImageId = ?.
 JournalArticle findByUuid_C_First(String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where uuid = ? and companyId = ?.
 JournalArticle findByUuid_C_Last(String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where uuid = ? and companyId = ?.
 JournalArticle[] findByUuid_C_PrevAndNext(long id, String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?.
 List<JournalArticle> findByUuid_C(String uuid, long companyId)
          Returns all the journal articles where uuid = ? and companyId = ?.
 List<JournalArticle> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the journal articles where uuid = ? and companyId = ?.
 List<JournalArticle> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where uuid = ? and companyId = ?.
 JournalArticle findByUuid_First(String uuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the first journal article in the ordered set where uuid = ?.
 JournalArticle findByUUID_G(String uuid, long groupId)
          Returns the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByUuid_Last(String uuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
 JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator<JournalArticle> orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where uuid = ?.
 List<JournalArticle> findByUuid(String uuid)
          Returns all the journal articles where uuid = ?.
 List<JournalArticle> findByUuid(String uuid, int start, int end)
          Returns a range of all the journal articles where uuid = ?.
 List<JournalArticle> findByUuid(String uuid, int start, int end, OrderByComparator<JournalArticle> orderByComparator)
          Returns an ordered range of all the journal articles where uuid = ?.
protected  Set<String> getBadColumnNames()
           
protected  JournalArticle getByC_DDMTK_PrevAndNext(Session session, JournalArticle journalArticle, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByC_NotST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByC_ST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByC_V_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, double version, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByC_V_ST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, double version, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByCompanyId_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByDDMStructureKey_PrevAndNext(Session session, JournalArticle journalArticle, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByDDMTemplateKey_PrevAndNext(Session session, JournalArticle journalArticle, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_A_NotST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_A_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_A_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, long classPK, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_DDMTK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_DDMSK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String DDMStructureKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_DDMTK_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String DDMTemplateKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_F_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long folderId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_F_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long folderId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_U_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long userId, long classNameId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_U_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long userId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_UT_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByG_UT_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByGroupId_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByLayoutUuid_PrevAndNext(Session session, JournalArticle journalArticle, String layoutUuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByLtD_S_PrevAndNext(Session session, JournalArticle journalArticle, Date displayDate, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByR_I_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, boolean indexable, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByR_I_S_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, boolean indexable, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByR_ST_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, int status, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByResourcePrimKey_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getBySmallImageId_PrevAndNext(Session session, JournalArticle journalArticle, long smallImageId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByUuid_C_PrevAndNext(Session session, JournalArticle journalArticle, String uuid, long companyId, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
protected  JournalArticle getByUuid_PrevAndNext(Session session, JournalArticle journalArticle, String uuid, OrderByComparator<JournalArticle> orderByComparator, boolean previous)
           
 JournalArticle remove(long id)
          Removes the journal article with the primary key from the database.
 JournalArticle remove(Serializable primaryKey)
          Removes the journal article with the primary key from the database.
 void removeAll()
          Removes all the journal articles from the database.
 void removeByC_DDMTK(long classNameId, String DDMTemplateKey)
          Removes all the journal articles where classNameId = ? and DDMTemplateKey = ? from the database.
 void removeByC_NotST(long companyId, int status)
          Removes all the journal articles where companyId = ? and status ≠ ? from the database.
 void removeByC_ST(long companyId, int status)
          Removes all the journal articles where companyId = ? and status = ? from the database.
 void removeByC_V_ST(long companyId, double version, int status)
          Removes all the journal articles where companyId = ? and version = ? and status = ? from the database.
 void removeByC_V(long companyId, double version)
          Removes all the journal articles where companyId = ? and version = ? from the database.
 void removeByCompanyId(long companyId)
          Removes all the journal articles where companyId = ? from the database.
 void removeByDDMStructureKey(String DDMStructureKey)
          Removes all the journal articles where DDMStructureKey = ? from the database.
 void removeByDDMTemplateKey(String DDMTemplateKey)
          Removes all the journal articles where DDMTemplateKey = ? from the database.
 void removeByG_A_NotST(long groupId, String articleId, int status)
          Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database.
 void removeByG_A_ST(long groupId, String articleId, int status)
          Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database.
 JournalArticle removeByG_A_V(long groupId, String articleId, double version)
          Removes the journal article where groupId = ? and articleId = ? and version = ? from the database.
 void removeByG_A(long groupId, String articleId)
          Removes all the journal articles where groupId = ? and articleId = ? from the database.
 void removeByG_C_C(long groupId, long classNameId, long classPK)
          Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database.
 JournalArticle removeByG_C_DDMSK(long groupId, long classNameId, String DDMStructureKey)
          Removes the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? from the database.
 void removeByG_C_DDMTK(long groupId, long classNameId, String DDMTemplateKey)
          Removes all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ? from the database.
 void removeByG_C_L(long groupId, long classNameId, String layoutUuid)
          Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database.
 void removeByG_DDMSK(long groupId, String DDMStructureKey)
          Removes all the journal articles where groupId = ? and DDMStructureKey = ? from the database.
 void removeByG_DDMTK(long groupId, String DDMTemplateKey)
          Removes all the journal articles where groupId = ? and DDMTemplateKey = ? from the database.
 void removeByG_F_ST(long groupId, long folderId, int status)
          Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database.
 void removeByG_F(long groupId, long folderId)
          Removes all the journal articles where groupId = ? and folderId = ? from the database.
 void removeByG_L(long groupId, String layoutUuid)
          Removes all the journal articles where groupId = ? and layoutUuid = ? from the database.
 void removeByG_ST(long groupId, int status)
          Removes all the journal articles where groupId = ? and status = ? from the database.
 void removeByG_U_C(long groupId, long userId, long classNameId)
          Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the journal articles where groupId = ? and userId = ? from the database.
 void removeByG_UT_ST(long groupId, String urlTitle, int status)
          Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database.
 void removeByG_UT(long groupId, String urlTitle)
          Removes all the journal articles where groupId = ? and urlTitle = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the journal articles where groupId = ? from the database.
 void removeByLayoutUuid(String layoutUuid)
          Removes all the journal articles where layoutUuid = ? from the database.
 void removeByLtD_S(Date displayDate, int status)
          Removes all the journal articles where displayDate < ? and status = ? from the database.
 void removeByR_I_S(long resourcePrimKey, boolean indexable, int status)
          Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database.
 void removeByR_I(long resourcePrimKey, boolean indexable)
          Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database.
 void removeByR_ST(long resourcePrimKey, int status)
          Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.
 void removeByResourcePrimKey(long resourcePrimKey)
          Removes all the journal articles where resourcePrimKey = ? from the database.
 void removeBySmallImageId(long smallImageId)
          Removes all the journal articles where smallImageId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the journal articles where uuid = ? and companyId = ? from the database.
 JournalArticle removeByUUID_G(String uuid, long groupId)
          Removes the journal article where uuid = ? and groupId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the journal articles where uuid = ? from the database.
protected  JournalArticle removeImpl(JournalArticle journalArticle)
          Removes the model instance from the database.
protected  JournalArticle toUnwrappedModel(JournalArticle journalArticle)
           
 JournalArticle updateImpl(JournalArticle journalArticle)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_UUID_G

public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G

FINDER_PATH_COUNT_BY_UUID_G

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C

FINDER_PATH_COUNT_BY_UUID_C

public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_RESOURCEPRIMKEY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_RESOURCEPRIMKEY

FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMSTRUCTUREKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMSTRUCTUREKEY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMSTRUCTUREKEY

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMSTRUCTUREKEY

FINDER_PATH_COUNT_BY_DDMSTRUCTUREKEY

public static final FinderPath FINDER_PATH_COUNT_BY_DDMSTRUCTUREKEY

FINDER_PATH_WITH_PAGINATION_COUNT_BY_DDMSTRUCTUREKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_DDMSTRUCTUREKEY

FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMTEMPLATEKEY

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_DDMTEMPLATEKEY

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMTEMPLATEKEY

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_DDMTEMPLATEKEY

FINDER_PATH_COUNT_BY_DDMTEMPLATEKEY

public static final FinderPath FINDER_PATH_COUNT_BY_DDMTEMPLATEKEY

FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID

FINDER_PATH_COUNT_BY_LAYOUTUUID

public static final FinderPath FINDER_PATH_COUNT_BY_LAYOUTUUID

FINDER_PATH_WITH_PAGINATION_FIND_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SMALLIMAGEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SMALLIMAGEID

FINDER_PATH_COUNT_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I

FINDER_PATH_COUNT_BY_R_I

public static final FinderPath FINDER_PATH_COUNT_BY_R_I

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_ST

FINDER_PATH_COUNT_BY_R_ST

public static final FinderPath FINDER_PATH_COUNT_BY_R_ST

FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final FinderPath FINDER_PATH_COUNT_BY_G_U

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F

FINDER_PATH_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_COUNT_BY_G_F

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT

FINDER_PATH_COUNT_BY_G_UT

public static final FinderPath FINDER_PATH_COUNT_BY_G_UT

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMSK

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMSK

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMSK

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMSK

FINDER_PATH_COUNT_BY_G_DDMSK

public static final FinderPath FINDER_PATH_COUNT_BY_G_DDMSK

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMTK

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_DDMTK

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMTK

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_DDMTK

FINDER_PATH_COUNT_BY_G_DDMTK

public static final FinderPath FINDER_PATH_COUNT_BY_G_DDMTK

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_L

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_L

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_L

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_L

FINDER_PATH_COUNT_BY_G_L

public static final FinderPath FINDER_PATH_COUNT_BY_G_L

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_ST

FINDER_PATH_COUNT_BY_G_ST

public static final FinderPath FINDER_PATH_COUNT_BY_G_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V

FINDER_PATH_COUNT_BY_C_V

public static final FinderPath FINDER_PATH_COUNT_BY_C_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_ST

FINDER_PATH_COUNT_BY_C_ST

public static final FinderPath FINDER_PATH_COUNT_BY_C_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_NOTST

FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTST

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DDMTK

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_DDMTK

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DDMTK

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_DDMTK

FINDER_PATH_COUNT_BY_C_DDMTK

public static final FinderPath FINDER_PATH_COUNT_BY_C_DDMTK

FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LTD_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTD_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_R_I_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_R_I_S

FINDER_PATH_COUNT_BY_R_I_S

public static final FinderPath FINDER_PATH_COUNT_BY_R_I_S

FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_I_S

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_R_I_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U_C

FINDER_PATH_COUNT_BY_G_U_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_U_C

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_F_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_F_ST

FINDER_PATH_COUNT_BY_G_F_ST

public static final FinderPath FINDER_PATH_COUNT_BY_G_F_ST

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_F_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_C

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_C

FINDER_PATH_COUNT_BY_G_C_C

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_C

FINDER_PATH_FETCH_BY_G_C_DDMSK

public static final FinderPath FINDER_PATH_FETCH_BY_G_C_DDMSK

FINDER_PATH_COUNT_BY_G_C_DDMSK

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_DDMSK

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_DDMTK

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_DDMTK

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_DDMTK

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_DDMTK

FINDER_PATH_COUNT_BY_G_C_DDMTK

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_DDMTK

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_L

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_L

FINDER_PATH_COUNT_BY_G_C_L

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_L

FINDER_PATH_FETCH_BY_G_A_V

public static final FinderPath FINDER_PATH_FETCH_BY_G_A_V

FINDER_PATH_COUNT_BY_G_A_V

public static final FinderPath FINDER_PATH_COUNT_BY_G_A_V

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_A_ST

FINDER_PATH_COUNT_BY_G_A_ST

public static final FinderPath FINDER_PATH_COUNT_BY_G_A_ST

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_NOTST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_A_NOTST

FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_NOTST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_NOTST

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_UT_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_UT_ST

FINDER_PATH_COUNT_BY_G_UT_ST

public static final FinderPath FINDER_PATH_COUNT_BY_G_UT_ST

FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V_ST

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_V_ST

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V_ST

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_V_ST

FINDER_PATH_COUNT_BY_C_V_ST

public static final FinderPath FINDER_PATH_COUNT_BY_C_V_ST
Constructor Detail

JournalArticlePersistenceImpl

public JournalArticlePersistenceImpl()
Method Detail

findByUuid

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

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
Returns:
the matching journal articles

findByUuid

public List<JournalArticle> findByUuid(String uuid,
                                       int start,
                                       int end)
Returns a range of all the journal articles where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByUuid

public List<JournalArticle> findByUuid(String uuid,
                                       int start,
                                       int end,
                                       OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where uuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByUuid_First

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

Specified by:
findByUuid_First in interface JournalArticlePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByUuid_First

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

Specified by:
fetchByUuid_First in interface JournalArticlePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByUuid_Last

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

Specified by:
findByUuid_Last in interface JournalArticlePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByUuid_Last

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

Specified by:
fetchByUuid_Last in interface JournalArticlePersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByUuid_PrevAndNext

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

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

getByUuid_PrevAndNext

protected JournalArticle getByUuid_PrevAndNext(Session session,
                                               JournalArticle journalArticle,
                                               String uuid,
                                               OrderByComparator<JournalArticle> orderByComparator,
                                               boolean previous)

removeByUuid

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

Specified by:
removeByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid

countByUuid

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

Specified by:
countByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
Returns:
the number of matching journal articles

findByUUID_G

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

Specified by:
findByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the matching journal article, or null if a matching journal article could not be found

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid
groupId - the group ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found

removeByUUID_G

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

Specified by:
removeByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the journal article that was removed
Throws:
NoSuchArticleException

countByUUID_G

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

Specified by:
countByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid
groupId - the group ID
Returns:
the number of matching journal articles

findByUuid_C

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

Specified by:
findByUuid_C in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching journal articles

findByUuid_C

public List<JournalArticle> findByUuid_C(String uuid,
                                         long companyId,
                                         int start,
                                         int end)
Returns a range of all the journal articles where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByUuid_C

public List<JournalArticle> findByUuid_C(String uuid,
                                         long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where uuid = ? and companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByUuid_C in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByUuid_C_First

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

Specified by:
findByUuid_C_First in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByUuid_C_First

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

Specified by:
fetchByUuid_C_First in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByUuid_C_Last

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

Specified by:
findByUuid_C_Last in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByUuid_C_Last

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

Specified by:
fetchByUuid_C_Last in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByUuid_C_PrevAndNext

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

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

getByUuid_C_PrevAndNext

protected JournalArticle getByUuid_C_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 String uuid,
                                                 long companyId,
                                                 OrderByComparator<JournalArticle> orderByComparator,
                                                 boolean previous)

removeByUuid_C

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

Specified by:
removeByUuid_C in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

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

Specified by:
countByUuid_C in interface JournalArticlePersistence
Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching journal articles

findByResourcePrimKey

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

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
Returns:
the matching journal articles

findByResourcePrimKey

public List<JournalArticle> findByResourcePrimKey(long resourcePrimKey,
                                                  int start,
                                                  int end)
Returns a range of all the journal articles where resourcePrimKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByResourcePrimKey

public List<JournalArticle> findByResourcePrimKey(long resourcePrimKey,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where resourcePrimKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByResourcePrimKey_First

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

Specified by:
findByResourcePrimKey_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByResourcePrimKey_First

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

Specified by:
fetchByResourcePrimKey_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByResourcePrimKey_Last

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

Specified by:
findByResourcePrimKey_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByResourcePrimKey_Last

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

Specified by:
fetchByResourcePrimKey_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByResourcePrimKey_PrevAndNext

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

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

getByResourcePrimKey_PrevAndNext

protected JournalArticle getByResourcePrimKey_PrevAndNext(Session session,
                                                          JournalArticle journalArticle,
                                                          long resourcePrimKey,
                                                          OrderByComparator<JournalArticle> orderByComparator,
                                                          boolean previous)

removeByResourcePrimKey

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

Specified by:
removeByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key

countByResourcePrimKey

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

Specified by:
countByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
Returns:
the number of matching journal articles

findByGroupId

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

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Returns:
the matching journal articles

findByGroupId

public List<JournalArticle> findByGroupId(long groupId,
                                          int start,
                                          int end)
Returns a range of all the journal articles where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByGroupId_First

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

Specified by:
findByGroupId_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByGroupId_First

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

Specified by:
fetchByGroupId_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByGroupId_Last

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

Specified by:
findByGroupId_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByGroupId_Last

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

Specified by:
fetchByGroupId_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByGroupId_PrevAndNext

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

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

getByGroupId_PrevAndNext

protected JournalArticle getByGroupId_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long groupId,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

filterFindByGroupId

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

Specified by:
filterFindByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Returns:
the matching journal articles that the user has permission to view

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByGroupId_PrevAndNext

public JournalArticle[] filterFindByGroupId_PrevAndNext(long id,
                                                        long groupId,
                                                        OrderByComparator<JournalArticle> orderByComparator)
                                                 throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?.

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

filterGetByGroupId_PrevAndNext

protected JournalArticle filterGetByGroupId_PrevAndNext(Session session,
                                                        JournalArticle journalArticle,
                                                        long groupId,
                                                        OrderByComparator<JournalArticle> orderByComparator,
                                                        boolean previous)

removeByGroupId

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

Specified by:
removeByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID

countByGroupId

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

Specified by:
countByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching journal articles

filterCountByGroupId

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

Specified by:
filterCountByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Returns:
the number of matching journal articles that the user has permission to view

findByCompanyId

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

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
Returns:
the matching journal articles

findByCompanyId

public List<JournalArticle> findByCompanyId(long companyId,
                                            int start,
                                            int end)
Returns a range of all the journal articles where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByCompanyId_First

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

Specified by:
findByCompanyId_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByCompanyId_First

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

Specified by:
fetchByCompanyId_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByCompanyId_Last

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

Specified by:
findByCompanyId_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByCompanyId_Last

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

Specified by:
fetchByCompanyId_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByCompanyId_PrevAndNext

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

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

getByCompanyId_PrevAndNext

protected JournalArticle getByCompanyId_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long companyId,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

removeByCompanyId

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

Specified by:
removeByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID

countByCompanyId

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

Specified by:
countByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
Returns:
the number of matching journal articles

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String DDMStructureKey)
Returns all the journal articles where DDMStructureKey = ?.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
Returns:
the matching journal articles

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String DDMStructureKey,
                                                  int start,
                                                  int end)
Returns a range of all the journal articles where DDMStructureKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String DDMStructureKey,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where DDMStructureKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByDDMStructureKey_First

public JournalArticle findByDDMStructureKey_First(String DDMStructureKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
                                           throws NoSuchArticleException
Returns the first journal article in the ordered set where DDMStructureKey = ?.

Specified by:
findByDDMStructureKey_First in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByDDMStructureKey_First

public JournalArticle fetchByDDMStructureKey_First(String DDMStructureKey,
                                                   OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where DDMStructureKey = ?.

Specified by:
fetchByDDMStructureKey_First in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByDDMStructureKey_Last

public JournalArticle findByDDMStructureKey_Last(String DDMStructureKey,
                                                 OrderByComparator<JournalArticle> orderByComparator)
                                          throws NoSuchArticleException
Returns the last journal article in the ordered set where DDMStructureKey = ?.

Specified by:
findByDDMStructureKey_Last in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByDDMStructureKey_Last

public JournalArticle fetchByDDMStructureKey_Last(String DDMStructureKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where DDMStructureKey = ?.

Specified by:
fetchByDDMStructureKey_Last in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByDDMStructureKey_PrevAndNext

public JournalArticle[] findByDDMStructureKey_PrevAndNext(long id,
                                                          String DDMStructureKey,
                                                          OrderByComparator<JournalArticle> orderByComparator)
                                                   throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where DDMStructureKey = ?.

Specified by:
findByDDMStructureKey_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByDDMStructureKey_PrevAndNext

protected JournalArticle getByDDMStructureKey_PrevAndNext(Session session,
                                                          JournalArticle journalArticle,
                                                          String DDMStructureKey,
                                                          OrderByComparator<JournalArticle> orderByComparator,
                                                          boolean previous)

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies)
Returns all the journal articles where DDMStructureKey = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKeies - the d d m structure keies
Returns:
the matching journal articles

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies,
                                                  int start,
                                                  int end)
Returns a range of all the journal articles where DDMStructureKey = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKeies - the d d m structure keies
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByDDMStructureKey

public List<JournalArticle> findByDDMStructureKey(String[] DDMStructureKeies,
                                                  int start,
                                                  int end,
                                                  OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where DDMStructureKey = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKeies - the d d m structure keies
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByDDMStructureKey

public void removeByDDMStructureKey(String DDMStructureKey)
Removes all the journal articles where DDMStructureKey = ? from the database.

Specified by:
removeByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key

countByDDMStructureKey

public int countByDDMStructureKey(String DDMStructureKey)
Returns the number of journal articles where DDMStructureKey = ?.

Specified by:
countByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKey - the d d m structure key
Returns:
the number of matching journal articles

countByDDMStructureKey

public int countByDDMStructureKey(String[] DDMStructureKeies)
Returns the number of journal articles where DDMStructureKey = any ?.

Specified by:
countByDDMStructureKey in interface JournalArticlePersistence
Parameters:
DDMStructureKeies - the d d m structure keies
Returns:
the number of matching journal articles

findByDDMTemplateKey

public List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey)
Returns all the journal articles where DDMTemplateKey = ?.

Specified by:
findByDDMTemplateKey in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles

findByDDMTemplateKey

public List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey,
                                                 int start,
                                                 int end)
Returns a range of all the journal articles where DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMTemplateKey in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByDDMTemplateKey

public List<JournalArticle> findByDDMTemplateKey(String DDMTemplateKey,
                                                 int start,
                                                 int end,
                                                 OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByDDMTemplateKey in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByDDMTemplateKey_First

public JournalArticle findByDDMTemplateKey_First(String DDMTemplateKey,
                                                 OrderByComparator<JournalArticle> orderByComparator)
                                          throws NoSuchArticleException
Returns the first journal article in the ordered set where DDMTemplateKey = ?.

Specified by:
findByDDMTemplateKey_First in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByDDMTemplateKey_First

public JournalArticle fetchByDDMTemplateKey_First(String DDMTemplateKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where DDMTemplateKey = ?.

Specified by:
fetchByDDMTemplateKey_First in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByDDMTemplateKey_Last

public JournalArticle findByDDMTemplateKey_Last(String DDMTemplateKey,
                                                OrderByComparator<JournalArticle> orderByComparator)
                                         throws NoSuchArticleException
Returns the last journal article in the ordered set where DDMTemplateKey = ?.

Specified by:
findByDDMTemplateKey_Last in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByDDMTemplateKey_Last

public JournalArticle fetchByDDMTemplateKey_Last(String DDMTemplateKey,
                                                 OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where DDMTemplateKey = ?.

Specified by:
fetchByDDMTemplateKey_Last in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByDDMTemplateKey_PrevAndNext

public JournalArticle[] findByDDMTemplateKey_PrevAndNext(long id,
                                                         String DDMTemplateKey,
                                                         OrderByComparator<JournalArticle> orderByComparator)
                                                  throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where DDMTemplateKey = ?.

Specified by:
findByDDMTemplateKey_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByDDMTemplateKey_PrevAndNext

protected JournalArticle getByDDMTemplateKey_PrevAndNext(Session session,
                                                         JournalArticle journalArticle,
                                                         String DDMTemplateKey,
                                                         OrderByComparator<JournalArticle> orderByComparator,
                                                         boolean previous)

removeByDDMTemplateKey

public void removeByDDMTemplateKey(String DDMTemplateKey)
Removes all the journal articles where DDMTemplateKey = ? from the database.

Specified by:
removeByDDMTemplateKey in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key

countByDDMTemplateKey

public int countByDDMTemplateKey(String DDMTemplateKey)
Returns the number of journal articles where DDMTemplateKey = ?.

Specified by:
countByDDMTemplateKey in interface JournalArticlePersistence
Parameters:
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles

findByLayoutUuid

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

Specified by:
findByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
Returns:
the matching journal articles

findByLayoutUuid

public List<JournalArticle> findByLayoutUuid(String layoutUuid,
                                             int start,
                                             int end)
Returns a range of all the journal articles where layoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByLayoutUuid

public List<JournalArticle> findByLayoutUuid(String layoutUuid,
                                             int start,
                                             int end,
                                             OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where layoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByLayoutUuid_First

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

Specified by:
findByLayoutUuid_First in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByLayoutUuid_First

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

Specified by:
fetchByLayoutUuid_First in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByLayoutUuid_Last

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

Specified by:
findByLayoutUuid_Last in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByLayoutUuid_Last

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

Specified by:
fetchByLayoutUuid_Last in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByLayoutUuid_PrevAndNext

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

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

getByLayoutUuid_PrevAndNext

protected JournalArticle getByLayoutUuid_PrevAndNext(Session session,
                                                     JournalArticle journalArticle,
                                                     String layoutUuid,
                                                     OrderByComparator<JournalArticle> orderByComparator,
                                                     boolean previous)

removeByLayoutUuid

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

Specified by:
removeByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid

countByLayoutUuid

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

Specified by:
countByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
Returns:
the number of matching journal articles

findBySmallImageId

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

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
Returns:
the matching journal articles

findBySmallImageId

public List<JournalArticle> findBySmallImageId(long smallImageId,
                                               int start,
                                               int end)
Returns a range of all the journal articles where smallImageId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findBySmallImageId

public List<JournalArticle> findBySmallImageId(long smallImageId,
                                               int start,
                                               int end,
                                               OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where smallImageId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findBySmallImageId_First

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

Specified by:
findBySmallImageId_First in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchBySmallImageId_First

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

Specified by:
fetchBySmallImageId_First in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findBySmallImageId_Last

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

Specified by:
findBySmallImageId_Last in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchBySmallImageId_Last

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

Specified by:
fetchBySmallImageId_Last in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findBySmallImageId_PrevAndNext

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

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

getBySmallImageId_PrevAndNext

protected JournalArticle getBySmallImageId_PrevAndNext(Session session,
                                                       JournalArticle journalArticle,
                                                       long smallImageId,
                                                       OrderByComparator<JournalArticle> orderByComparator,
                                                       boolean previous)

removeBySmallImageId

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

Specified by:
removeBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID

countBySmallImageId

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

Specified by:
countBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
Returns:
the number of matching journal articles

findByR_I

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

Specified by:
findByR_I in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
Returns:
the matching journal articles

findByR_I

public List<JournalArticle> findByR_I(long resourcePrimKey,
                                      boolean indexable,
                                      int start,
                                      int end)
Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByR_I

public List<JournalArticle> findByR_I(long resourcePrimKey,
                                      boolean indexable,
                                      int start,
                                      int end,
                                      OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByR_I_First

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

Specified by:
findByR_I_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_I_First

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

Specified by:
fetchByR_I_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByR_I_Last

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

Specified by:
findByR_I_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_I_Last

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

Specified by:
fetchByR_I_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByR_I_PrevAndNext

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

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

getByR_I_PrevAndNext

protected JournalArticle getByR_I_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long resourcePrimKey,
                                              boolean indexable,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

removeByR_I

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

Specified by:
removeByR_I in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable

countByR_I

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

Specified by:
countByR_I in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
Returns:
the number of matching journal articles

findByR_ST

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

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the matching journal articles

findByR_ST

public List<JournalArticle> findByR_ST(long resourcePrimKey,
                                       int status,
                                       int start,
                                       int end)
Returns a range of all the journal articles where resourcePrimKey = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByR_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByR_ST_First

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

Specified by:
findByR_ST_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_ST_First

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

Specified by:
fetchByR_ST_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByR_ST_Last

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

Specified by:
findByR_ST_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_ST_Last

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

Specified by:
fetchByR_ST_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByR_ST_PrevAndNext

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

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

getByR_ST_PrevAndNext

protected JournalArticle getByR_ST_PrevAndNext(Session session,
                                               JournalArticle journalArticle,
                                               long resourcePrimKey,
                                               int status,
                                               OrderByComparator<JournalArticle> orderByComparator,
                                               boolean previous)

findByR_ST

public List<JournalArticle> findByR_ST(long resourcePrimKey,
                                       int[] statuses)
Returns all the journal articles where resourcePrimKey = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
Returns:
the matching journal articles

findByR_ST

public List<JournalArticle> findByR_ST(long resourcePrimKey,
                                       int[] statuses,
                                       int start,
                                       int end)
Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByR_ST

public List<JournalArticle> findByR_ST(long resourcePrimKey,
                                       int[] statuses,
                                       int start,
                                       int end,
                                       OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByR_ST

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

Specified by:
removeByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status

countByR_ST

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

Specified by:
countByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
status - the status
Returns:
the number of matching journal articles

countByR_ST

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

Specified by:
countByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
statuses - the statuses
Returns:
the number of matching journal articles

findByG_U

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

Specified by:
findByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching journal articles

findByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_U_First

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

Specified by:
findByG_U_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_U_First

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

Specified by:
fetchByG_U_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_U_Last

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

Specified by:
findByG_U_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_U_Last

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

Specified by:
fetchByG_U_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_U_PrevAndNext

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

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

getByG_U_PrevAndNext

protected JournalArticle getByG_U_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              long userId,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

filterFindByG_U

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

Specified by:
filterFindByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching journal articles that the user has permission to view

filterFindByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_U

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_U_PrevAndNext

public JournalArticle[] filterFindByG_U_PrevAndNext(long id,
                                                    long groupId,
                                                    long userId,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?.

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

filterGetByG_U_PrevAndNext

protected JournalArticle filterGetByG_U_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    long userId,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

removeByG_U

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

Specified by:
removeByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID

countByG_U

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

Specified by:
countByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching journal articles

filterCountByG_U

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

Specified by:
filterCountByG_U in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching journal articles that the user has permission to view

findByG_F

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

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching journal articles

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_F_First

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

Specified by:
findByG_F_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_F_First

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

Specified by:
fetchByG_F_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_F_Last

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

Specified by:
findByG_F_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_F_Last

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

Specified by:
fetchByG_F_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_F_PrevAndNext

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

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

getByG_F_PrevAndNext

protected JournalArticle getByG_F_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              long folderId,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

filterFindByG_F

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

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the matching journal articles that the user has permission to view

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_F

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_F_PrevAndNext

public JournalArticle[] filterFindByG_F_PrevAndNext(long id,
                                                    long groupId,
                                                    long folderId,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?.

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

filterGetByG_F_PrevAndNext

protected JournalArticle filterGetByG_F_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    long folderId,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

filterFindByG_F

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

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching journal articles that the user has permission to view

filterFindByG_F

public List<JournalArticle> filterFindByG_F(long groupId,
                                            long[] folderIds,
                                            int start,
                                            int end)
Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_F

public List<JournalArticle> filterFindByG_F(long groupId,
                                            long[] folderIds,
                                            int start,
                                            int end,
                                            OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

findByG_F

public List<JournalArticle> findByG_F(long groupId,
                                      long[] folderIds)
Returns all the journal articles where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the matching journal articles

findByG_F

public List<JournalArticle> findByG_F(long groupId,
                                      long[] folderIds,
                                      int start,
                                      int end)
Returns a range of all the journal articles where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_F

public List<JournalArticle> findByG_F(long groupId,
                                      long[] folderIds,
                                      int start,
                                      int end,
                                      OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByG_F

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

Specified by:
removeByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID

countByG_F

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

Specified by:
countByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching journal articles

countByG_F

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

Specified by:
countByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching journal articles

filterCountByG_F

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

Specified by:
filterCountByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
Returns:
the number of matching journal articles that the user has permission to view

filterCountByG_F

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

Specified by:
filterCountByG_F in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderIds - the folder IDs
Returns:
the number of matching journal articles that the user has permission to view

findByG_A

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

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the matching journal articles

findByG_A

public List<JournalArticle> findByG_A(long groupId,
                                      String articleId,
                                      int start,
                                      int end)
Returns a range of all the journal articles where groupId = ? and articleId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_A_First

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

Specified by:
findByG_A_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_First

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

Specified by:
fetchByG_A_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_A_Last

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

Specified by:
findByG_A_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_Last

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

Specified by:
fetchByG_A_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_A_PrevAndNext

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

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

getByG_A_PrevAndNext

protected JournalArticle getByG_A_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              String articleId,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

filterFindByG_A

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

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the matching journal articles that the user has permission to view

filterFindByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_A_PrevAndNext

public JournalArticle[] filterFindByG_A_PrevAndNext(long id,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?.

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

filterGetByG_A_PrevAndNext

protected JournalArticle filterGetByG_A_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

removeByG_A

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

Specified by:
removeByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID

countByG_A

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

Specified by:
countByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the number of matching journal articles

filterCountByG_A

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

Specified by:
filterCountByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
Returns:
the number of matching journal articles that the user has permission to view

findByG_UT

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

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching journal articles

findByG_UT

public List<JournalArticle> findByG_UT(long groupId,
                                       String urlTitle,
                                       int start,
                                       int end)
Returns a range of all the journal articles where groupId = ? and urlTitle = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_UT_First

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

Specified by:
findByG_UT_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_UT_First

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

Specified by:
fetchByG_UT_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_UT_Last

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

Specified by:
findByG_UT_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_UT_Last

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

Specified by:
fetchByG_UT_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_UT_PrevAndNext

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

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

getByG_UT_PrevAndNext

protected JournalArticle getByG_UT_PrevAndNext(Session session,
                                               JournalArticle journalArticle,
                                               long groupId,
                                               String urlTitle,
                                               OrderByComparator<JournalArticle> orderByComparator,
                                               boolean previous)

filterFindByG_UT

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

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the matching journal articles that the user has permission to view

filterFindByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_UT_PrevAndNext

public JournalArticle[] filterFindByG_UT_PrevAndNext(long id,
                                                     long groupId,
                                                     String urlTitle,
                                                     OrderByComparator<JournalArticle> orderByComparator)
                                              throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.

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

filterGetByG_UT_PrevAndNext

protected JournalArticle filterGetByG_UT_PrevAndNext(Session session,
                                                     JournalArticle journalArticle,
                                                     long groupId,
                                                     String urlTitle,
                                                     OrderByComparator<JournalArticle> orderByComparator,
                                                     boolean previous)

removeByG_UT

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

Specified by:
removeByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title

countByG_UT

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

Specified by:
countByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the number of matching journal articles

filterCountByG_UT

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

Specified by:
filterCountByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
Returns:
the number of matching journal articles that the user has permission to view

findByG_DDMSK

public List<JournalArticle> findByG_DDMSK(long groupId,
                                          String DDMStructureKey)
Returns all the journal articles where groupId = ? and DDMStructureKey = ?.

Specified by:
findByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
Returns:
the matching journal articles

findByG_DDMSK

public List<JournalArticle> findByG_DDMSK(long groupId,
                                          String DDMStructureKey,
                                          int start,
                                          int end)
Returns a range of all the journal articles where groupId = ? and DDMStructureKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_DDMSK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_DDMSK_First

public JournalArticle findByG_DDMSK_First(long groupId,
                                          String DDMStructureKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
                                   throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.

Specified by:
findByG_DDMSK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_DDMSK_First

public JournalArticle fetchByG_DDMSK_First(long groupId,
                                           String DDMStructureKey,
                                           OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?.

Specified by:
fetchByG_DDMSK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_DDMSK_Last

public JournalArticle findByG_DDMSK_Last(long groupId,
                                         String DDMStructureKey,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.

Specified by:
findByG_DDMSK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_DDMSK_Last

public JournalArticle fetchByG_DDMSK_Last(long groupId,
                                          String DDMStructureKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?.

Specified by:
fetchByG_DDMSK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_DDMSK_PrevAndNext

public JournalArticle[] findByG_DDMSK_PrevAndNext(long id,
                                                  long groupId,
                                                  String DDMStructureKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
                                           throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMStructureKey = ?.

Specified by:
findByG_DDMSK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_DDMSK_PrevAndNext

protected JournalArticle getByG_DDMSK_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long groupId,
                                                  String DDMStructureKey,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

filterFindByG_DDMSK

public List<JournalArticle> filterFindByG_DDMSK(long groupId,
                                                String DDMStructureKey)
Returns all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.

Specified by:
filterFindByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
Returns:
the matching journal articles that the user has permission to view

filterFindByG_DDMSK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_DDMSK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_DDMSK_PrevAndNext

public JournalArticle[] filterFindByG_DDMSK_PrevAndNext(long id,
                                                        long groupId,
                                                        String DDMStructureKey,
                                                        OrderByComparator<JournalArticle> orderByComparator)
                                                 throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.

Specified by:
filterFindByG_DDMSK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
DDMStructureKey - the d d m structure key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_DDMSK_PrevAndNext

protected JournalArticle filterGetByG_DDMSK_PrevAndNext(Session session,
                                                        JournalArticle journalArticle,
                                                        long groupId,
                                                        String DDMStructureKey,
                                                        OrderByComparator<JournalArticle> orderByComparator,
                                                        boolean previous)

removeByG_DDMSK

public void removeByG_DDMSK(long groupId,
                            String DDMStructureKey)
Removes all the journal articles where groupId = ? and DDMStructureKey = ? from the database.

Specified by:
removeByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key

countByG_DDMSK

public int countByG_DDMSK(long groupId,
                          String DDMStructureKey)
Returns the number of journal articles where groupId = ? and DDMStructureKey = ?.

Specified by:
countByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
Returns:
the number of matching journal articles

filterCountByG_DDMSK

public int filterCountByG_DDMSK(long groupId,
                                String DDMStructureKey)
Returns the number of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?.

Specified by:
filterCountByG_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMStructureKey - the d d m structure key
Returns:
the number of matching journal articles that the user has permission to view

findByG_DDMTK

public List<JournalArticle> findByG_DDMTK(long groupId,
                                          String DDMTemplateKey)
Returns all the journal articles where groupId = ? and DDMTemplateKey = ?.

Specified by:
findByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles

findByG_DDMTK

public List<JournalArticle> findByG_DDMTK(long groupId,
                                          String DDMTemplateKey,
                                          int start,
                                          int end)
Returns a range of all the journal articles where groupId = ? and DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_DDMTK_First

public JournalArticle findByG_DDMTK_First(long groupId,
                                          String DDMTemplateKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
                                   throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.

Specified by:
findByG_DDMTK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_DDMTK_First

public JournalArticle fetchByG_DDMTK_First(long groupId,
                                           String DDMTemplateKey,
                                           OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.

Specified by:
fetchByG_DDMTK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_DDMTK_Last

public JournalArticle findByG_DDMTK_Last(long groupId,
                                         String DDMTemplateKey,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.

Specified by:
findByG_DDMTK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_DDMTK_Last

public JournalArticle fetchByG_DDMTK_Last(long groupId,
                                          String DDMTemplateKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.

Specified by:
fetchByG_DDMTK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_DDMTK_PrevAndNext

public JournalArticle[] findByG_DDMTK_PrevAndNext(long id,
                                                  long groupId,
                                                  String DDMTemplateKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
                                           throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMTemplateKey = ?.

Specified by:
findByG_DDMTK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_DDMTK_PrevAndNext

protected JournalArticle getByG_DDMTK_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long groupId,
                                                  String DDMTemplateKey,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

filterFindByG_DDMTK

public List<JournalArticle> filterFindByG_DDMTK(long groupId,
                                                String DDMTemplateKey)
Returns all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.

Specified by:
filterFindByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles that the user has permission to view

filterFindByG_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_DDMTK_PrevAndNext

public JournalArticle[] filterFindByG_DDMTK_PrevAndNext(long id,
                                                        long groupId,
                                                        String DDMTemplateKey,
                                                        OrderByComparator<JournalArticle> orderByComparator)
                                                 throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.

Specified by:
filterFindByG_DDMTK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_DDMTK_PrevAndNext

protected JournalArticle filterGetByG_DDMTK_PrevAndNext(Session session,
                                                        JournalArticle journalArticle,
                                                        long groupId,
                                                        String DDMTemplateKey,
                                                        OrderByComparator<JournalArticle> orderByComparator,
                                                        boolean previous)

removeByG_DDMTK

public void removeByG_DDMTK(long groupId,
                            String DDMTemplateKey)
Removes all the journal articles where groupId = ? and DDMTemplateKey = ? from the database.

Specified by:
removeByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key

countByG_DDMTK

public int countByG_DDMTK(long groupId,
                          String DDMTemplateKey)
Returns the number of journal articles where groupId = ? and DDMTemplateKey = ?.

Specified by:
countByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles

filterCountByG_DDMTK

public int filterCountByG_DDMTK(long groupId,
                                String DDMTemplateKey)
Returns the number of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?.

Specified by:
filterCountByG_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles that the user has permission to view

findByG_L

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

Specified by:
findByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the matching journal articles

findByG_L

public List<JournalArticle> findByG_L(long groupId,
                                      String layoutUuid,
                                      int start,
                                      int end)
Returns a range of all the journal articles where groupId = ? and layoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_L_First

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

Specified by:
findByG_L_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_L_First

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

Specified by:
fetchByG_L_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_L_Last

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

Specified by:
findByG_L_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_L_Last

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

Specified by:
fetchByG_L_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_L_PrevAndNext

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

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

getByG_L_PrevAndNext

protected JournalArticle getByG_L_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              String layoutUuid,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

filterFindByG_L

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

Specified by:
filterFindByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the matching journal articles that the user has permission to view

filterFindByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_L_PrevAndNext

public JournalArticle[] filterFindByG_L_PrevAndNext(long id,
                                                    long groupId,
                                                    String layoutUuid,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.

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

filterGetByG_L_PrevAndNext

protected JournalArticle filterGetByG_L_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    String layoutUuid,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

removeByG_L

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

Specified by:
removeByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid

countByG_L

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

Specified by:
countByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles

filterCountByG_L

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

Specified by:
filterCountByG_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles that the user has permission to view

findByG_ST

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

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching journal articles

findByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_ST_First

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

Specified by:
findByG_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_ST_First

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

Specified by:
fetchByG_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_ST_Last

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

Specified by:
findByG_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_ST_Last

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

Specified by:
fetchByG_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_ST_PrevAndNext

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

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

getByG_ST_PrevAndNext

protected JournalArticle getByG_ST_PrevAndNext(Session session,
                                               JournalArticle journalArticle,
                                               long groupId,
                                               int status,
                                               OrderByComparator<JournalArticle> orderByComparator,
                                               boolean previous)

filterFindByG_ST

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

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the matching journal articles that the user has permission to view

filterFindByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_ST_PrevAndNext

public JournalArticle[] filterFindByG_ST_PrevAndNext(long id,
                                                     long groupId,
                                                     int status,
                                                     OrderByComparator<JournalArticle> orderByComparator)
                                              throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?.

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

filterGetByG_ST_PrevAndNext

protected JournalArticle filterGetByG_ST_PrevAndNext(Session session,
                                                     JournalArticle journalArticle,
                                                     long groupId,
                                                     int status,
                                                     OrderByComparator<JournalArticle> orderByComparator,
                                                     boolean previous)

removeByG_ST

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

Specified by:
removeByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status

countByG_ST

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

Specified by:
countByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching journal articles

filterCountByG_ST

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

Specified by:
filterCountByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view

findByC_V

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

Specified by:
findByC_V in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
Returns:
the matching journal articles

findByC_V

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_V in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByC_V

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_V in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByC_V_First

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

Specified by:
findByC_V_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_V_First

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

Specified by:
fetchByC_V_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByC_V_Last

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

Specified by:
findByC_V_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_V_Last

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

Specified by:
fetchByC_V_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByC_V_PrevAndNext

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

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

getByC_V_PrevAndNext

protected JournalArticle getByC_V_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long companyId,
                                              double version,
                                              OrderByComparator<JournalArticle> orderByComparator,
                                              boolean previous)

removeByC_V

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

Specified by:
removeByC_V in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version

countByC_V

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

Specified by:
countByC_V in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
Returns:
the number of matching journal articles

findByC_ST

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

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the matching journal articles

findByC_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByC_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByC_ST_First

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

Specified by:
findByC_ST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_ST_First

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

Specified by:
fetchByC_ST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByC_ST_Last

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

Specified by:
findByC_ST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_ST_Last

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

Specified by:
fetchByC_ST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByC_ST_PrevAndNext

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

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

getByC_ST_PrevAndNext

protected JournalArticle getByC_ST_PrevAndNext(Session session,
                                               JournalArticle journalArticle,
                                               long companyId,
                                               int status,
                                               OrderByComparator<JournalArticle> orderByComparator,
                                               boolean previous)

removeByC_ST

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

Specified by:
removeByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status

countByC_ST

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

Specified by:
countByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching journal articles

findByC_NotST

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

Specified by:
findByC_NotST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the matching journal articles

findByC_NotST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_NotST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByC_NotST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_NotST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByC_NotST_First

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

Specified by:
findByC_NotST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_NotST_First

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

Specified by:
fetchByC_NotST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByC_NotST_Last

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

Specified by:
findByC_NotST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_NotST_Last

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

Specified by:
fetchByC_NotST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByC_NotST_PrevAndNext

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

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

getByC_NotST_PrevAndNext

protected JournalArticle getByC_NotST_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long companyId,
                                                  int status,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

removeByC_NotST

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

Specified by:
removeByC_NotST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status

countByC_NotST

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

Specified by:
countByC_NotST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
status - the status
Returns:
the number of matching journal articles

findByC_DDMTK

public List<JournalArticle> findByC_DDMTK(long classNameId,
                                          String DDMTemplateKey)
Returns all the journal articles where classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByC_DDMTK in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles

findByC_DDMTK

public List<JournalArticle> findByC_DDMTK(long classNameId,
                                          String DDMTemplateKey,
                                          int start,
                                          int end)
Returns a range of all the journal articles where classNameId = ? and DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_DDMTK in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByC_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_DDMTK in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByC_DDMTK_First

public JournalArticle findByC_DDMTK_First(long classNameId,
                                          String DDMTemplateKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
                                   throws NoSuchArticleException
Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByC_DDMTK_First in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_DDMTK_First

public JournalArticle fetchByC_DDMTK_First(long classNameId,
                                           String DDMTemplateKey,
                                           OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.

Specified by:
fetchByC_DDMTK_First in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByC_DDMTK_Last

public JournalArticle findByC_DDMTK_Last(long classNameId,
                                         String DDMTemplateKey,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByC_DDMTK_Last in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_DDMTK_Last

public JournalArticle fetchByC_DDMTK_Last(long classNameId,
                                          String DDMTemplateKey,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.

Specified by:
fetchByC_DDMTK_Last in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByC_DDMTK_PrevAndNext

public JournalArticle[] findByC_DDMTK_PrevAndNext(long id,
                                                  long classNameId,
                                                  String DDMTemplateKey,
                                                  OrderByComparator<JournalArticle> orderByComparator)
                                           throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByC_DDMTK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByC_DDMTK_PrevAndNext

protected JournalArticle getByC_DDMTK_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long classNameId,
                                                  String DDMTemplateKey,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

removeByC_DDMTK

public void removeByC_DDMTK(long classNameId,
                            String DDMTemplateKey)
Removes all the journal articles where classNameId = ? and DDMTemplateKey = ? from the database.

Specified by:
removeByC_DDMTK in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key

countByC_DDMTK

public int countByC_DDMTK(long classNameId,
                          String DDMTemplateKey)
Returns the number of journal articles where classNameId = ? and DDMTemplateKey = ?.

Specified by:
countByC_DDMTK in interface JournalArticlePersistence
Parameters:
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles

findByLtD_S

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

Specified by:
findByLtD_S in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
Returns:
the matching journal articles

findByLtD_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByLtD_S in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByLtD_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByLtD_S in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByLtD_S_First

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

Specified by:
findByLtD_S_First in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByLtD_S_First

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

Specified by:
fetchByLtD_S_First in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByLtD_S_Last

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

Specified by:
findByLtD_S_Last in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByLtD_S_Last

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

Specified by:
fetchByLtD_S_Last in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByLtD_S_PrevAndNext

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

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

getByLtD_S_PrevAndNext

protected JournalArticle getByLtD_S_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                Date displayDate,
                                                int status,
                                                OrderByComparator<JournalArticle> orderByComparator,
                                                boolean previous)

removeByLtD_S

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

Specified by:
removeByLtD_S in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status

countByLtD_S

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

Specified by:
countByLtD_S in interface JournalArticlePersistence
Parameters:
displayDate - the display date
status - the status
Returns:
the number of matching journal articles

findByR_I_S

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

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
Returns:
the matching journal articles

findByR_I_S

public List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                        boolean indexable,
                                        int status,
                                        int start,
                                        int end)
Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByR_I_S

public List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                        boolean indexable,
                                        int status,
                                        int start,
                                        int end,
                                        OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByR_I_S_First

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

Specified by:
findByR_I_S_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_I_S_First

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

Specified by:
fetchByR_I_S_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByR_I_S_Last

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

Specified by:
findByR_I_S_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByR_I_S_Last

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

Specified by:
fetchByR_I_S_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByR_I_S_PrevAndNext

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

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

getByR_I_S_PrevAndNext

protected JournalArticle getByR_I_S_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long resourcePrimKey,
                                                boolean indexable,
                                                int status,
                                                OrderByComparator<JournalArticle> orderByComparator,
                                                boolean previous)

findByR_I_S

public List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                        boolean indexable,
                                        int[] statuses)
Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
Returns:
the matching journal articles

findByR_I_S

public List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                        boolean indexable,
                                        int[] statuses,
                                        int start,
                                        int end)
Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByR_I_S

public List<JournalArticle> findByR_I_S(long resourcePrimKey,
                                        boolean indexable,
                                        int[] statuses,
                                        int start,
                                        int end,
                                        OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByR_I_S

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

Specified by:
removeByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status

countByR_I_S

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

Specified by:
countByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
status - the status
Returns:
the number of matching journal articles

countByR_I_S

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

Specified by:
countByR_I_S in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
indexable - the indexable
statuses - the statuses
Returns:
the number of matching journal articles

findByG_U_C

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

Specified by:
findByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the matching journal articles

findByG_U_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_U_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_U_C_First

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

Specified by:
findByG_U_C_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_U_C_First

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

Specified by:
fetchByG_U_C_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_U_C_Last

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

Specified by:
findByG_U_C_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_U_C_Last

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

Specified by:
fetchByG_U_C_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_U_C_PrevAndNext

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

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

getByG_U_C_PrevAndNext

protected JournalArticle getByG_U_C_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long userId,
                                                long classNameId,
                                                OrderByComparator<JournalArticle> orderByComparator,
                                                boolean previous)

filterFindByG_U_C

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

Specified by:
filterFindByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the matching journal articles that the user has permission to view

filterFindByG_U_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_U_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_U_C_PrevAndNext

public JournalArticle[] filterFindByG_U_C_PrevAndNext(long id,
                                                      long groupId,
                                                      long userId,
                                                      long classNameId,
                                                      OrderByComparator<JournalArticle> orderByComparator)
                                               throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?.

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

filterGetByG_U_C_PrevAndNext

protected JournalArticle filterGetByG_U_C_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long userId,
                                                      long classNameId,
                                                      OrderByComparator<JournalArticle> orderByComparator,
                                                      boolean previous)

removeByG_U_C

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

Specified by:
removeByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID

countByG_U_C

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

Specified by:
countByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the number of matching journal articles

filterCountByG_U_C

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

Specified by:
filterCountByG_U_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
userId - the user ID
classNameId - the class name ID
Returns:
the number of matching journal articles that the user has permission to view

findByG_F_ST

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

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching journal articles

findByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_F_ST_First

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

Specified by:
findByG_F_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_F_ST_First

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

Specified by:
fetchByG_F_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_F_ST_Last

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

Specified by:
findByG_F_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_F_ST_Last

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

Specified by:
fetchByG_F_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_F_ST_PrevAndNext

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

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

getByG_F_ST_PrevAndNext

protected JournalArticle getByG_F_ST_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 long groupId,
                                                 long folderId,
                                                 int status,
                                                 OrderByComparator<JournalArticle> orderByComparator,
                                                 boolean previous)

filterFindByG_F_ST

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

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the matching journal articles that the user has permission to view

filterFindByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_F_ST_PrevAndNext

public JournalArticle[] filterFindByG_F_ST_PrevAndNext(long id,
                                                       long groupId,
                                                       long folderId,
                                                       int status,
                                                       OrderByComparator<JournalArticle> orderByComparator)
                                                throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?.

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

filterGetByG_F_ST_PrevAndNext

protected JournalArticle filterGetByG_F_ST_PrevAndNext(Session session,
                                                       JournalArticle journalArticle,
                                                       long groupId,
                                                       long folderId,
                                                       int status,
                                                       OrderByComparator<JournalArticle> orderByComparator,
                                                       boolean previous)

filterFindByG_F_ST

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

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the matching journal articles that the user has permission to view

filterFindByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

findByG_F_ST

public List<JournalArticle> findByG_F_ST(long groupId,
                                         long folderId,
                                         int[] statuses)
Returns all the journal articles where groupId = ? and folderId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the matching journal articles

findByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_F_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByG_F_ST

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

Specified by:
removeByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status

countByG_F_ST

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

Specified by:
countByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching journal articles

countByG_F_ST

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

Specified by:
countByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the number of matching journal articles

filterCountByG_F_ST

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

Specified by:
filterCountByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view

filterCountByG_F_ST

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

Specified by:
filterCountByG_F_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
folderId - the folder ID
statuses - the statuses
Returns:
the number of matching journal articles that the user has permission to view

findByG_C_C

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

Specified by:
findByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching journal articles

findByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_C_C_First

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

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

fetchByG_C_C_First

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

Specified by:
fetchByG_C_C_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_C_C_Last

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

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

fetchByG_C_C_Last

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

Specified by:
fetchByG_C_C_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_C_C_PrevAndNext

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

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

getByG_C_C_PrevAndNext

protected JournalArticle getByG_C_C_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long classNameId,
                                                long classPK,
                                                OrderByComparator<JournalArticle> orderByComparator,
                                                boolean previous)

filterFindByG_C_C

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

Specified by:
filterFindByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the matching journal articles that the user has permission to view

filterFindByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_C_C_PrevAndNext

public JournalArticle[] filterFindByG_C_C_PrevAndNext(long id,
                                                      long groupId,
                                                      long classNameId,
                                                      long classPK,
                                                      OrderByComparator<JournalArticle> orderByComparator)
                                               throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?.

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

filterGetByG_C_C_PrevAndNext

protected JournalArticle filterGetByG_C_C_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long classNameId,
                                                      long classPK,
                                                      OrderByComparator<JournalArticle> orderByComparator,
                                                      boolean previous)

removeByG_C_C

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

Specified by:
removeByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k

countByG_C_C

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

Specified by:
countByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching journal articles

filterCountByG_C_C

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

Specified by:
filterCountByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching journal articles that the user has permission to view

findByG_C_DDMSK

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

Specified by:
findByG_C_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMStructureKey - the d d m structure key
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_C_DDMSK

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

Specified by:
fetchByG_C_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMStructureKey - the d d m structure key
Returns:
the matching journal article, or null if a matching journal article could not be found

fetchByG_C_DDMSK

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

Specified by:
fetchByG_C_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMStructureKey - the d d m structure key
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found

removeByG_C_DDMSK

public JournalArticle removeByG_C_DDMSK(long groupId,
                                        long classNameId,
                                        String DDMStructureKey)
                                 throws NoSuchArticleException
Removes the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? from the database.

Specified by:
removeByG_C_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMStructureKey - the d d m structure key
Returns:
the journal article that was removed
Throws:
NoSuchArticleException

countByG_C_DDMSK

public int countByG_C_DDMSK(long groupId,
                            long classNameId,
                            String DDMStructureKey)
Returns the number of journal articles where groupId = ? and classNameId = ? and DDMStructureKey = ?.

Specified by:
countByG_C_DDMSK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMStructureKey - the d d m structure key
Returns:
the number of matching journal articles

findByG_C_DDMTK

public List<JournalArticle> findByG_C_DDMTK(long groupId,
                                            long classNameId,
                                            String DDMTemplateKey)
Returns all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles

findByG_C_DDMTK

public List<JournalArticle> findByG_C_DDMTK(long groupId,
                                            long classNameId,
                                            String DDMTemplateKey,
                                            int start,
                                            int end)
Returns a range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_C_DDMTK

public List<JournalArticle> findByG_C_DDMTK(long groupId,
                                            long classNameId,
                                            String DDMTemplateKey,
                                            int start,
                                            int end,
                                            OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_C_DDMTK_First

public JournalArticle findByG_C_DDMTK_First(long groupId,
                                            long classNameId,
                                            String DDMTemplateKey,
                                            OrderByComparator<JournalArticle> orderByComparator)
                                     throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByG_C_DDMTK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_C_DDMTK_First

public JournalArticle fetchByG_C_DDMTK_First(long groupId,
                                             long classNameId,
                                             String DDMTemplateKey,
                                             OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
fetchByG_C_DDMTK_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_C_DDMTK_Last

public JournalArticle findByG_C_DDMTK_Last(long groupId,
                                           long classNameId,
                                           String DDMTemplateKey,
                                           OrderByComparator<JournalArticle> orderByComparator)
                                    throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByG_C_DDMTK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_C_DDMTK_Last

public JournalArticle fetchByG_C_DDMTK_Last(long groupId,
                                            long classNameId,
                                            String DDMTemplateKey,
                                            OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
fetchByG_C_DDMTK_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_C_DDMTK_PrevAndNext

public JournalArticle[] findByG_C_DDMTK_PrevAndNext(long id,
                                                    long groupId,
                                                    long classNameId,
                                                    String DDMTemplateKey,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
findByG_C_DDMTK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_C_DDMTK_PrevAndNext

protected JournalArticle getByG_C_DDMTK_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    long classNameId,
                                                    String DDMTemplateKey,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

filterFindByG_C_DDMTK

public List<JournalArticle> filterFindByG_C_DDMTK(long groupId,
                                                  long classNameId,
                                                  String DDMTemplateKey)
Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
filterFindByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the matching journal articles that the user has permission to view

filterFindByG_C_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_C_DDMTK

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_C_DDMTK_PrevAndNext

public JournalArticle[] filterFindByG_C_DDMTK_PrevAndNext(long id,
                                                          long groupId,
                                                          long classNameId,
                                                          String DDMTemplateKey,
                                                          OrderByComparator<JournalArticle> orderByComparator)
                                                   throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
filterFindByG_C_DDMTK_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_C_DDMTK_PrevAndNext

protected JournalArticle filterGetByG_C_DDMTK_PrevAndNext(Session session,
                                                          JournalArticle journalArticle,
                                                          long groupId,
                                                          long classNameId,
                                                          String DDMTemplateKey,
                                                          OrderByComparator<JournalArticle> orderByComparator,
                                                          boolean previous)

removeByG_C_DDMTK

public void removeByG_C_DDMTK(long groupId,
                              long classNameId,
                              String DDMTemplateKey)
Removes all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ? from the database.

Specified by:
removeByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key

countByG_C_DDMTK

public int countByG_C_DDMTK(long groupId,
                            long classNameId,
                            String DDMTemplateKey)
Returns the number of journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
countByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles

filterCountByG_C_DDMTK

public int filterCountByG_C_DDMTK(long groupId,
                                  long classNameId,
                                  String DDMTemplateKey)
Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?.

Specified by:
filterCountByG_C_DDMTK in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
DDMTemplateKey - the d d m template key
Returns:
the number of matching journal articles that the user has permission to view

findByG_C_L

public List<JournalArticle> findByG_C_L(long groupId,
                                        long classNameId,
                                        String layoutUuid)
Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
findByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the matching journal articles

findByG_C_L

public List<JournalArticle> findByG_C_L(long groupId,
                                        long classNameId,
                                        String layoutUuid,
                                        int start,
                                        int end)
Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_C_L

public List<JournalArticle> findByG_C_L(long groupId,
                                        long classNameId,
                                        String layoutUuid,
                                        int start,
                                        int end,
                                        OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_C_L_First

public JournalArticle findByG_C_L_First(long groupId,
                                        long classNameId,
                                        String layoutUuid,
                                        OrderByComparator<JournalArticle> orderByComparator)
                                 throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
findByG_C_L_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_C_L_First

public JournalArticle fetchByG_C_L_First(long groupId,
                                         long classNameId,
                                         String layoutUuid,
                                         OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
fetchByG_C_L_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_C_L_Last

public JournalArticle findByG_C_L_Last(long groupId,
                                       long classNameId,
                                       String layoutUuid,
                                       OrderByComparator<JournalArticle> orderByComparator)
                                throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
findByG_C_L_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_C_L_Last

public JournalArticle fetchByG_C_L_Last(long groupId,
                                        long classNameId,
                                        String layoutUuid,
                                        OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
fetchByG_C_L_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_C_L_PrevAndNext

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

Specified by:
findByG_C_L_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_C_L_PrevAndNext

protected JournalArticle getByG_C_L_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long classNameId,
                                                String layoutUuid,
                                                OrderByComparator<JournalArticle> orderByComparator,
                                                boolean previous)

filterFindByG_C_L

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

Specified by:
filterFindByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the matching journal articles that the user has permission to view

filterFindByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_C_L_PrevAndNext

public JournalArticle[] filterFindByG_C_L_PrevAndNext(long id,
                                                      long groupId,
                                                      long classNameId,
                                                      String layoutUuid,
                                                      OrderByComparator<JournalArticle> orderByComparator)
                                               throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
filterFindByG_C_L_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_C_L_PrevAndNext

protected JournalArticle filterGetByG_C_L_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long classNameId,
                                                      String layoutUuid,
                                                      OrderByComparator<JournalArticle> orderByComparator,
                                                      boolean previous)

removeByG_C_L

public void removeByG_C_L(long groupId,
                          long classNameId,
                          String layoutUuid)
Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database.

Specified by:
removeByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid

countByG_C_L

public int countByG_C_L(long groupId,
                        long classNameId,
                        String layoutUuid)
Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.

Specified by:
countByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles

filterCountByG_C_L

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

Specified by:
filterCountByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Returns:
the number of matching journal articles that the user has permission to view

findByG_A_V

public JournalArticle findByG_A_V(long groupId,
                                  String articleId,
                                  double version)
                           throws NoSuchArticleException
Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.

Specified by:
findByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_V

public JournalArticle fetchByG_A_V(long groupId,
                                   String articleId,
                                   double version)
Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the matching journal article, or null if a matching journal article could not be found

fetchByG_A_V

public JournalArticle fetchByG_A_V(long groupId,
                                   String articleId,
                                   double version,
                                   boolean retrieveFromCache)
Returns the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
version - the version
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found

removeByG_A_V

public JournalArticle removeByG_A_V(long groupId,
                                    String articleId,
                                    double version)
                             throws NoSuchArticleException
Removes the journal article where groupId = ? and articleId = ? and version = ? from the database.

Specified by:
removeByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the journal article that was removed
Throws:
NoSuchArticleException

countByG_A_V

public int countByG_A_V(long groupId,
                        String articleId,
                        double version)
Returns the number of journal articles where groupId = ? and articleId = ? and version = ?.

Specified by:
countByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
version - the version
Returns:
the number of matching journal articles

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int status)
Returns all the journal articles where groupId = ? and articleId = ? and status = ?.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int status,
                                         int start,
                                         int end)
Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_A_ST_First

public JournalArticle findByG_A_ST_First(long groupId,
                                         String articleId,
                                         int status,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Specified by:
findByG_A_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_ST_First

public JournalArticle fetchByG_A_ST_First(long groupId,
                                          String articleId,
                                          int status,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Specified by:
fetchByG_A_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_A_ST_Last

public JournalArticle findByG_A_ST_Last(long groupId,
                                        String articleId,
                                        int status,
                                        OrderByComparator<JournalArticle> orderByComparator)
                                 throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Specified by:
findByG_A_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_ST_Last

public JournalArticle fetchByG_A_ST_Last(long groupId,
                                         String articleId,
                                         int status,
                                         OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.

Specified by:
fetchByG_A_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_A_ST_PrevAndNext

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

Specified by:
findByG_A_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_A_ST_PrevAndNext

protected JournalArticle getByG_A_ST_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 long groupId,
                                                 String articleId,
                                                 int status,
                                                 OrderByComparator<JournalArticle> orderByComparator,
                                                 boolean previous)

filterFindByG_A_ST

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

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles that the user has permission to view

filterFindByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_A_ST_PrevAndNext

public JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id,
                                                       long groupId,
                                                       String articleId,
                                                       int status,
                                                       OrderByComparator<JournalArticle> orderByComparator)
                                                throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.

Specified by:
filterFindByG_A_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_A_ST_PrevAndNext

protected JournalArticle filterGetByG_A_ST_PrevAndNext(Session session,
                                                       JournalArticle journalArticle,
                                                       long groupId,
                                                       String articleId,
                                                       int status,
                                                       OrderByComparator<JournalArticle> orderByComparator,
                                                       boolean previous)

filterFindByG_A_ST

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

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the matching journal articles that the user has permission to view

filterFindByG_A_ST

public List<JournalArticle> filterFindByG_A_ST(long groupId,
                                               String articleId,
                                               int[] statuses,
                                               int start,
                                               int end)
Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_A_ST

public List<JournalArticle> filterFindByG_A_ST(long groupId,
                                               String articleId,
                                               int[] statuses,
                                               int start,
                                               int end,
                                               OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int[] statuses)
Returns all the journal articles where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the matching journal articles

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int[] statuses,
                                         int start,
                                         int end)
Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int[] statuses,
                                         int start,
                                         int end,
                                         OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

removeByG_A_ST

public void removeByG_A_ST(long groupId,
                           String articleId,
                           int status)
Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database.

Specified by:
removeByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status

countByG_A_ST

public int countByG_A_ST(long groupId,
                         String articleId,
                         int status)
Returns the number of journal articles where groupId = ? and articleId = ? and status = ?.

Specified by:
countByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles

countByG_A_ST

public int countByG_A_ST(long groupId,
                         String articleId,
                         int[] statuses)
Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?.

Specified by:
countByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the number of matching journal articles

filterCountByG_A_ST

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

Specified by:
filterCountByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view

filterCountByG_A_ST

public int filterCountByG_A_ST(long groupId,
                               String articleId,
                               int[] statuses)
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Specified by:
filterCountByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
statuses - the statuses
Returns:
the number of matching journal articles that the user has permission to view

findByG_A_NotST

public List<JournalArticle> findByG_A_NotST(long groupId,
                                            String articleId,
                                            int status)
Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
findByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles

findByG_A_NotST

public List<JournalArticle> findByG_A_NotST(long groupId,
                                            String articleId,
                                            int status,
                                            int start,
                                            int end)
Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_A_NotST

public List<JournalArticle> findByG_A_NotST(long groupId,
                                            String articleId,
                                            int status,
                                            int start,
                                            int end,
                                            OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_A_NotST_First

public JournalArticle findByG_A_NotST_First(long groupId,
                                            String articleId,
                                            int status,
                                            OrderByComparator<JournalArticle> orderByComparator)
                                     throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
findByG_A_NotST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_NotST_First

public JournalArticle fetchByG_A_NotST_First(long groupId,
                                             String articleId,
                                             int status,
                                             OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
fetchByG_A_NotST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_A_NotST_Last

public JournalArticle findByG_A_NotST_Last(long groupId,
                                           String articleId,
                                           int status,
                                           OrderByComparator<JournalArticle> orderByComparator)
                                    throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
findByG_A_NotST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_A_NotST_Last

public JournalArticle fetchByG_A_NotST_Last(long groupId,
                                            String articleId,
                                            int status,
                                            OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
fetchByG_A_NotST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_A_NotST_PrevAndNext

public JournalArticle[] findByG_A_NotST_PrevAndNext(long id,
                                                    long groupId,
                                                    String articleId,
                                                    int status,
                                                    OrderByComparator<JournalArticle> orderByComparator)
                                             throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
findByG_A_NotST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByG_A_NotST_PrevAndNext

protected JournalArticle getByG_A_NotST_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    String articleId,
                                                    int status,
                                                    OrderByComparator<JournalArticle> orderByComparator,
                                                    boolean previous)

filterFindByG_A_NotST

public List<JournalArticle> filterFindByG_A_NotST(long groupId,
                                                  String articleId,
                                                  int status)
Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
filterFindByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the matching journal articles that the user has permission to view

filterFindByG_A_NotST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_A_NotST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_A_NotST_PrevAndNext

public JournalArticle[] filterFindByG_A_NotST_PrevAndNext(long id,
                                                          long groupId,
                                                          String articleId,
                                                          int status,
                                                          OrderByComparator<JournalArticle> orderByComparator)
                                                   throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
filterFindByG_A_NotST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group ID
articleId - the article ID
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

filterGetByG_A_NotST_PrevAndNext

protected JournalArticle filterGetByG_A_NotST_PrevAndNext(Session session,
                                                          JournalArticle journalArticle,
                                                          long groupId,
                                                          String articleId,
                                                          int status,
                                                          OrderByComparator<JournalArticle> orderByComparator,
                                                          boolean previous)

removeByG_A_NotST

public void removeByG_A_NotST(long groupId,
                              String articleId,
                              int status)
Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database.

Specified by:
removeByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status

countByG_A_NotST

public int countByG_A_NotST(long groupId,
                            String articleId,
                            int status)
Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
countByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles

filterCountByG_A_NotST

public int filterCountByG_A_NotST(long groupId,
                                  String articleId,
                                  int status)
Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?.

Specified by:
filterCountByG_A_NotST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Returns:
the number of matching journal articles that the user has permission to view

findByG_UT_ST

public List<JournalArticle> findByG_UT_ST(long groupId,
                                          String urlTitle,
                                          int status)
Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the matching journal articles

findByG_UT_ST

public List<JournalArticle> findByG_UT_ST(long groupId,
                                          String urlTitle,
                                          int status,
                                          int start,
                                          int end)
Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByG_UT_ST_First

public JournalArticle findByG_UT_ST_First(long groupId,
                                          String urlTitle,
                                          int status,
                                          OrderByComparator<JournalArticle> orderByComparator)
                                   throws NoSuchArticleException
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Specified by:
findByG_UT_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_UT_ST_First

public JournalArticle fetchByG_UT_ST_First(long groupId,
                                           String urlTitle,
                                           int status,
                                           OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Specified by:
fetchByG_UT_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByG_UT_ST_Last

public JournalArticle findByG_UT_ST_Last(long groupId,
                                         String urlTitle,
                                         int status,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Specified by:
findByG_UT_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByG_UT_ST_Last

public JournalArticle fetchByG_UT_ST_Last(long groupId,
                                          String urlTitle,
                                          int status,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.

Specified by:
fetchByG_UT_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByG_UT_ST_PrevAndNext

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

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

getByG_UT_ST_PrevAndNext

protected JournalArticle getByG_UT_ST_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long groupId,
                                                  String urlTitle,
                                                  int status,
                                                  OrderByComparator<JournalArticle> orderByComparator,
                                                  boolean previous)

filterFindByG_UT_ST

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

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the matching journal articles that the user has permission to view

filterFindByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view

filterFindByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles that the user has permission to view

filterFindByG_UT_ST_PrevAndNext

public JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id,
                                                        long groupId,
                                                        String urlTitle,
                                                        int status,
                                                        OrderByComparator<JournalArticle> orderByComparator)
                                                 throws NoSuchArticleException
Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.

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

filterGetByG_UT_ST_PrevAndNext

protected JournalArticle filterGetByG_UT_ST_PrevAndNext(Session session,
                                                        JournalArticle journalArticle,
                                                        long groupId,
                                                        String urlTitle,
                                                        int status,
                                                        OrderByComparator<JournalArticle> orderByComparator,
                                                        boolean previous)

removeByG_UT_ST

public void removeByG_UT_ST(long groupId,
                            String urlTitle,
                            int status)
Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database.

Specified by:
removeByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status

countByG_UT_ST

public int countByG_UT_ST(long groupId,
                          String urlTitle,
                          int status)
Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?.

Specified by:
countByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the number of matching journal articles

filterCountByG_UT_ST

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

Specified by:
filterCountByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Returns:
the number of matching journal articles that the user has permission to view

findByC_V_ST

public List<JournalArticle> findByC_V_ST(long companyId,
                                         double version,
                                         int status)
Returns all the journal articles where companyId = ? and version = ? and status = ?.

Specified by:
findByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
Returns:
the matching journal articles

findByC_V_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of matching journal articles

findByC_V_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching journal articles

findByC_V_ST_First

public JournalArticle findByC_V_ST_First(long companyId,
                                         double version,
                                         int status,
                                         OrderByComparator<JournalArticle> orderByComparator)
                                  throws NoSuchArticleException
Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.

Specified by:
findByC_V_ST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_V_ST_First

public JournalArticle fetchByC_V_ST_First(long companyId,
                                          double version,
                                          int status,
                                          OrderByComparator<JournalArticle> orderByComparator)
Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?.

Specified by:
fetchByC_V_ST_First in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching journal article, or null if a matching journal article could not be found

findByC_V_ST_Last

public JournalArticle findByC_V_ST_Last(long companyId,
                                        double version,
                                        int status,
                                        OrderByComparator<JournalArticle> orderByComparator)
                                 throws NoSuchArticleException
Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.

Specified by:
findByC_V_ST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found

fetchByC_V_ST_Last

public JournalArticle fetchByC_V_ST_Last(long companyId,
                                         double version,
                                         int status,
                                         OrderByComparator<JournalArticle> orderByComparator)
Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.

Specified by:
fetchByC_V_ST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching journal article, or null if a matching journal article could not be found

findByC_V_ST_PrevAndNext

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

Specified by:
findByC_V_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
companyId - the company ID
version - the version
status - the status
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

getByC_V_ST_PrevAndNext

protected JournalArticle getByC_V_ST_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 long companyId,
                                                 double version,
                                                 int status,
                                                 OrderByComparator<JournalArticle> orderByComparator,
                                                 boolean previous)

removeByC_V_ST

public void removeByC_V_ST(long companyId,
                           double version,
                           int status)
Removes all the journal articles where companyId = ? and version = ? and status = ? from the database.

Specified by:
removeByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status

countByC_V_ST

public int countByC_V_ST(long companyId,
                         double version,
                         int status)
Returns the number of journal articles where companyId = ? and version = ? and status = ?.

Specified by:
countByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
Returns:
the number of matching journal articles

cacheResult

public void cacheResult(JournalArticle journalArticle)
Caches the journal article in the entity cache if it is enabled.

Specified by:
cacheResult in interface JournalArticlePersistence
Parameters:
journalArticle - the journal article

cacheResult

public void cacheResult(List<JournalArticle> journalArticles)
Caches the journal articles in the entity cache if it is enabled.

Specified by:
cacheResult in interface JournalArticlePersistence
Parameters:
journalArticles - the journal articles

clearCache

public void clearCache()
Clears the cache for all journal articles.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalArticle>
Overrides:
clearCache in class BasePersistenceImpl<JournalArticle>

clearCache

public void clearCache(JournalArticle journalArticle)
Clears the cache for the journal article.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalArticle>
Overrides:
clearCache in class BasePersistenceImpl<JournalArticle>
Parameters:
journalArticle - the instance of this model to clear the cache for

clearCache

public void clearCache(List<JournalArticle> journalArticles)
Description copied from interface: BasePersistence
Clears the cache for a List instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<JournalArticle>
Overrides:
clearCache in class BasePersistenceImpl<JournalArticle>
Parameters:
journalArticles - the List instances of this model to clear the cache for

cacheUniqueFindersCache

protected void cacheUniqueFindersCache(JournalArticle journalArticle)

clearUniqueFindersCache

protected void clearUniqueFindersCache(JournalArticle journalArticle)

create

public JournalArticle create(long id)
Creates a new journal article with the primary key. Does not add the journal article to the database.

Specified by:
create in interface JournalArticlePersistence
Parameters:
id - the primary key for the new journal article
Returns:
the new journal article

remove

public JournalArticle remove(long id)
                      throws NoSuchArticleException
Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface JournalArticlePersistence
Parameters:
id - the primary key of the journal article
Returns:
the journal article that was removed
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

remove

public JournalArticle remove(Serializable primaryKey)
                      throws NoSuchArticleException
Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<JournalArticle>
Overrides:
remove in class BasePersistenceImpl<JournalArticle>
Parameters:
primaryKey - the primary key of the journal article
Returns:
the journal article that was removed
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

removeImpl

protected JournalArticle removeImpl(JournalArticle journalArticle)
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<JournalArticle>
Parameters:
journalArticle - the model instance to remove
Returns:
the model instance that was removed

updateImpl

public JournalArticle updateImpl(JournalArticle journalArticle)
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface JournalArticlePersistence
Overrides:
updateImpl in class BasePersistenceImpl<JournalArticle>
Parameters:
journalArticle - the model instance to update
Returns:
the model instance that was updated

toUnwrappedModel

protected JournalArticle toUnwrappedModel(JournalArticle journalArticle)

findByPrimaryKey

public JournalArticle findByPrimaryKey(Serializable primaryKey)
                                throws NoSuchArticleException
Returns the journal article with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<JournalArticle>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<JournalArticle>
Parameters:
primaryKey - the primary key of the journal article
Returns:
the journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

findByPrimaryKey

public JournalArticle findByPrimaryKey(long id)
                                throws NoSuchArticleException
Returns the journal article with the primary key or throws a NoSuchArticleException if it could not be found.

Specified by:
findByPrimaryKey in interface JournalArticlePersistence
Parameters:
id - the primary key of the journal article
Returns:
the journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(Serializable primaryKey)
Returns the journal article with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<JournalArticle>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<JournalArticle>
Parameters:
primaryKey - the primary key of the journal article
Returns:
the journal article, or null if a journal article with the primary key could not be found

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(long id)
Returns the journal article with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface JournalArticlePersistence
Parameters:
id - the primary key of the journal article
Returns:
the journal article, or null if a journal article with the primary key could not be found

fetchByPrimaryKeys

public Map<Serializable,JournalArticle> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<JournalArticle>
Specified by:
fetchByPrimaryKeys in interface JournalArticlePersistence
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<JournalArticle>

findAll

public List<JournalArticle> findAll()
Returns all the journal articles.

Specified by:
findAll in interface JournalArticlePersistence
Returns:
the journal articles

findAll

public List<JournalArticle> findAll(int start,
                                    int end)
Returns a range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface JournalArticlePersistence
Parameters:
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
Returns:
the range of journal articles

findAll

public List<JournalArticle> findAll(int start,
                                    int end,
                                    OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Specified by:
findAll in interface JournalArticlePersistence
Parameters:
start - the lower bound of the range of journal articles
end - the upper bound of the range of journal articles (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of journal articles

removeAll

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

Specified by:
removeAll in interface JournalArticlePersistence

countAll

public int countAll()
Returns the number of journal articles.

Specified by:
countAll in interface JournalArticlePersistence
Returns:
the number of journal articles

getBadColumnNames

protected Set<String> getBadColumnNames()
Overrides:
getBadColumnNames in class BasePersistenceImpl<JournalArticle>

afterPropertiesSet

public void afterPropertiesSet()
Initializes the journal article persistence.


destroy

public void destroy()

Liferay 7.0-ce-m3