Liferay 6.1.2-ce-ga3

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

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

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
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetLinkPersistence assetLinkPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
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_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_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_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_C_T
           
static FinderPath FINDER_PATH_COUNT_BY_G_L
           
static FinderPath FINDER_PATH_COUNT_BY_G_S
           
static FinderPath FINDER_PATH_COUNT_BY_G_ST
           
static FinderPath FINDER_PATH_COUNT_BY_G_T
           
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_ST
           
static FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
           
static FinderPath FINDER_PATH_COUNT_BY_TEMPLATEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
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_S
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_A_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
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_G_A
           
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_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_L
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_ST
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T
           
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_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_STRUCTUREID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TEMPLATEID
           
static FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
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_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_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_L
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_ST
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T
           
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_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_STRUCTUREID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TEMPLATEID
           
static FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  GroupPersistence groupPersistence
           
protected  ImagePersistence imagePersistence
           
protected  JournalArticleImagePersistence journalArticleImagePersistence
           
protected  JournalArticlePersistence journalArticlePersistence
           
protected  JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  JournalContentSearchPersistence journalContentSearchPersistence
           
protected  JournalFeedPersistence journalFeedPersistence
           
protected  JournalStructurePersistence journalStructurePersistence
           
protected  JournalTemplatePersistence journalTemplatePersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  PortletPreferencesPersistence portletPreferencesPersistence
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  ResourcePersistence resourcePersistence
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserPersistence userPersistence
           
