|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalArticle> com.liferay.portlet.journal.service.persistence.JournalArticlePersistenceImpl
public class JournalArticlePersistenceImpl
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
JournalArticlePersistence
,
JournalArticleUtil
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 |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_FIND_BY_RESOURCEPRIMKEY
public static final FinderPath FINDER_PATH_COUNT_BY_RESOURCEPRIMKEY
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_FIND_BY_SMALLIMAGEID
public static final FinderPath FINDER_PATH_COUNT_BY_SMALLIMAGEID
public static final FinderPath FINDER_PATH_FIND_BY_R_ST
public static final FinderPath FINDER_PATH_COUNT_BY_R_ST
public static final FinderPath FINDER_PATH_FIND_BY_G_A
public static final FinderPath FINDER_PATH_COUNT_BY_G_A
public static final FinderPath FINDER_PATH_FIND_BY_G_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_S
public static final FinderPath FINDER_PATH_FIND_BY_G_T
public static final FinderPath FINDER_PATH_COUNT_BY_G_T
public static final FinderPath FINDER_PATH_FIND_BY_G_UT
public static final FinderPath FINDER_PATH_COUNT_BY_G_UT
public static final FinderPath FINDER_PATH_FIND_BY_G_ST
public static final FinderPath FINDER_PATH_COUNT_BY_G_ST
public static final FinderPath FINDER_PATH_FIND_BY_C_ST
public static final FinderPath FINDER_PATH_COUNT_BY_C_ST
public static final FinderPath FINDER_PATH_FETCH_BY_G_A_V
public static final FinderPath FINDER_PATH_COUNT_BY_G_A_V
public static final FinderPath FINDER_PATH_FIND_BY_G_A_ST
public static final FinderPath FINDER_PATH_COUNT_BY_G_A_ST
public static final FinderPath FINDER_PATH_FIND_BY_G_UT_ST
public static final FinderPath FINDER_PATH_COUNT_BY_G_UT_ST
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalArticleImagePersistence.class) protected JournalArticleImagePersistence journalArticleImagePersistence
@BeanReference(type=JournalArticleResourcePersistence.class) protected JournalArticleResourcePersistence journalArticleResourcePersistence
@BeanReference(type=JournalContentSearchPersistence.class) protected JournalContentSearchPersistence journalContentSearchPersistence
@BeanReference(type=JournalFeedPersistence.class) protected JournalFeedPersistence journalFeedPersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=ImagePersistence.class) protected ImagePersistence imagePersistence
@BeanReference(type=PortletPreferencesPersistence.class) protected PortletPreferencesPersistence portletPreferencesPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=SubscriptionPersistence.class) protected SubscriptionPersistence subscriptionPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=WorkflowInstanceLinkPersistence.class) protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
@BeanReference(type=AssetCategoryPersistence.class) protected AssetCategoryPersistence assetCategoryPersistence
@BeanReference(type=AssetEntryPersistence.class) protected AssetEntryPersistence assetEntryPersistence
@BeanReference(type=AssetTagPersistence.class) protected AssetTagPersistence assetTagPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
@BeanReference(type=MBMessagePersistence.class) protected MBMessagePersistence mbMessagePersistence
@BeanReference(type=RatingsStatsPersistence.class) protected RatingsStatsPersistence ratingsStatsPersistence
Constructor Detail |
---|
public JournalArticlePersistenceImpl()
Method Detail |
---|
public void cacheResult(JournalArticle journalArticle)
cacheResult
in interface JournalArticlePersistence
journalArticle
- the journal article to cachepublic void cacheResult(List<JournalArticle> journalArticles)
cacheResult
in interface JournalArticlePersistence
journalArticles
- the journal articles to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<JournalArticle>
clearCache
in class BasePersistenceImpl<JournalArticle>
public void clearCache(JournalArticle journalArticle)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<JournalArticle>
clearCache
in class BasePersistenceImpl<JournalArticle>
journalArticle
- the instance of this model to clear the cache forpublic JournalArticle create(long id)
create
in interface JournalArticlePersistence
id
- the primary key for the new journal article
public JournalArticle remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<JournalArticle>
remove
in class BasePersistenceImpl<JournalArticle>
primaryKey
- the primary key of the journal article to remove
NoSuchModelException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic JournalArticle remove(long id) throws NoSuchArticleException, SystemException
remove
in interface JournalArticlePersistence
id
- the primary key of the journal article to remove
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle removeImpl(JournalArticle journalArticle) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<JournalArticle>
journalArticle
- the model instance to remove
SystemException
- if a system exception occurredpublic JournalArticle updateImpl(JournalArticle journalArticle, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface JournalArticlePersistence
updateImpl
in class BasePersistenceImpl<JournalArticle>
journalArticle
- the model instance to updatemerge
- 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.
SystemException
- if a system exception occurredprotected JournalArticle toUnwrappedModel(JournalArticle journalArticle)
public JournalArticle findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<JournalArticle>
findByPrimaryKey
in class BasePersistenceImpl<JournalArticle>
primaryKey
- the primary key of the journal article to find
NoSuchModelException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByPrimaryKey(long id) throws NoSuchArticleException, SystemException
NoSuchArticleException
if it could not be found.
findByPrimaryKey
in interface JournalArticlePersistence
id
- the primary key of the journal article to find
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<JournalArticle>
fetchByPrimaryKey
in class BasePersistenceImpl<JournalArticle>
primaryKey
- the primary key of the journal article to find
null
if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByPrimaryKey(long id) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface JournalArticlePersistence
id
- the primary key of the journal article to find
null
if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic List<JournalArticle> findByUuid(String uuid) throws SystemException
findByUuid
in interface JournalArticlePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface JournalArticlePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid
in interface JournalArticlePersistence
uuid
- the uuid to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_First
in interface JournalArticlePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_Last
in interface JournalArticlePersistence
uuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUuid_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articleuuid
- the uuid to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByUuid_PrevAndNext(Session session, JournalArticle journalArticle, String uuid, OrderByComparator orderByComparator, boolean previous)
public JournalArticle findByUUID_G(String uuid, long groupId) throws NoSuchArticleException, SystemException
NoSuchArticleException
if it could not be found.
findByUUID_G
in interface JournalArticlePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface JournalArticlePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByUUID_G
in interface JournalArticlePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
null
if a matching journal article could not be found
SystemException
- if a system exception occurredpublic List<JournalArticle> findByResourcePrimKey(long resourcePrimKey) throws SystemException
findByResourcePrimKey
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByResourcePrimKey
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByResourcePrimKey(long resourcePrimKey, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByResourcePrimKey
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByResourcePrimKey_First
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByResourcePrimKey_Last
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByResourcePrimKey_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articleresourcePrimKey
- the resource prim key to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByResourcePrimKey_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_First
in interface JournalArticlePersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_Last
in interface JournalArticlePersistence
groupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByGroupId_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByGroupId_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByGroupId(long groupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface JournalArticlePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId
in interface JournalArticlePersistence
companyId
- the company id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId
in interface JournalArticlePersistence
companyId
- the company id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_First
in interface JournalArticlePersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_Last
in interface JournalArticlePersistence
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByCompanyId_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlecompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByCompanyId_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> findBySmallImageId(long smallImageId) throws SystemException
findBySmallImageId
in interface JournalArticlePersistence
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findBySmallImageId
in interface JournalArticlePersistence
smallImageId
- the small image id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findBySmallImageId
in interface JournalArticlePersistence
smallImageId
- the small image id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findBySmallImageId_First
in interface JournalArticlePersistence
smallImageId
- the small image id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findBySmallImageId_Last
in interface JournalArticlePersistence
smallImageId
- the small image id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findBySmallImageId_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlesmallImageId
- the small image id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getBySmallImageId_PrevAndNext(Session session, JournalArticle journalArticle, long smallImageId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> findByR_ST(long resourcePrimKey, int status) throws SystemException
findByR_ST
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_ST
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByR_ST(long resourcePrimKey, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_ST
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByR_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_ST_First
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_ST_Last
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByR_ST_PrevAndNext(long id, long resourcePrimKey, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByR_ST_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articleresourcePrimKey
- the resource prim key to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByR_ST_PrevAndNext(Session session, JournalArticle journalArticle, long resourcePrimKey, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> findByG_A(long groupId, String articleId) throws SystemException
findByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_First
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_Last
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search witharticleId
- the article id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_A_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_A(long groupId, String articleId) throws SystemException
filterFindByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_A(long groupId, String articleId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_S(long groupId, String structureId) throws SystemException
findByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_First
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_Last
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_S_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withstructureId
- the structure id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_S_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String structureId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_S(long groupId, String structureId) throws SystemException
filterFindByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_S(long groupId, String structureId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_T(long groupId, String templateId) throws SystemException
findByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_T_First
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_T_Last
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_T_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withtemplateId
- the template id to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_T_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String templateId, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_T(long groupId, String templateId) throws SystemException
filterFindByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_T(long groupId, String templateId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT(long groupId, String urlTitle) throws SystemException
findByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_First
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_Last
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withurlTitle
- the url title to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_UT_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle) throws SystemException
filterFindByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_ST(long groupId, int status) throws SystemException
findByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_ST(long groupId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_ST_First
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_ST_Last
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_ST_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_ST(long groupId, int status) throws SystemException
filterFindByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_ST(long groupId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByC_ST(long companyId, int status) throws SystemException
findByC_ST
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByC_ST(long companyId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_ST
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByC_ST(long companyId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_ST
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_ST_First
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_ST_Last
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByC_ST_PrevAndNext(long id, long companyId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByC_ST_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlecompanyId
- the company id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByC_ST_PrevAndNext(Session session, JournalArticle journalArticle, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
public JournalArticle findByG_A_V(long groupId, String articleId, double version) throws NoSuchArticleException, SystemException
NoSuchArticleException
if it could not be found.
findByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByG_A_V(long groupId, String articleId, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
null
if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle fetchByG_A_V(long groupId, String articleId, double version, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
null
if a matching journal article could not be found
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status) throws SystemException
findByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_ST_First
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_ST_Last
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_A_ST_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_A_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String articleId, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status) throws SystemException
filterFindByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
findByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic JournalArticle findByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_ST_First
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle findByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_ST_Last
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a matching journal article could not be found
SystemException
- if a system exception occurredpublic JournalArticle[] findByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws NoSuchArticleException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByG_UT_ST_PrevAndNext
in interface JournalArticlePersistence
id
- the primary key of the current journal articlegroupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withorderByComparator
- the comparator to order the set by
NoSuchArticleException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredprotected JournalArticle getByG_UT_ST_PrevAndNext(Session session, JournalArticle journalArticle, long groupId, String urlTitle, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
filterFindByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
filterFindByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search withstart
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic List<JournalArticle> findAll() throws SystemException
findAll
in interface JournalArticlePersistence
SystemException
- if a system exception occurredpublic List<JournalArticle> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface JournalArticlePersistence
start
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic List<JournalArticle> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface JournalArticlePersistence
start
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface JournalArticlePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic void removeByUUID_G(String uuid, long groupId) throws NoSuchArticleException, SystemException
removeByUUID_G
in interface JournalArticlePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchArticleException
public void removeByResourcePrimKey(long resourcePrimKey) throws SystemException
removeByResourcePrimKey
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface JournalArticlePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic void removeBySmallImageId(long smallImageId) throws SystemException
removeBySmallImageId
in interface JournalArticlePersistence
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic void removeByR_ST(long resourcePrimKey, int status) throws SystemException
removeByR_ST
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_A(long groupId, String articleId) throws SystemException
removeByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic void removeByG_S(long groupId, String structureId) throws SystemException
removeByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic void removeByG_T(long groupId, String templateId) throws SystemException
removeByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic void removeByG_UT(long groupId, String urlTitle) throws SystemException
removeByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic void removeByG_ST(long groupId, int status) throws SystemException
removeByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByC_ST(long companyId, int status) throws SystemException
removeByC_ST
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_A_V(long groupId, String articleId, double version) throws NoSuchArticleException, SystemException
removeByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurred
NoSuchArticleException
public void removeByG_A_ST(long groupId, String articleId, int status) throws SystemException
removeByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
removeByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface JournalArticlePersistence
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface JournalArticlePersistence
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface JournalArticlePersistence
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByResourcePrimKey(long resourcePrimKey) throws SystemException
countByResourcePrimKey
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface JournalArticlePersistence
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface JournalArticlePersistence
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic int countBySmallImageId(long smallImageId) throws SystemException
countBySmallImageId
in interface JournalArticlePersistence
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic int countByR_ST(long resourcePrimKey, int status) throws SystemException
countByR_ST
in interface JournalArticlePersistence
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_A(long groupId, String articleId) throws SystemException
countByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_A(long groupId, String articleId) throws SystemException
filterCountByG_A
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic int countByG_S(long groupId, String structureId) throws SystemException
countByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_S(long groupId, String structureId) throws SystemException
filterCountByG_S
in interface JournalArticlePersistence
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic int countByG_T(long groupId, String templateId) throws SystemException
countByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic int filterCountByG_T(long groupId, String templateId) throws SystemException
filterCountByG_T
in interface JournalArticlePersistence
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic int countByG_UT(long groupId, String urlTitle) throws SystemException
countByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic int filterCountByG_UT(long groupId, String urlTitle) throws SystemException
filterCountByG_UT
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic int countByG_ST(long groupId, int status) throws SystemException
countByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_ST(long groupId, int status) throws SystemException
filterCountByG_ST
in interface JournalArticlePersistence
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByC_ST(long companyId, int status) throws SystemException
countByC_ST
in interface JournalArticlePersistence
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_A_V(long groupId, String articleId, double version) throws SystemException
countByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic int filterCountByG_A_V(long groupId, String articleId, double version) throws SystemException
filterCountByG_A_V
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic int countByG_A_ST(long groupId, String articleId, int status) throws SystemException
countByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_A_ST(long groupId, String articleId, int status) throws SystemException
filterCountByG_A_ST
in interface JournalArticlePersistence
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
countByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int filterCountByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
filterCountByG_UT_ST
in interface JournalArticlePersistence
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface JournalArticlePersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |