Liferay 6.0.5

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.

Never modify or reference this class directly. Always use JournalArticleUtil to access the journal article persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

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 is generated.

Field Summary
protected  AssetCategoryPersistence assetCategoryPersistence
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetTagPersistence assetTagPersistence
           
protected  CompanyPersistence companyPersistence
           
protected  ExpandoValuePersistence expandoValuePersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_C_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_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_R_ST
           
static FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID
           
static FinderPath FINDER_PATH_COUNT_BY_UUID_G
           
static FinderPath FINDER_PATH_FETCH_BY_G_A_V
           
static FinderPath FINDER_PATH_FETCH_BY_UUID_G
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_C_ST
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_A
           
static FinderPath FINDER_PATH_FIND_BY_G_A_ST
           
static FinderPath FINDER_PATH_FIND_BY_G_S
           
static FinderPath FINDER_PATH_FIND_BY_G_ST
           
static FinderPath FINDER_PATH_FIND_BY_G_T
           
static FinderPath FINDER_PATH_FIND_BY_G_UT
           
static FinderPath FINDER_PATH_FIND_BY_G_UT_ST
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_BY_R_ST
           
static FinderPath FINDER_PATH_FIND_BY_RESOURCEPRIMKEY
           
static FinderPath FINDER_PATH_FIND_BY_SMALLIMAGEID
           