protected  WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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_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 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_L(long groupId, long classNameId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 int countByG_C_S(long groupId, long classNameId, String structureId)
          Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?.
 int countByG_C_T(long groupId, long classNameId, String templateId)
          Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?.
 int countByG_L(long groupId, String layoutUuid)
          Returns the number of journal articles where groupId = ? and layoutUuid = ?.
 int countByG_S(long groupId, String structureId)
          Returns the number of journal articles where groupId = ? and structureId = ?.
 int countByG_ST(long groupId, int status)
          Returns the number of journal articles where groupId = ? and status = ?.
 int countByG_T(long groupId, String templateId)
          Returns the number of journal articles where groupId = ? and templateId = ?.
 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 countByR_ST(long resourcePrimKey, int status)
          Returns the number of journal articles where resourcePrimKey = ? and status = ?.
 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 countByStructureId(String structureId)
          Returns the number of journal articles where structureId = ?.
 int countByTemplateId(String templateId)
          Returns the number of journal articles where templateId = ?.
 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_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle fetchByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle fetchByC_V_First(long companyId, double version, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle fetchByC_V_Last(long companyId, double version, OrderByComparator 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 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 orderByComparator)
          Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?.
 JournalArticle fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
 JournalArticle fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
 JournalArticle fetchByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle fetchByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle fetchByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle fetchByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 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 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 orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle fetchByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle fetchByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle fetchByG_C_S(long groupId, long classNameId, String structureId)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found.
 JournalArticle fetchByG_C_S(long groupId, long classNameId, String structureId, boolean retrieveFromCache)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns null if it could not be found, optionally using the finder cache.
 JournalArticle fetchByG_C_T_First(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle fetchByG_C_T_Last(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle fetchByG_L_First(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle fetchByG_L_Last(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle fetchByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle fetchByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle fetchByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle fetchByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle fetchByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle fetchByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle fetchByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle fetchByG_UT_Last(long groupId, String urlTitle, OrderByComparator 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 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 orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle fetchByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
 JournalArticle fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
 JournalArticle fetchByLayoutUuid_First(String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
 JournalArticle fetchByLayoutUuid_Last(String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
 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.
 JournalArticle fetchByR_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle fetchByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle fetchBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
 JournalArticle fetchBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
 JournalArticle fetchByStructureId_First(String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where structureId = ?.
 JournalArticle fetchByStructureId_Last(String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where structureId = ?.
 JournalArticle fetchByTemplateId_First(String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where templateId = ?.
 JournalArticle fetchByTemplateId_Last(String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where templateId = ?.
 JournalArticle fetchByUuid_First(String uuid, OrderByComparator 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 orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
 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_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_C_T(long groupId, long classNameId, String templateId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
 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_S(long groupId, String structureId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?.
 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_T(long groupId, String templateId)
          Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?.
 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_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?.
 JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?.
 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 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 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 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 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 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_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?.
 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 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_C_T_PrevAndNext(long id, long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId)
          Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_C_T(long groupId, long classNameId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle[] filterFindByG_L_PrevAndNext(long id, long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?.
 JournalArticle[] filterFindByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId)
          Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?.
 JournalArticle[] filterFindByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?.
 JournalArticle[] filterFindByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId)
          Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end)
          Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?.
 JournalArticle[] filterFindByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?.
 JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?.
 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 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 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 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 orderByComparator)
          Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?.
protected  JournalArticle filterGetByG_A_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_A_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_C_T_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String layoutUuid, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_S_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String structureId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_T_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_UT_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByG_UT_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle filterGetByGroupId_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, OrderByComparator 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 orderByComparator)
          Returns an ordered range of all the journal articles.
 JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and status = ?.
 JournalArticle findByC_V_First(long companyId, double version, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ? and version = ?.
 JournalArticle findByC_V_Last(long companyId, double version, OrderByComparator 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 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 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 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 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ? and version = ?.
 JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where companyId = ?.
 JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where companyId = ?.
 JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where companyId = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where companyId = ?.
 JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 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 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 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 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 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 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?.
 JournalArticle findByG_C_L_First(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle findByG_C_L_Last(long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle[] findByG_C_L_PrevAndNext(long id, long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?.
 JournalArticle findByG_C_S(long groupId, long classNameId, String structureId)
          Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByG_C_T_First(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle findByG_C_T_Last(long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle[] findByG_C_T_PrevAndNext(long id, long groupId, long classNameId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId)
          Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
 List<JournalArticle> findByG_C_T(long groupId, long classNameId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?.
 JournalArticle findByG_L_First(long groupId, String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?.
 JournalArticle findByG_L_Last(long groupId, String layoutUuid, OrderByComparator 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?.
 JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?.
 List<JournalArticle> findByG_S(long groupId, String structureId)
          Returns all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and structureId = ?.
 JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and status = ?.
 JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?.
 List<JournalArticle> findByG_T(long groupId, String templateId)
          Returns all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end)
          Returns a range of all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and templateId = ?.
 JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator 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 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 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 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 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
 JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where groupId = ?.
 JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where groupId = ?.
 JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where groupId = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where groupId = ?.
 JournalArticle findByLayoutUuid_First(String layoutUuid, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where layoutUuid = ?.
 JournalArticle findByLayoutUuid_Last(String layoutUuid, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where layoutUuid = ?.
 JournalArticle[] findByLayoutUuid_PrevAndNext(long id, String layoutUuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where layoutUuid = ?.
 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_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator 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 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 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 orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?.
 JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where resourcePrimKey = ?.
 JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where smallImageId = ?.
 JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where smallImageId = ?.
 JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where smallImageId = ?.
 JournalArticle findByStructureId_First(String structureId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where structureId = ?.
 JournalArticle findByStructureId_Last(String structureId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where structureId = ?.
 JournalArticle[] findByStructureId_PrevAndNext(long id, String structureId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where structureId = ?.
 List<JournalArticle> findByStructureId(String structureId)
          Returns all the journal articles where structureId = ?.
 List<JournalArticle> findByStructureId(String structureId, int start, int end)
          Returns a range of all the journal articles where structureId = ?.
 List<JournalArticle> findByStructureId(String structureId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where structureId = ?.
 JournalArticle findByTemplateId_First(String templateId, OrderByComparator orderByComparator)
          Returns the first journal article in the ordered set where templateId = ?.
 JournalArticle findByTemplateId_Last(String templateId, OrderByComparator orderByComparator)
          Returns the last journal article in the ordered set where templateId = ?.
 JournalArticle[] findByTemplateId_PrevAndNext(long id, String templateId, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where templateId = ?.
 List<JournalArticle> findByTemplateId(String templateId)
          Returns all the journal articles where templateId = ?.
 List<JournalArticle> findByTemplateId(String templateId, int start, int end)
          Returns a range of all the journal articles where templateId = ?.
 List<JournalArticle> findByTemplateId(String templateId, int start, int end, OrderByComparator orderByComparator)
          Returns an ordered range of all the journal articles where templateId = ?.
 JournalArticle findByUuid_First(String uuid, OrderByComparator 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 orderByComparator)
          Returns the last journal article in the ordered set where uuid = ?.
 JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator)
          Returns the journal articles before and after the current journal article in the ordered set where uuid = ?.
 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 orderByComparator)
          Returns an ordered range of all the journal articles where uuid = ?.
protected  JournalArticle getByC_ST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByC_V_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, double version, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByC_V_ST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, double version, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByCompanyId_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_A_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_A_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_C_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, long classPK, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String layoutUuid, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_C_T_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, long classNameId, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_L_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String layoutUuid, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_S_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String structureId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_T_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_UT_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByG_UT_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByGroupId_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByLayoutUuid_PrevAndNext(Session session, JournalArticle journalArticle, String layoutUuid, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByR_ST_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, int status, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByResourcePrimKey_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getBySmallImageId_PrevAndNext(Session session, JournalArticle journalArticle, long smallImageId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByStructureId_PrevAndNext(Session session, JournalArticle journalArticle, String structureId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByTemplateId_PrevAndNext(Session session, JournalArticle journalArticle, String templateId, OrderByComparator orderByComparator, boolean previous)
           
protected  JournalArticle getByUuid_PrevAndNext(Session session, JournalArticle journalArticle, String uuid, OrderByComparator 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_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 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.
 void removeByG_C_L(long groupId, long classNameId, String layoutUuid)
          Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database.
 JournalArticle removeByG_C_S(long groupId, long classNameId, String structureId)
          Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database.
 void removeByG_C_T(long groupId, long classNameId, String templateId)
          Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database.
 void removeByG_L(long groupId, String layoutUuid)
          Removes all the journal articles where groupId = ? and layoutUuid = ? from the database.
 void removeByG_S(long groupId, String structureId)
          Removes all the journal articles where groupId = ? and structureId = ? from the database.
 void removeByG_ST(long groupId, int status)
          Removes all the journal articles where groupId = ? and status = ? from the database.
 void removeByG_T(long groupId, String templateId)
          Removes all the journal articles where groupId = ? and templateId = ? 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 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 removeByStructureId(String structureId)
          Removes all the journal articles where structureId = ? from the database.
 void removeByTemplateId(String templateId)
          Removes all the journal articles where templateId = ? 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, boolean merge)
          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, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, 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_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_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_STRUCTUREID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_COUNT_BY_STRUCTUREID

public static final FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID

FINDER_PATH_WITH_PAGINATION_FIND_BY_TEMPLATEID

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TEMPLATEID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TEMPLATEID

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TEMPLATEID

FINDER_PATH_COUNT_BY_TEMPLATEID

public static final FinderPath FINDER_PATH_COUNT_BY_TEMPLATEID

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

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_S

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_T

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

public static final FinderPath FINDER_PATH_FETCH_BY_G_C_S

FINDER_PATH_COUNT_BY_G_C_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_S

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T

public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_T

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T

public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_T

FINDER_PATH_COUNT_BY_G_C_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_C_T

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

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

journalArticlePersistence

@BeanReference(type=JournalArticlePersistence.class)
protected JournalArticlePersistence journalArticlePersistence

journalArticleImagePersistence

@BeanReference(type=JournalArticleImagePersistence.class)
protected JournalArticleImagePersistence journalArticleImagePersistence

journalArticleResourcePersistence

@BeanReference(type=JournalArticleResourcePersistence.class)
protected JournalArticleResourcePersistence journalArticleResourcePersistence

journalContentSearchPersistence

@BeanReference(type=JournalContentSearchPersistence.class)
protected JournalContentSearchPersistence journalContentSearchPersistence

journalFeedPersistence

@BeanReference(type=JournalFeedPersistence.class)
protected JournalFeedPersistence journalFeedPersistence

journalStructurePersistence

@BeanReference(type=JournalStructurePersistence.class)
protected JournalStructurePersistence journalStructurePersistence

journalTemplatePersistence

@BeanReference(type=JournalTemplatePersistence.class)
protected JournalTemplatePersistence journalTemplatePersistence

companyPersistence

@BeanReference(type=CompanyPersistence.class)
protected CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

portletPreferencesPersistence

@BeanReference(type=PortletPreferencesPersistence.class)
protected PortletPreferencesPersistence portletPreferencesPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

workflowDefinitionLinkPersistence

@BeanReference(type=WorkflowDefinitionLinkPersistence.class)
protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetCategoryPersistence

@BeanReference(type=AssetCategoryPersistence.class)
protected AssetCategoryPersistence assetCategoryPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=AssetLinkPersistence.class)
protected AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=AssetTagPersistence.class)
protected AssetTagPersistence assetTagPersistence

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence
Constructor Detail

JournalArticlePersistenceImpl

public JournalArticlePersistenceImpl()
Method Detail

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,
                             SystemException
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
SystemException - if a system exception occurred

remove

public JournalArticle remove(Serializable primaryKey)
                      throws NoSuchArticleException,
                             SystemException
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
SystemException - if a system exception occurred

removeImpl

protected JournalArticle removeImpl(JournalArticle journalArticle)
                             throws SystemException
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
Throws:
SystemException - if a system exception occurred

updateImpl

public JournalArticle updateImpl(JournalArticle journalArticle,
                                 boolean merge)
                          throws SystemException
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
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected JournalArticle toUnwrappedModel(JournalArticle journalArticle)

findByPrimaryKey

public JournalArticle findByPrimaryKey(Serializable primaryKey)
                                throws NoSuchModelException,
                                       SystemException
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:
NoSuchModelException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public JournalArticle findByPrimaryKey(long id)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(Serializable primaryKey)
                                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(long id)
                                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid

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

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByUuid_First

public JournalArticle findByUuid_First(String uuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByUuid_First

public JournalArticle fetchByUuid_First(String uuid,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_Last

public JournalArticle findByUuid_Last(String uuid,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByUuid_Last

public JournalArticle fetchByUuid_Last(String uuid,
                                       OrderByComparator orderByComparator)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByUuid_PrevAndNext

public JournalArticle[] findByUuid_PrevAndNext(long id,
                                               String uuid,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

getByUuid_PrevAndNext

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

findByUUID_G

public JournalArticle findByUUID_G(String uuid,
                                   long groupId)
                            throws NoSuchArticleException,
                                   SystemException
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
SystemException - if a system exception occurred

fetchByUUID_G

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

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
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

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

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
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_First

public JournalArticle findByResourcePrimKey_First(long resourcePrimKey,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchArticleException,
                                                  SystemException
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
SystemException - if a system exception occurred

fetchByResourcePrimKey_First

public JournalArticle fetchByResourcePrimKey_First(long resourcePrimKey,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_Last

public JournalArticle findByResourcePrimKey_Last(long resourcePrimKey,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchArticleException,
                                                 SystemException
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
SystemException - if a system exception occurred

fetchByResourcePrimKey_Last

public JournalArticle fetchByResourcePrimKey_Last(long resourcePrimKey,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_PrevAndNext

public JournalArticle[] findByResourcePrimKey_PrevAndNext(long id,
                                                          long resourcePrimKey,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchArticleException,
                                                          SystemException
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
SystemException - if a system exception occurred

getByResourcePrimKey_PrevAndNext

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

findByGroupId

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

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByGroupId_First

public JournalArticle findByGroupId_First(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchArticleException,
                                          SystemException
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
SystemException - if a system exception occurred

fetchByGroupId_First

public JournalArticle fetchByGroupId_First(long groupId,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByGroupId_Last

public JournalArticle findByGroupId_Last(long groupId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchArticleException,
                                         SystemException
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
SystemException - if a system exception occurred

fetchByGroupId_Last

public JournalArticle fetchByGroupId_Last(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public JournalArticle[] findByGroupId_PrevAndNext(long id,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchArticleException,
                                                  SystemException
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
SystemException - if a system exception occurred

getByGroupId_PrevAndNext

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

filterFindByGroupId

public List<JournalArticle> filterFindByGroupId(long groupId)
                                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public JournalArticle[] filterFindByGroupId_PrevAndNext(long id,
                                                        long groupId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchArticleException,
                                                        SystemException
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
SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

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

findByCompanyId

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

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

public JournalArticle findByCompanyId_First(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchArticleException,
                                            SystemException
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
SystemException - if a system exception occurred

fetchByCompanyId_First

public JournalArticle fetchByCompanyId_First(long companyId,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByCompanyId_Last

public JournalArticle findByCompanyId_Last(long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchArticleException,
                                           SystemException
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
SystemException - if a system exception occurred

fetchByCompanyId_Last

public JournalArticle fetchByCompanyId_Last(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public JournalArticle[] findByCompanyId_PrevAndNext(long id,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchArticleException,
                                                    SystemException
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
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

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

findByStructureId

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

Specified by:
findByStructureId in interface JournalArticlePersistence
Parameters:
structureId - the structure ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByStructureId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByStructureId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByStructureId_First

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

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

fetchByStructureId_First

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

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

findByStructureId_Last

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

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

fetchByStructureId_Last

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

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

findByStructureId_PrevAndNext

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

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

getByStructureId_PrevAndNext

protected JournalArticle getByStructureId_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      String structureId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByTemplateId

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

Specified by:
findByTemplateId in interface JournalArticlePersistence
Parameters:
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByTemplateId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByTemplateId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByTemplateId_First

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

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

fetchByTemplateId_First

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

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

findByTemplateId_Last

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

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

fetchByTemplateId_Last

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

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

findByTemplateId_PrevAndNext

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

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

getByTemplateId_PrevAndNext

protected JournalArticle getByTemplateId_PrevAndNext(Session session,
                                                     JournalArticle journalArticle,
                                                     String templateId,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

findByLayoutUuid

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

Specified by:
findByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByLayoutUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByLayoutUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_First

public JournalArticle findByLayoutUuid_First(String layoutUuid,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchArticleException,
                                             SystemException
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
SystemException - if a system exception occurred

fetchByLayoutUuid_First

public JournalArticle fetchByLayoutUuid_First(String layoutUuid,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_Last

public JournalArticle findByLayoutUuid_Last(String layoutUuid,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchArticleException,
                                            SystemException
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
SystemException - if a system exception occurred

fetchByLayoutUuid_Last

public JournalArticle fetchByLayoutUuid_Last(String layoutUuid,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByLayoutUuid_PrevAndNext

public JournalArticle[] findByLayoutUuid_PrevAndNext(long id,
                                                     String layoutUuid,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchArticleException,
                                                     SystemException
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
SystemException - if a system exception occurred

getByLayoutUuid_PrevAndNext

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

findBySmallImageId

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

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findBySmallImageId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findBySmallImageId_First

public JournalArticle findBySmallImageId_First(long smallImageId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

fetchBySmallImageId_First

public JournalArticle fetchBySmallImageId_First(long smallImageId,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

findBySmallImageId_Last

public JournalArticle findBySmallImageId_Last(long smallImageId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchArticleException,
                                              SystemException
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
SystemException - if a system exception occurred

fetchBySmallImageId_Last

public JournalArticle fetchBySmallImageId_Last(long smallImageId,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
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
Throws:
SystemException - if a system exception occurred

findBySmallImageId_PrevAndNext

public JournalArticle[] findBySmallImageId_PrevAndNext(long id,
                                                       long smallImageId,
                                                       OrderByComparator orderByComparator)
                                                throws NoSuchArticleException,
                                                       SystemException
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
SystemException - if a system exception occurred

getBySmallImageId_PrevAndNext

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

findByR_ST

public List<JournalArticle> findByR_ST(long resourcePrimKey,
                                       int status)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByR_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByR_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByR_ST_First

public JournalArticle findByR_ST_First(long resourcePrimKey,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByR_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByR_ST_Last

public JournalArticle findByR_ST_Last(long resourcePrimKey,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByR_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByR_ST_PrevAndNext

public JournalArticle[] findByR_ST_PrevAndNext(long id,
                                               long resourcePrimKey,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

getByR_ST_PrevAndNext

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

findByG_A

public List<JournalArticle> findByG_A(long groupId,
                                      String articleId)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A_First

public JournalArticle findByG_A_First(long groupId,
                                      String articleId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByG_A_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_A_Last

public JournalArticle findByG_A_Last(long groupId,
                                     String articleId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchArticleException,
                                     SystemException
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
SystemException - if a system exception occurred

fetchByG_A_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_A_PrevAndNext

public JournalArticle[] findByG_A_PrevAndNext(long id,
                                              long groupId,
                                              String articleId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchArticleException,
                                              SystemException
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
SystemException - if a system exception occurred

getByG_A_PrevAndNext

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

filterFindByG_A

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_PrevAndNext

public JournalArticle[] filterFindByG_A_PrevAndNext(long id,
                                                    long groupId,
                                                    String articleId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchArticleException,
                                                    SystemException
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
SystemException - if a system exception occurred

filterGetByG_A_PrevAndNext

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

findByG_UT

public List<JournalArticle> findByG_UT(long groupId,
                                       String urlTitle)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_UT_First

public JournalArticle findByG_UT_First(long groupId,
                                       String urlTitle,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByG_UT_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_UT_Last

public JournalArticle findByG_UT_Last(long groupId,
                                      String urlTitle,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByG_UT_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_UT_PrevAndNext

public JournalArticle[] findByG_UT_PrevAndNext(long id,
                                               long groupId,
                                               String urlTitle,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

getByG_UT_PrevAndNext

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

filterFindByG_UT

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_PrevAndNext

public JournalArticle[] filterFindByG_UT_PrevAndNext(long id,
                                                     long groupId,
                                                     String urlTitle,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchArticleException,
                                                     SystemException
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
SystemException - if a system exception occurred

filterGetByG_UT_PrevAndNext

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

findByG_S

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

Specified by:
findByG_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_S_First

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

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

fetchByG_S_First

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

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

findByG_S_Last

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

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

fetchByG_S_Last

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

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

findByG_S_PrevAndNext

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

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

getByG_S_PrevAndNext

protected JournalArticle getByG_S_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              String structureId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_S

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

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

filterFindByG_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_S

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_S_PrevAndNext

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

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

filterGetByG_S_PrevAndNext

protected JournalArticle filterGetByG_S_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    String structureId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_T

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

Specified by:
findByG_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_T_First

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

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

fetchByG_T_First

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

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

findByG_T_Last

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

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

fetchByG_T_Last

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

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

findByG_T_PrevAndNext

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

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

getByG_T_PrevAndNext

protected JournalArticle getByG_T_PrevAndNext(Session session,
                                              JournalArticle journalArticle,
                                              long groupId,
                                              String templateId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_T

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

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

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_T_PrevAndNext

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

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

filterGetByG_T_PrevAndNext

protected JournalArticle filterGetByG_T_PrevAndNext(Session session,
                                                    JournalArticle journalArticle,
                                                    long groupId,
                                                    String templateId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_L

public List<JournalArticle> findByG_L(long groupId,
                                      String layoutUuid)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_L_First

public JournalArticle findByG_L_First(long groupId,
                                      String layoutUuid,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByG_L_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_L_Last

public JournalArticle findByG_L_Last(long groupId,
                                     String layoutUuid,
                                     OrderByComparator orderByComparator)
                              throws NoSuchArticleException,
                                     SystemException
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
SystemException - if a system exception occurred

fetchByG_L_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_L_PrevAndNext

public JournalArticle[] findByG_L_PrevAndNext(long id,
                                              long groupId,
                                              String layoutUuid,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchArticleException,
                                              SystemException
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
SystemException - if a system exception occurred

getByG_L_PrevAndNext

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

filterFindByG_L

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_L_PrevAndNext

public JournalArticle[] filterFindByG_L_PrevAndNext(long id,
                                                    long groupId,
                                                    String layoutUuid,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchArticleException,
                                                    SystemException
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
SystemException - if a system exception occurred

filterGetByG_L_PrevAndNext

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

findByG_ST

public List<JournalArticle> findByG_ST(long groupId,
                                       int status)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_ST_First

public JournalArticle findByG_ST_First(long groupId,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByG_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_ST_Last

public JournalArticle findByG_ST_Last(long groupId,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByG_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_ST_PrevAndNext

public JournalArticle[] findByG_ST_PrevAndNext(long id,
                                               long groupId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

getByG_ST_PrevAndNext

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

filterFindByG_ST

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_ST_PrevAndNext

public JournalArticle[] filterFindByG_ST_PrevAndNext(long id,
                                                     long groupId,
                                                     int status,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchArticleException,
                                                     SystemException
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
SystemException - if a system exception occurred

filterGetByG_ST_PrevAndNext

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

findByC_V

public List<JournalArticle> findByC_V(long companyId,
                                      double version)
                               throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByC_V

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_V

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_V_First

public JournalArticle findByC_V_First(long companyId,
                                      double version,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByC_V_First

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

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
Throws:
SystemException - if a system exception occurred

findByC_V_Last

public JournalArticle findByC_V_Last(long companyId,
                                     double version,
                                     OrderByComparator orderByComparator)
                              throws NoSuchArticleException,
                                     SystemException
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
SystemException - if a system exception occurred

fetchByC_V_Last

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

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
Throws:
SystemException - if a system exception occurred

findByC_V_PrevAndNext

public JournalArticle[] findByC_V_PrevAndNext(long id,
                                              long companyId,
                                              double version,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchArticleException,
                                              SystemException
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
SystemException - if a system exception occurred

getByC_V_PrevAndNext

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

findByC_ST

public List<JournalArticle> findByC_ST(long companyId,
                                       int status)
                                throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByC_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_ST_First

public JournalArticle findByC_ST_First(long companyId,
                                       int status,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByC_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByC_ST_Last

public JournalArticle findByC_ST_Last(long companyId,
                                      int status,
                                      OrderByComparator orderByComparator)
                               throws NoSuchArticleException,
                                      SystemException
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
SystemException - if a system exception occurred

fetchByC_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByC_ST_PrevAndNext

public JournalArticle[] findByC_ST_PrevAndNext(long id,
                                               long companyId,
                                               int status,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchArticleException,
                                               SystemException
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
SystemException - if a system exception occurred

getByC_ST_PrevAndNext

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

findByG_C_C

public List<JournalArticle> findByG_C_C(long groupId,
                                        long classNameId,
                                        long classPK)
                                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_C_C_First

public JournalArticle findByG_C_C_First(long groupId,
                                        long classNameId,
                                        long classPK,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchArticleException,
                                        SystemException
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
SystemException - if a system exception occurred

fetchByG_C_C_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_C_C_Last

public JournalArticle findByG_C_C_Last(long groupId,
                                       long classNameId,
                                       long classPK,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByG_C_C_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_C_C_PrevAndNext

public JournalArticle[] findByG_C_C_PrevAndNext(long id,
                                                long groupId,
                                                long classNameId,
                                                long classPK,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchArticleException,
                                                SystemException
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
SystemException - if a system exception occurred

getByG_C_C_PrevAndNext

protected JournalArticle getByG_C_C_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long classNameId,
                                                long classPK,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_C_C

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_C_PrevAndNext

public JournalArticle[] filterFindByG_C_C_PrevAndNext(long id,
                                                      long groupId,
                                                      long classNameId,
                                                      long classPK,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchArticleException,
                                                      SystemException
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
SystemException - if a system exception occurred

filterGetByG_C_C_PrevAndNext

protected JournalArticle filterGetByG_C_C_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long classNameId,
                                                      long classPK,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByG_C_S

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

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

fetchByG_C_S

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

Specified by:
fetchByG_C_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_C_S

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

Specified by:
fetchByG_C_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_C_T

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

Specified by:
findByG_C_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_C_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_C_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

findByG_C_T_First

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

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

fetchByG_C_T_First

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

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

findByG_C_T_Last

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

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

fetchByG_C_T_Last

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

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

findByG_C_T_PrevAndNext

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

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

getByG_C_T_PrevAndNext

protected JournalArticle getByG_C_T_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long classNameId,
                                                String templateId,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_C_T

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

Specified by:
filterFindByG_C_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_C_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_C_T

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

filterFindByG_C_T_PrevAndNext

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

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

filterGetByG_C_T_PrevAndNext

protected JournalArticle filterGetByG_C_T_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long classNameId,
                                                      String templateId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByG_C_L

public List<JournalArticle> findByG_C_L(long groupId,
                                        long classNameId,
                                        String layoutUuid)
                                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_C_L_First

public JournalArticle findByG_C_L_First(long groupId,
                                        long classNameId,
                                        String layoutUuid,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchArticleException,
                                        SystemException
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
SystemException - if a system exception occurred

fetchByG_C_L_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_C_L_Last

public JournalArticle findByG_C_L_Last(long groupId,
                                       long classNameId,
                                       String layoutUuid,
                                       OrderByComparator orderByComparator)
                                throws NoSuchArticleException,
                                       SystemException
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
SystemException - if a system exception occurred

fetchByG_C_L_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_C_L_PrevAndNext

public JournalArticle[] findByG_C_L_PrevAndNext(long id,
                                                long groupId,
                                                long classNameId,
                                                String layoutUuid,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchArticleException,
                                                SystemException
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
SystemException - if a system exception occurred

getByG_C_L_PrevAndNext

protected JournalArticle getByG_C_L_PrevAndNext(Session session,
                                                JournalArticle journalArticle,
                                                long groupId,
                                                long classNameId,
                                                String layoutUuid,
                                                OrderByComparator orderByComparator,
                                                boolean previous)

filterFindByG_C_L

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_C_L_PrevAndNext

public JournalArticle[] filterFindByG_C_L_PrevAndNext(long id,
                                                      long groupId,
                                                      long classNameId,
                                                      String layoutUuid,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchArticleException,
                                                      SystemException
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
SystemException - if a system exception occurred

filterGetByG_C_L_PrevAndNext

protected JournalArticle filterGetByG_C_L_PrevAndNext(Session session,
                                                      JournalArticle journalArticle,
                                                      long groupId,
                                                      long classNameId,
                                                      String layoutUuid,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

findByG_A_V

public JournalArticle findByG_A_V(long groupId,
                                  String articleId,
                                  double version)
                           throws NoSuchArticleException,
                                  SystemException
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
SystemException - if a system exception occurred

fetchByG_A_V

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

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
Throws:
SystemException - if a system exception occurred

fetchByG_A_V

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

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int status)
                                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST_First

public JournalArticle findByG_A_ST_First(long groupId,
                                         String articleId,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchArticleException,
                                         SystemException
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
SystemException - if a system exception occurred

fetchByG_A_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST_Last

public JournalArticle findByG_A_ST_Last(long groupId,
                                        String articleId,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchArticleException,
                                        SystemException
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
SystemException - if a system exception occurred

fetchByG_A_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST_PrevAndNext

public JournalArticle[] findByG_A_ST_PrevAndNext(long id,
                                                 long groupId,
                                                 String articleId,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchArticleException,
                                                 SystemException
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
SystemException - if a system exception occurred

getByG_A_ST_PrevAndNext

protected JournalArticle getByG_A_ST_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 long groupId,
                                                 String articleId,
                                                 int status,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int[] statuses)
                                  throws SystemException
Returns all the journal articles where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST

public List<JournalArticle> findByG_A_ST(long groupId,
                                         String articleId,
                                         int[] statuses,
                                         int start,
                                         int end)
                                  throws SystemException
Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST_PrevAndNext

public JournalArticle[] filterFindByG_A_ST_PrevAndNext(long id,
                                                       long groupId,
                                                       String articleId,
                                                       int status,
                                                       OrderByComparator orderByComparator)
                                                throws NoSuchArticleException,
                                                       SystemException
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
SystemException - if a system exception occurred

filterGetByG_A_ST_PrevAndNext

protected JournalArticle filterGetByG_A_ST_PrevAndNext(Session session,
                                                       JournalArticle journalArticle,
                                                       long groupId,
                                                       String articleId,
                                                       int status,
                                                       OrderByComparator orderByComparator,
                                                       boolean previous)

filterFindByG_A_ST

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public List<JournalArticle> filterFindByG_A_ST(long groupId,
                                               String articleId,
                                               int[] statuses,
                                               int start,
                                               int end)
                                        throws SystemException
Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public List<JournalArticle> filterFindByG_A_ST(long groupId,
                                               String articleId,
                                               int[] statuses,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

public List<JournalArticle> findByG_UT_ST(long groupId,
                                          String urlTitle,
                                          int status)
                                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_First

public JournalArticle findByG_UT_ST_First(long groupId,
                                          String urlTitle,
                                          int status,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchArticleException,
                                          SystemException
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
SystemException - if a system exception occurred

fetchByG_UT_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_Last

public JournalArticle findByG_UT_ST_Last(long groupId,
                                         String urlTitle,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchArticleException,
                                         SystemException
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
SystemException - if a system exception occurred

fetchByG_UT_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_PrevAndNext

public JournalArticle[] findByG_UT_ST_PrevAndNext(long id,
                                                  long groupId,
                                                  String urlTitle,
                                                  int status,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchArticleException,
                                                  SystemException
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
SystemException - if a system exception occurred

getByG_UT_ST_PrevAndNext

protected JournalArticle getByG_UT_ST_PrevAndNext(Session session,
                                                  JournalArticle journalArticle,
                                                  long groupId,
                                                  String urlTitle,
                                                  int status,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByG_UT_ST

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

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST_PrevAndNext

public JournalArticle[] filterFindByG_UT_ST_PrevAndNext(long id,
                                                        long groupId,
                                                        String urlTitle,
                                                        int status,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchArticleException,
                                                        SystemException
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
SystemException - if a system exception occurred

filterGetByG_UT_ST_PrevAndNext

protected JournalArticle filterGetByG_UT_ST_PrevAndNext(Session session,
                                                        JournalArticle journalArticle,
                                                        long groupId,
                                                        String urlTitle,
                                                        int status,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

findByC_V_ST

public List<JournalArticle> findByC_V_ST(long companyId,
                                         double version,
                                         int status)
                                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

findByC_V_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_V_ST

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findByC_V_ST_First

public JournalArticle findByC_V_ST_First(long companyId,
                                         double version,
                                         int status,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchArticleException,
                                         SystemException
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
SystemException - if a system exception occurred

fetchByC_V_ST_First

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

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
Throws:
SystemException - if a system exception occurred

findByC_V_ST_Last

public JournalArticle findByC_V_ST_Last(long companyId,
                                        double version,
                                        int status,
                                        OrderByComparator orderByComparator)
                                 throws NoSuchArticleException,
                                        SystemException
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
SystemException - if a system exception occurred

fetchByC_V_ST_Last

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

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
Throws:
SystemException - if a system exception occurred

findByC_V_ST_PrevAndNext

public JournalArticle[] findByC_V_ST_PrevAndNext(long id,
                                                 long companyId,
                                                 double version,
                                                 int status,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchArticleException,
                                                 SystemException
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
SystemException - if a system exception occurred

getByC_V_ST_PrevAndNext

protected JournalArticle getByC_V_ST_PrevAndNext(Session session,
                                                 JournalArticle journalArticle,
                                                 long companyId,
                                                 double version,
                                                 int status,
                                                 OrderByComparator orderByComparator,
                                                 boolean previous)

findAll

public List<JournalArticle> findAll()
                             throws SystemException
Returns all the journal articles.

Specified by:
findAll in interface JournalArticlePersistence
Returns:
the journal articles
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalArticle> findAll(int start,
                                    int end)
                             throws SystemException
Returns a range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalArticle> findAll(int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                             throws SystemException
Returns an ordered range of all the journal articles.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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
Throws:
SystemException - if a system exception occurred

removeByUuid

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

Specified by:
removeByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid
Throws:
SystemException - if a system exception occurred

removeByUUID_G

public JournalArticle removeByUUID_G(String uuid,
                                     long groupId)
                              throws NoSuchArticleException,
                                     SystemException
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:
SystemException - if a system exception occurred
NoSuchArticleException

removeByResourcePrimKey

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

Specified by:
removeByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key
Throws:
SystemException - if a system exception occurred

removeByGroupId

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

Specified by:
removeByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group ID
Throws:
SystemException - if a system exception occurred

removeByCompanyId

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

Specified by:
removeByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company ID
Throws:
SystemException - if a system exception occurred

removeByStructureId

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

Specified by:
removeByStructureId in interface JournalArticlePersistence
Parameters:
structureId - the structure ID
Throws:
SystemException - if a system exception occurred

removeByTemplateId

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

Specified by:
removeByTemplateId in interface JournalArticlePersistence
Parameters:
templateId - the template ID
Throws:
SystemException - if a system exception occurred

removeByLayoutUuid

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

Specified by:
removeByLayoutUuid in interface JournalArticlePersistence
Parameters:
layoutUuid - the layout uuid
Throws:
SystemException - if a system exception occurred

removeBySmallImageId

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

Specified by:
removeBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image ID
Throws:
SystemException - if a system exception occurred

removeByR_ST

public void removeByR_ST(long resourcePrimKey,
                         int status)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByG_A

public void removeByG_A(long groupId,
                        String articleId)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByG_UT

public void removeByG_UT(long groupId,
                         String urlTitle)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByG_S

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

Specified by:
removeByG_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
structureId - the structure ID
Throws:
SystemException - if a system exception occurred

removeByG_T

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

Specified by:
removeByG_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
templateId - the template ID
Throws:
SystemException - if a system exception occurred

removeByG_L

public void removeByG_L(long groupId,
                        String layoutUuid)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByG_ST

public void removeByG_ST(long groupId,
                         int status)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByC_V

public void removeByC_V(long companyId,
                        double version)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByC_ST

public void removeByC_ST(long companyId,
                         int status)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

removeByG_C_C

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

Specified by:
removeByG_C_C in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
classPK - the class p k
Throws:
SystemException - if a system exception occurred

removeByG_C_S

public JournalArticle removeByG_C_S(long groupId,
                                    long classNameId,
                                    String structureId)
                             throws NoSuchArticleException,
                                    SystemException
Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database.

Specified by:
removeByG_C_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the journal article that was removed
Throws:
SystemException - if a system exception occurred
NoSuchArticleException

removeByG_C_T

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

Specified by:
removeByG_C_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Throws:
SystemException - if a system exception occurred

removeByG_C_L

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

Specified by:
removeByG_C_L in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
layoutUuid - the layout uuid
Throws:
SystemException - if a system exception occurred

removeByG_A_V

public JournalArticle removeByG_A_V(long groupId,
                                    String articleId,
                                    double version)
                             throws NoSuchArticleException,
                                    SystemException
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:
SystemException - if a system exception occurred
NoSuchArticleException

removeByG_A_ST

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

Specified by:
removeByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
articleId - the article ID
status - the status
Throws:
SystemException - if a system exception occurred

removeByG_UT_ST

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

Specified by:
removeByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group ID
urlTitle - the url title
status - the status
Throws:
SystemException - if a system exception occurred

removeByC_V_ST

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

Specified by:
removeByC_V_ST in interface JournalArticlePersistence
Parameters:
companyId - the company ID
version - the version
status - the status
Throws:
SystemException - if a system exception occurred

removeAll

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

Specified by:
removeAll in interface JournalArticlePersistence
Throws:
SystemException - if a system exception occurred

countByUuid

public int countByUuid(String uuid)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByUUID_G

public int countByUUID_G(String uuid,
                         long groupId)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByResourcePrimKey

public int countByResourcePrimKey(long resourcePrimKey)
                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByStructureId

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

Specified by:
countByStructureId in interface JournalArticlePersistence
Parameters:
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByTemplateId

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

Specified by:
countByTemplateId in interface JournalArticlePersistence
Parameters:
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByLayoutUuid

public int countByLayoutUuid(String layoutUuid)
                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

countBySmallImageId

public int countBySmallImageId(long smallImageId)
                        throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByR_ST

public int countByR_ST(long resourcePrimKey,
                       int status)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByG_A

public int countByG_A(long groupId,
                      String articleId)
               throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_A

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

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
Throws:
SystemException - if a system exception occurred

countByG_UT

public int countByG_UT(long groupId,
                       String urlTitle)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_UT

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

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
Throws:
SystemException - if a system exception occurred

countByG_S

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

Specified by:
countByG_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_S

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

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

countByG_T

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

Specified by:
countByG_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_T

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

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

countByG_L

public int countByG_L(long groupId,
                      String layoutUuid)
               throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_L

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

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
Throws:
SystemException - if a system exception occurred

countByG_ST

public int countByG_ST(long groupId,
                       int status)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_ST

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

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
Throws:
SystemException - if a system exception occurred

countByC_V

public int countByC_V(long companyId,
                      double version)
               throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByC_ST

public int countByC_ST(long companyId,
                       int status)
                throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByG_C_C

public int countByG_C_C(long groupId,
                        long classNameId,
                        long classPK)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_C_C

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

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
Throws:
SystemException - if a system exception occurred

countByG_C_S

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

Specified by:
countByG_C_S in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
structureId - the structure ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByG_C_T

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

Specified by:
countByG_C_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_C_T

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

Specified by:
filterCountByG_C_T in interface JournalArticlePersistence
Parameters:
groupId - the group ID
classNameId - the class name ID
templateId - the template ID
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_C_L

public int countByG_C_L(long groupId,
                        long classNameId,
                        String layoutUuid)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_C_L

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

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
Throws:
SystemException - if a system exception occurred

countByG_A_V

public int countByG_A_V(long groupId,
                        String articleId,
                        double version)
                 throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByG_A_ST

public int countByG_A_ST(long groupId,
                         String articleId,
                         int status)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

countByG_A_ST

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

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
Throws:
SystemException - if a system exception occurred

filterCountByG_A_ST

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

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
Throws:
SystemException - if a system exception occurred

filterCountByG_A_ST

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

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
Throws:
SystemException - if a system exception occurred

countByG_UT_ST

public int countByG_UT_ST(long groupId,
                          String urlTitle,
                          int status)
                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

filterCountByG_UT_ST

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

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
Throws:
SystemException - if a system exception occurred

countByC_V_ST

public int countByC_V_ST(long companyId,
                         double version,
                         int status)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Returns the number of journal articles.

Specified by:
countAll in interface JournalArticlePersistence
Returns:
the number of journal articles
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the journal article persistence.


destroy

public void destroy()

Liferay 6.1.2-ce-ga3