static FinderPath FINDER_PATH_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  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, 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.
 void clearCache()
          Clears the cache for all journal articles.
 void clearCache(JournalArticle journalArticle)
          Clears the cache for the journal article.
 int countAll()
          Counts all the journal articles.
 int countByC_ST(long companyId, int status)
          Counts all the journal articles where companyId = ? and status = ?.
 int countByCompanyId(long companyId)
          Counts all the journal articles where companyId = ?.
 int countByG_A_ST(long groupId, String articleId, int status)
          Counts all the journal articles where groupId = ? and articleId = ? and status = ?.
 int countByG_A_V(long groupId, String articleId, double version)
          Counts all the journal articles where groupId = ? and articleId = ? and version = ?.
 int countByG_A(long groupId, String articleId)
          Counts all the journal articles where groupId = ? and articleId = ?.
 int countByG_S(long groupId, String structureId)
          Counts all the journal articles where groupId = ? and structureId = ?.
 int countByG_ST(long groupId, int status)
          Counts all the journal articles where groupId = ? and status = ?.
 int countByG_T(long groupId, String templateId)
          Counts all the journal articles where groupId = ? and templateId = ?.
 int countByG_UT_ST(long groupId, String urlTitle, int status)
          Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 int countByG_UT(long groupId, String urlTitle)
          Counts all the journal articles where groupId = ? and urlTitle = ?.
 int countByGroupId(long groupId)
          Counts all the journal articles where groupId = ?.
 int countByR_ST(long resourcePrimKey, int status)
          Counts all the journal articles where resourcePrimKey = ? and status = ?.
 int countByResourcePrimKey(long resourcePrimKey)
          Counts all the journal articles where resourcePrimKey = ?.
 int countBySmallImageId(long smallImageId)
          Counts all the journal articles where smallImageId = ?.
 int countByUUID_G(String uuid, long groupId)
          Counts all the journal articles where uuid = ? and groupId = ?.
 int countByUuid(String uuid)
          Counts all the journal articles where uuid = ?.
 JournalArticle create(long id)
          Creates a new journal article with the primary key.
 JournalArticle fetchByG_A_V(long groupId, String articleId, double version)
          Finds the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found.
 JournalArticle fetchByG_A_V(long groupId, String articleId, double version, boolean retrieveFromCache)
          Finds the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
 JournalArticle fetchByPrimaryKey(long id)
          Finds the journal article with the primary key or returns null if it could not be found.
 JournalArticle fetchByPrimaryKey(Serializable primaryKey)
          Finds the journal article with the primary key or returns null if it could not be found.
 JournalArticle fetchByUUID_G(String uuid, long groupId)
          Finds 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)
          Finds the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
 int filterCountByG_A_ST(long groupId, String articleId, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?.
 int filterCountByG_A_V(long groupId, String articleId, double version)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and version = ?.
 int filterCountByG_A(long groupId, String articleId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?.
 int filterCountByG_S(long groupId, String structureId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?.
 int filterCountByG_ST(long groupId, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?.
 int filterCountByG_T(long groupId, String templateId)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?.
 int filterCountByG_UT_ST(long groupId, String urlTitle, int status)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 int filterCountByG_UT(long groupId, String urlTitle)
          Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?.
 int filterCountByGroupId(long groupId)
          Filters by the user's permissions and counts all the journal articles where groupId = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle)
          Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> filterFindByGroupId(long groupId)
          Filters by the user's permissions and finds all the journal articles where groupId = ?.
 List<JournalArticle> filterFindByGroupId(long groupId, int start, int end)
          Filters by the user's permissions and finds a range of all the journal articles where groupId = ?.
 List<JournalArticle> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?.
 List<JournalArticle> findAll()
          Finds all the journal articles.
 List<JournalArticle> findAll(int start, int end)
          Finds a range of all the journal articles.
 List<JournalArticle> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles.
 JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where companyId = ? and status = ?.
 JournalArticle[] findByC_ST_PrevAndNext(long id, long companyId, int status, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?.
 List<JournalArticle> findByC_ST(long companyId, int status)
          Finds all the journal articles where companyId = ? and status = ?.
 List<JournalArticle> findByC_ST(long companyId, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where companyId = ? and status = ?.
 JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where companyId = ?.
 JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where companyId = ?.
 JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId)
          Finds all the journal articles where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId, int start, int end)
          Finds a range of all the journal articles where companyId = ?.
 List<JournalArticle> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where companyId = ?.
 JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?.
 JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?.
 List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.
 JournalArticle findByG_A_V(long groupId, String articleId, double version)
          Finds the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found.
 List<JournalArticle> findByG_A(long groupId, String articleId)
          Finds all the journal articles where groupId = ? and articleId = ?.
 List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and articleId = ?.
 JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and structureId = ?.
 JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?.
 List<JournalArticle> findByG_S(long groupId, String structureId)
          Finds all the journal articles where groupId = ? and structureId = ?.
 List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and structureId = ?.
 JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and status = ?.
 JournalArticle[] findByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?.
 List<JournalArticle> findByG_ST(long groupId, int status)
          Finds all the journal articles where groupId = ? and status = ?.
 List<JournalArticle> findByG_ST(long groupId, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and status = ?.
 JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and templateId = ?.
 JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?.
 List<JournalArticle> findByG_T(long groupId, String templateId)
          Finds all the journal articles where groupId = ? and templateId = ?.
 List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and templateId = ?.
 JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?.
 JournalArticle findByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle findByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 JournalArticle[] findByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status)
          Finds 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)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.
 List<JournalArticle> findByG_UT(long groupId, String urlTitle)
          Finds all the journal articles where groupId = ? and urlTitle = ?.
 List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?.
 JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where groupId = ?.
 JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where groupId = ?.
 JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId)
          Finds all the journal articles where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId, int start, int end)
          Finds a range of all the journal articles where groupId = ?.
 List<JournalArticle> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where groupId = ?.
 JournalArticle findByPrimaryKey(long id)
          Finds the journal article with the primary key or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByPrimaryKey(Serializable primaryKey)
          Finds 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)
          Finds the first journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where resourcePrimKey = ? and status = ?.
 JournalArticle[] findByR_ST_PrevAndNext(long id, long resourcePrimKey, int status, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int status)
          Finds all the journal articles where resourcePrimKey = ? and status = ?.
 List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end)
          Finds 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)
          Finds an ordered range of all the journal articles where resourcePrimKey = ? and status = ?.
 JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where resourcePrimKey = ?.
 JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey)
          Finds all the journal articles where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end)
          Finds a range of all the journal articles where resourcePrimKey = ?.
 List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where resourcePrimKey = ?.
 JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where smallImageId = ?.
 JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where smallImageId = ?.
 JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId)
          Finds all the journal articles where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end)
          Finds a range of all the journal articles where smallImageId = ?.
 List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the journal articles where smallImageId = ?.
 JournalArticle findByUuid_First(String uuid, OrderByComparator orderByComparator)
          Finds the first journal article in the ordered set where uuid = ?.
 JournalArticle findByUUID_G(String uuid, long groupId)
          Finds the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found.
 JournalArticle findByUuid_Last(String uuid, OrderByComparator orderByComparator)
          Finds the last journal article in the ordered set where uuid = ?.
 JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator)
          Finds the journal articles before and after the current journal article in the ordered set where uuid = ?.
 List<JournalArticle> findByUuid(String uuid)
          Finds all the journal articles where uuid = ?.
 List<JournalArticle> findByUuid(String uuid, int start, int end)
          Finds a range of all the journal articles where uuid = ?.
 List<JournalArticle> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
          Finds 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 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_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 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 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 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.
 void 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_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 removeByR_ST(long resourcePrimKey, int status)
          Removes all the journal articles where resourcePrimKey = ? and status = ? from the database.
 void removeByResourcePrimKey(long resourcePrimKey)
          Removes all the journal articles where resourcePrimKey = ? from the database.
 void removeBySmallImageId(long smallImageId)
          Removes all the journal articles where smallImageId = ? from the database.
 void removeByUUID_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, getDataSource, 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
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_UUID

public static final FinderPath FINDER_PATH_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_FIND_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_FIND_BY_RESOURCEPRIMKEY

FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

public static final FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_FIND_BY_SMALLIMAGEID

FINDER_PATH_COUNT_BY_SMALLIMAGEID

public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID

FINDER_PATH_FIND_BY_R_ST

public static final FinderPath FINDER_PATH_FIND_BY_R_ST

FINDER_PATH_COUNT_BY_R_ST

public static final FinderPath FINDER_PATH_COUNT_BY_R_ST

FINDER_PATH_FIND_BY_G_A

public static final FinderPath FINDER_PATH_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_FIND_BY_G_S

public static final FinderPath FINDER_PATH_FIND_BY_G_S

FINDER_PATH_COUNT_BY_G_S

public static final FinderPath FINDER_PATH_COUNT_BY_G_S

FINDER_PATH_FIND_BY_G_T

public static final FinderPath FINDER_PATH_FIND_BY_G_T

FINDER_PATH_COUNT_BY_G_T

public static final FinderPath FINDER_PATH_COUNT_BY_G_T

FINDER_PATH_FIND_BY_G_UT

public static final FinderPath FINDER_PATH_FIND_BY_G_UT

FINDER_PATH_COUNT_BY_G_UT

public static final FinderPath FINDER_PATH_COUNT_BY_G_UT

FINDER_PATH_FIND_BY_G_ST

public static final FinderPath FINDER_PATH_FIND_BY_G_ST

FINDER_PATH_COUNT_BY_G_ST

public static final FinderPath FINDER_PATH_COUNT_BY_G_ST

FINDER_PATH_FIND_BY_C_ST

public static final FinderPath FINDER_PATH_FIND_BY_C_ST

FINDER_PATH_COUNT_BY_C_ST

public static final FinderPath FINDER_PATH_COUNT_BY_C_ST

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_FIND_BY_G_A_ST

public static final FinderPath FINDER_PATH_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_FIND_BY_G_UT_ST

public static final FinderPath FINDER_PATH_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_FIND_ALL

public static final FinderPath FINDER_PATH_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

workflowInstanceLinkPersistence

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

assetCategoryPersistence

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

assetEntryPersistence

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

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

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

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

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(Serializable primaryKey)
                      throws NoSuchModelException,
                             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 to remove
Returns:
the journal article that was removed
Throws:
NoSuchModelException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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 to remove
Returns:
the journal article that was removed
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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
Finds 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 to find
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
Finds 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 to find
Returns:
the journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(Serializable primaryKey)
                                 throws SystemException
Finds 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 to find
Returns:
the journal article, or null if a journal article with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public JournalArticle fetchByPrimaryKey(long id)
                                 throws SystemException
Finds 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 to find
Returns:
the journal article, or null if a journal article with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByUuid

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

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
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
Finds a range of all the journal articles where uuid = ?.

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

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid

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

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

Specified by:
findByUuid in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByUuid_First

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

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

Specified by:
findByUuid_First in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByUuid_Last

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

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

Specified by:
findByUuid_Last in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByUuid_PrevAndNext

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

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

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

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
Finds 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 to search with
groupId - the group id to search with
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByUUID_G

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

Specified by:
fetchByUUID_G in interface JournalArticlePersistence
Parameters:
uuid - the uuid to search with
groupId - the group id to search with
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
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
Finds a range of all the journal articles where resourcePrimKey = ?.

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

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey

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

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

Specified by:
findByResourcePrimKey in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByResourcePrimKey_First

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

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

Specified by:
findByResourcePrimKey_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByResourcePrimKey_Last

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

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

Specified by:
findByResourcePrimKey_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByResourcePrimKey_PrevAndNext

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

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

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

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
Finds all the journal articles where groupId = ?.

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
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
Finds a range of all the journal articles where groupId = ?.

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

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId

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

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

Specified by:
findByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByGroupId_First

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

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

Specified by:
findByGroupId_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByGroupId_Last

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

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

Specified by:
findByGroupId_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByGroupId_PrevAndNext

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

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

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

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
Filters by the user's permissions and finds all the journal articles where groupId = ?.

Specified by:
filterFindByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByGroupId

public List<JournalArticle> filterFindByGroupId(long groupId,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ?.

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

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

filterFindByGroupId

public List<JournalArticle> filterFindByGroupId(long groupId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?.

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

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

findByCompanyId

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

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
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
Finds a range of all the journal articles where companyId = ?.

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

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId

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

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

Specified by:
findByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByCompanyId_First

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

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

Specified by:
findByCompanyId_First in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByCompanyId_Last

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

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

Specified by:
findByCompanyId_Last in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

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

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

Specified by:
findByCompanyId_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
companyId - the company id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

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

findBySmallImageId

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

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
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
Finds a range of all the journal articles where smallImageId = ?.

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

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId

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

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

Specified by:
findBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findBySmallImageId_First

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

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

Specified by:
findBySmallImageId_First in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findBySmallImageId_Last

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

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

Specified by:
findBySmallImageId_Last in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findBySmallImageId_PrevAndNext

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

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

Specified by:
findBySmallImageId_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
smallImageId - the small image id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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
Finds all the journal articles where resourcePrimKey = ? and status = ?.

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

findByR_ST

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

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

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST

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

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

Specified by:
findByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByR_ST_First

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

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

Specified by:
findByR_ST_First in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByR_ST_Last

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

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

Specified by:
findByR_ST_Last in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByR_ST_PrevAndNext

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

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

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

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
Finds all the journal articles where groupId = ? and articleId = ?.

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A

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

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

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A

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

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

Specified by:
findByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_First

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

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

Specified by:
findByG_A_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_A_Last

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

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

Specified by:
findByG_A_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_A_PrevAndNext

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

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

Specified by:
findByG_A_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group id to search with
articleId - the article id to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?.

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

public List<JournalArticle> filterFindByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?.

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

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A

public List<JournalArticle> filterFindByG_A(long groupId,
                                            String articleId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?.

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

Specified by:
filterFindByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_S

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

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

findByG_S

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

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

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

findByG_S

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

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

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

findByG_S_First

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

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

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

findByG_S_Last

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

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

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

findByG_S_PrevAndNext

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

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

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

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?.

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

filterFindByG_S

public List<JournalArticle> filterFindByG_S(long groupId,
                                            String structureId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?.

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

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

filterFindByG_S

public List<JournalArticle> filterFindByG_S(long groupId,
                                            String structureId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?.

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

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

findByG_T

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

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

findByG_T

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

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

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

findByG_T

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

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

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

findByG_T_First

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

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

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

findByG_T_Last

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

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

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

findByG_T_PrevAndNext

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

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

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

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?.

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

filterFindByG_T

public List<JournalArticle> filterFindByG_T(long groupId,
                                            String templateId,
                                            int start,
                                            int end)
                                     throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?.

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

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

filterFindByG_T

public List<JournalArticle> filterFindByG_T(long groupId,
                                            String templateId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?.

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

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

findByG_UT

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

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT

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

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

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT

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

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

Specified by:
findByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_First

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

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

Specified by:
findByG_UT_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_UT_Last

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

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

Specified by:
findByG_UT_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_UT_PrevAndNext

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

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

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

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?.

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

public List<JournalArticle> filterFindByG_UT(long groupId,
                                             String urlTitle,
                                             int start,
                                             int end)
                                      throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?.

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

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT

public List<JournalArticle> filterFindByG_UT(long groupId,
                                             String urlTitle,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?.

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

Specified by:
filterFindByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_ST

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

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST

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

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

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST

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

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

Specified by:
findByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_ST_First

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

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

Specified by:
findByG_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_ST_Last

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

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

Specified by:
findByG_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_ST_PrevAndNext

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

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

Specified by:
findByG_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?.

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

public List<JournalArticle> filterFindByG_ST(long groupId,
                                             int status,
                                             int start,
                                             int end)
                                      throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?.

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

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_ST

public List<JournalArticle> filterFindByG_ST(long groupId,
                                             int status,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?.

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

Specified by:
filterFindByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByC_ST

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

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
status - the status to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST

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

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

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST

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

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

Specified by:
findByC_ST in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByC_ST_First

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

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

Specified by:
findByC_ST_First in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByC_ST_Last

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

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

Specified by:
findByC_ST_Last in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByC_ST_PrevAndNext

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

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

Specified by:
findByC_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
companyId - the company id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

getByC_ST_PrevAndNext

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

findByG_A_V

public JournalArticle findByG_A_V(long groupId,
                                  String articleId,
                                  double version)
                           throws NoSuchArticleException,
                                  SystemException
Finds 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 to search with
articleId - the article id to search with
version - the version to search with
Returns:
the matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

fetchByG_A_V

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

Specified by:
fetchByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
version - the version to search with
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

fetchByG_A_V

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

Specified by:
fetchByG_A_V in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
version - the version to search with
Returns:
the matching journal article, or null if a matching journal article could not be found
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

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

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST

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

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

Specified by:
findByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_A_ST_First

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

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

Specified by:
findByG_A_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_A_ST_Last

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

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

Specified by:
findByG_A_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_A_ST_PrevAndNext

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

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

Specified by:
findByG_A_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

getByG_A_ST_PrevAndNext

protected JournalArticle getByG_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 status)
                                        throws SystemException
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?.

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

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

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

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_A_ST

public List<JournalArticle> filterFindByG_A_ST(long groupId,
                                               String articleId,
                                               int status,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?.

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

Specified by:
filterFindByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

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

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
Returns:
the matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

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

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

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST

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

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

Specified by:
findByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles
Throws:
SystemException - if a system exception occurred

findByG_UT_ST_First

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

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

Specified by:
findByG_UT_ST_First in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_UT_ST_Last

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

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

Specified by:
findByG_UT_ST_Last in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching journal article
Throws:
NoSuchArticleException - if a matching journal article could not be found
SystemException - if a system exception occurred

findByG_UT_ST_PrevAndNext

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

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

Specified by:
findByG_UT_ST_PrevAndNext in interface JournalArticlePersistence
Parameters:
id - the primary key of the current journal article
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next journal article
Throws:
NoSuchArticleException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred

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
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?.

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
Returns:
the matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

public List<JournalArticle> filterFindByG_UT_ST(long groupId,
                                                String urlTitle,
                                                int status,
                                                int start,
                                                int end)
                                         throws SystemException
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.

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

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

filterFindByG_UT_ST

public List<JournalArticle> filterFindByG_UT_ST(long groupId,
                                                String urlTitle,
                                                int status,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?.

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

Specified by:
filterFindByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

findAll

public List<JournalArticle> findAll()
                             throws SystemException
Finds 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
Finds a range of all the journal articles.

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

Specified by:
findAll in interface JournalArticlePersistence
Parameters:
start - the lower bound of the range of journal articles to return
end - the upper bound of the range of journal articles to return (not inclusive)
Returns:
the range of journal articles
Throws:
SystemException - if a system exception occurred

findAll

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

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

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

removeByUuid

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

removeByUUID_G

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

removeByG_A_V

public void 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 to search with
articleId - the article id to search with
version - the version to search with
Throws:
SystemException - if a system exception occurred
NoSuchArticleException

removeByG_A_ST

public 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 to search with
articleId - the article id to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeByG_UT_ST

public 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 to search with
urlTitle - the url title to search with
status - the status to search with
Throws:
SystemException - if a system exception occurred

removeAll

public 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
Counts all the journal articles where uuid = ?.

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

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

countByResourcePrimKey

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

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

countByGroupId

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

Specified by:
countByGroupId in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByGroupId

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

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

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Counts all the journal articles where companyId = ?.

Specified by:
countByCompanyId in interface JournalArticlePersistence
Parameters:
companyId - the company id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countBySmallImageId

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

Specified by:
countBySmallImageId in interface JournalArticlePersistence
Parameters:
smallImageId - the small image id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByR_ST

public int countByR_ST(long resourcePrimKey,
                       int status)
                throws SystemException
Counts all the journal articles where resourcePrimKey = ? and status = ?.

Specified by:
countByR_ST in interface JournalArticlePersistence
Parameters:
resourcePrimKey - the resource prim key to search with
status - the status to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

countByG_A

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

Specified by:
countByG_A in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A

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

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

countByG_S

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

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

filterCountByG_S

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

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

countByG_T

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

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

filterCountByG_T

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

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

countByG_UT

public int countByG_UT(long groupId,
                       String urlTitle)
                throws SystemException
Counts all the journal articles where groupId = ? and urlTitle = ?.

Specified by:
countByG_UT in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_UT

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

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

countByG_ST

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

Specified by:
countByG_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
status - the status to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_ST

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

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

countByC_ST

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

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

countByG_A_V

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

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

filterCountByG_A_V

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

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

countByG_A_ST

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

Specified by:
countByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_A_ST

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

Specified by:
filterCountByG_A_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
articleId - the article id to search with
status - the status to search with
Returns:
the number of matching journal articles that the user has permission to view
Throws:
SystemException - if a system exception occurred

countByG_UT_ST

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

Specified by:
countByG_UT_ST in interface JournalArticlePersistence
Parameters:
groupId - the group id to search with
urlTitle - the url title to search with
status - the status to search with
Returns:
the number of matching journal articles
Throws:
SystemException - if a system exception occurred

filterCountByG_UT_ST

public int filterCountByG_UT_ST(long groupId,
                                String urlTitle,
                                int status)
                         throws SystemException
Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?.

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

countAll

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


Liferay 6.0.5