|
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.portlet.journal.service.persistence.JournalArticleUtil
public class JournalArticleUtil
The persistence utility for the journal article service. This utility wraps JournalArticlePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
JournalArticlePersistence
,
JournalArticlePersistenceImpl
Constructor Summary | |
---|---|
JournalArticleUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(JournalArticle journalArticle)
Caches the journal article in the entity cache if it is enabled. |
static void |
cacheResult(List<JournalArticle> journalArticles)
Caches the journal articles in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(JournalArticle journalArticle)
|
static int |
countAll()
Counts all the journal articles. |
static int |
countByC_ST(long companyId,
int status)
Counts all the journal articles where companyId = ? and status = ?. |
static int |
countByCompanyId(long companyId)
Counts all the journal articles where companyId = ?. |
static int |
countByG_A_ST(long groupId,
String articleId,
int status)
Counts all the journal articles where groupId = ? and articleId = ? and status = ?. |
static int |
countByG_A_V(long groupId,
String articleId,
double version)
Counts all the journal articles where groupId = ? and articleId = ? and version = ?. |
static int |
countByG_A(long groupId,
String articleId)
Counts all the journal articles where groupId = ? and articleId = ?. |
static int |
countByG_S(long groupId,
String structureId)
Counts all the journal articles where groupId = ? and structureId = ?. |
static int |
countByG_ST(long groupId,
int status)
Counts all the journal articles where groupId = ? and status = ?. |
static int |
countByG_T(long groupId,
String templateId)
Counts all the journal articles where groupId = ? and templateId = ?. |
static int |
countByG_UT_ST(long groupId,
String urlTitle,
int status)
Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static int |
countByG_UT(long groupId,
String urlTitle)
Counts all the journal articles where groupId = ? and urlTitle = ?. |
static int |
countByGroupId(long groupId)
Counts all the journal articles where groupId = ?. |
static int |
countByR_ST(long resourcePrimKey,
int status)
Counts all the journal articles where resourcePrimKey = ? and status = ?. |
static int |
countByResourcePrimKey(long resourcePrimKey)
Counts all the journal articles where resourcePrimKey = ?. |
static int |
countBySmallImageId(long smallImageId)
Counts all the journal articles where smallImageId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the journal articles where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the journal articles where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static JournalArticle |
create(long id)
Creates a new journal article with the primary key. |
static JournalArticle |
fetchByG_A_V(long groupId,
String articleId,
double version)
Finds the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found. |
static JournalArticle |
fetchByG_A_V(long groupId,
String articleId,
double version,
boolean retrieveFromCache)
Finds the journal article where groupId = ? and articleId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. |
static JournalArticle |
fetchByPrimaryKey(long id)
Finds the journal article with the primary key or returns null if it could not be found. |
static JournalArticle |
fetchByUUID_G(String uuid,
long groupId)
Finds the journal article where uuid = ? and groupId = ? or returns null if it could not be found. |
static JournalArticle |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the journal article where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static int |
filterCountByG_A_ST(long groupId,
String articleId,
int status)
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?. |
static int |
filterCountByG_A_V(long groupId,
String articleId,
double version)
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and version = ?. |
static int |
filterCountByG_A(long groupId,
String articleId)
Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?. |
static int |
filterCountByG_S(long groupId,
String structureId)
Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?. |
static int |
filterCountByG_ST(long groupId,
int status)
Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?. |
static int |
filterCountByG_T(long groupId,
String templateId)
Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?. |
static int |
filterCountByG_UT_ST(long groupId,
String urlTitle,
int status)
Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static int |
filterCountByG_UT(long groupId,
String urlTitle)
Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?. |
static int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the journal articles where groupId = ?. |
static List<JournalArticle> |
filterFindByG_A_ST(long groupId,
String articleId,
int status)
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_A_ST(long groupId,
String articleId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_A_ST(long groupId,
String articleId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_A(long groupId,
String articleId)
Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?. |
static List<JournalArticle> |
filterFindByG_A(long groupId,
String articleId,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?. |
static List<JournalArticle> |
filterFindByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?. |
static List<JournalArticle> |
filterFindByG_S(long groupId,
String structureId)
Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?. |
static List<JournalArticle> |
filterFindByG_S(long groupId,
String structureId,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?. |
static List<JournalArticle> |
filterFindByG_S(long groupId,
String structureId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?. |
static List<JournalArticle> |
filterFindByG_ST(long groupId,
int status)
Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_ST(long groupId,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_ST(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_T(long groupId,
String templateId)
Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?. |
static List<JournalArticle> |
filterFindByG_T(long groupId,
String templateId,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?. |
static List<JournalArticle> |
filterFindByG_T(long groupId,
String templateId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?. |
static List<JournalArticle> |
filterFindByG_UT_ST(long groupId,
String urlTitle,
int status)
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_UT_ST(long groupId,
String urlTitle,
int status,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_UT_ST(long groupId,
String urlTitle,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
filterFindByG_UT(long groupId,
String urlTitle)
Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?. |
static List<JournalArticle> |
filterFindByG_UT(long groupId,
String urlTitle,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?. |
static List<JournalArticle> |
filterFindByG_UT(long groupId,
String urlTitle,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. |
static List<JournalArticle> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the journal articles where groupId = ?. |
static List<JournalArticle> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the journal articles where groupId = ?. |
static List<JournalArticle> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?. |
static List<JournalArticle> |
findAll()
Finds all the journal articles. |
static List<JournalArticle> |
findAll(int start,
int end)
Finds a range of all the journal articles. |
static List<JournalArticle> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles. |
static JournalArticle |
findByC_ST_First(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where companyId = ? and status = ?. |
static JournalArticle |
findByC_ST_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where companyId = ? and status = ?. |
static JournalArticle[] |
findByC_ST_PrevAndNext(long id,
long companyId,
int status,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. |
static List<JournalArticle> |
findByC_ST(long companyId,
int status)
Finds all the journal articles where companyId = ? and status = ?. |
static List<JournalArticle> |
findByC_ST(long companyId,
int status,
int start,
int end)
Finds a range of all the journal articles where companyId = ? and status = ?. |
static List<JournalArticle> |
findByC_ST(long companyId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where companyId = ? and status = ?. |
static JournalArticle |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where companyId = ?. |
static JournalArticle |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where companyId = ?. |
static JournalArticle[] |
findByCompanyId_PrevAndNext(long id,
long companyId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where companyId = ?. |
static List<JournalArticle> |
findByCompanyId(long companyId)
Finds all the journal articles where companyId = ?. |
static List<JournalArticle> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the journal articles where companyId = ?. |
static List<JournalArticle> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where companyId = ?. |
static JournalArticle |
findByG_A_First(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and articleId = ?. |
static JournalArticle |
findByG_A_Last(long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and articleId = ?. |
static JournalArticle[] |
findByG_A_PrevAndNext(long id,
long groupId,
String articleId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. |
static JournalArticle |
findByG_A_ST_First(long groupId,
String articleId,
int status,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. |
static JournalArticle |
findByG_A_ST_Last(long groupId,
String articleId,
int status,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. |
static JournalArticle[] |
findByG_A_ST_PrevAndNext(long id,
long groupId,
String articleId,
int status,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
findByG_A_ST(long groupId,
String articleId,
int status)
Finds all the journal articles where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
findByG_A_ST(long groupId,
String articleId,
int status,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. |
static List<JournalArticle> |
findByG_A_ST(long groupId,
String articleId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. |
static JournalArticle |
findByG_A_V(long groupId,
String articleId,
double version)
Finds the journal article where groupId = ? and articleId = ? and version = ? or throws a NoSuchArticleException if it could not be found. |
static List<JournalArticle> |
findByG_A(long groupId,
String articleId)
Finds all the journal articles where groupId = ? and articleId = ?. |
static List<JournalArticle> |
findByG_A(long groupId,
String articleId,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and articleId = ?. |
static List<JournalArticle> |
findByG_A(long groupId,
String articleId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and articleId = ?. |
static JournalArticle |
findByG_S_First(long groupId,
String structureId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and structureId = ?. |
static JournalArticle |
findByG_S_Last(long groupId,
String structureId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and structureId = ?. |
static JournalArticle[] |
findByG_S_PrevAndNext(long id,
long groupId,
String structureId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. |
static List<JournalArticle> |
findByG_S(long groupId,
String structureId)
Finds all the journal articles where groupId = ? and structureId = ?. |
static List<JournalArticle> |
findByG_S(long groupId,
String structureId,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and structureId = ?. |
static List<JournalArticle> |
findByG_S(long groupId,
String structureId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and structureId = ?. |
static JournalArticle |
findByG_ST_First(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and status = ?. |
static JournalArticle |
findByG_ST_Last(long groupId,
int status,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and status = ?. |
static JournalArticle[] |
findByG_ST_PrevAndNext(long id,
long groupId,
int status,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. |
static List<JournalArticle> |
findByG_ST(long groupId,
int status)
Finds all the journal articles where groupId = ? and status = ?. |
static List<JournalArticle> |
findByG_ST(long groupId,
int status,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and status = ?. |
static List<JournalArticle> |
findByG_ST(long groupId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and status = ?. |
static JournalArticle |
findByG_T_First(long groupId,
String templateId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and templateId = ?. |
static JournalArticle |
findByG_T_Last(long groupId,
String templateId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and templateId = ?. |
static JournalArticle[] |
findByG_T_PrevAndNext(long id,
long groupId,
String templateId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. |
static List<JournalArticle> |
findByG_T(long groupId,
String templateId)
Finds all the journal articles where groupId = ? and templateId = ?. |
static List<JournalArticle> |
findByG_T(long groupId,
String templateId,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and templateId = ?. |
static List<JournalArticle> |
findByG_T(long groupId,
String templateId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and templateId = ?. |
static JournalArticle |
findByG_UT_First(long groupId,
String urlTitle,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and urlTitle = ?. |
static JournalArticle |
findByG_UT_Last(long groupId,
String urlTitle,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and urlTitle = ?. |
static JournalArticle[] |
findByG_UT_PrevAndNext(long id,
long groupId,
String urlTitle,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. |
static JournalArticle |
findByG_UT_ST_First(long groupId,
String urlTitle,
int status,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. |
static JournalArticle |
findByG_UT_ST_Last(long groupId,
String urlTitle,
int status,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. |
static JournalArticle[] |
findByG_UT_ST_PrevAndNext(long id,
long groupId,
String urlTitle,
int status,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
findByG_UT_ST(long groupId,
String urlTitle,
int status)
Finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
findByG_UT_ST(long groupId,
String urlTitle,
int status,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
findByG_UT_ST(long groupId,
String urlTitle,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. |
static List<JournalArticle> |
findByG_UT(long groupId,
String urlTitle)
Finds all the journal articles where groupId = ? and urlTitle = ?. |
static List<JournalArticle> |
findByG_UT(long groupId,
String urlTitle,
int start,
int end)
Finds a range of all the journal articles where groupId = ? and urlTitle = ?. |
static List<JournalArticle> |
findByG_UT(long groupId,
String urlTitle,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. |
static JournalArticle |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where groupId = ?. |
static JournalArticle |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where groupId = ?. |
static JournalArticle[] |
findByGroupId_PrevAndNext(long id,
long groupId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where groupId = ?. |
static List<JournalArticle> |
findByGroupId(long groupId)
Finds all the journal articles where groupId = ?. |
static List<JournalArticle> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the journal articles where groupId = ?. |
static List<JournalArticle> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where groupId = ?. |
static JournalArticle |
findByPrimaryKey(long id)
Finds the journal article with the primary key or throws a NoSuchArticleException if it could not be found. |
static JournalArticle |
findByR_ST_First(long resourcePrimKey,
int status,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where resourcePrimKey = ? and status = ?. |
static JournalArticle |
findByR_ST_Last(long resourcePrimKey,
int status,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where resourcePrimKey = ? and status = ?. |
static JournalArticle[] |
findByR_ST_PrevAndNext(long id,
long resourcePrimKey,
int status,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. |
static List<JournalArticle> |
findByR_ST(long resourcePrimKey,
int status)
Finds all the journal articles where resourcePrimKey = ? and status = ?. |
static List<JournalArticle> |
findByR_ST(long resourcePrimKey,
int status,
int start,
int end)
Finds a range of all the journal articles where resourcePrimKey = ? and status = ?. |
static List<JournalArticle> |
findByR_ST(long resourcePrimKey,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. |
static JournalArticle |
findByResourcePrimKey_First(long resourcePrimKey,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where resourcePrimKey = ?. |
static JournalArticle |
findByResourcePrimKey_Last(long resourcePrimKey,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where resourcePrimKey = ?. |
static JournalArticle[] |
findByResourcePrimKey_PrevAndNext(long id,
long resourcePrimKey,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. |
static List<JournalArticle> |
findByResourcePrimKey(long resourcePrimKey)
Finds all the journal articles where resourcePrimKey = ?. |
static List<JournalArticle> |
findByResourcePrimKey(long resourcePrimKey,
int start,
int end)
Finds a range of all the journal articles where resourcePrimKey = ?. |
static List<JournalArticle> |
findByResourcePrimKey(long resourcePrimKey,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where resourcePrimKey = ?. |
static JournalArticle |
findBySmallImageId_First(long smallImageId,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where smallImageId = ?. |
static JournalArticle |
findBySmallImageId_Last(long smallImageId,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where smallImageId = ?. |
static JournalArticle[] |
findBySmallImageId_PrevAndNext(long id,
long smallImageId,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where smallImageId = ?. |
static List<JournalArticle> |
findBySmallImageId(long smallImageId)
Finds all the journal articles where smallImageId = ?. |
static List<JournalArticle> |
findBySmallImageId(long smallImageId,
int start,
int end)
Finds a range of all the journal articles where smallImageId = ?. |
static List<JournalArticle> |
findBySmallImageId(long smallImageId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where smallImageId = ?. |
static JournalArticle |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first journal article in the ordered set where uuid = ?. |
static JournalArticle |
findByUUID_G(String uuid,
long groupId)
Finds the journal article where uuid = ? and groupId = ? or throws a NoSuchArticleException if it could not be found. |
static JournalArticle |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last journal article in the ordered set where uuid = ?. |
static JournalArticle[] |
findByUuid_PrevAndNext(long id,
String uuid,
OrderByComparator orderByComparator)
Finds the journal articles before and after the current journal article in the ordered set where uuid = ?. |
static List<JournalArticle> |
findByUuid(String uuid)
Finds all the journal articles where uuid = ?. |
static List<JournalArticle> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the journal articles where uuid = ?. |
static List<JournalArticle> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the journal articles where uuid = ?. |
static List<JournalArticle> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<JournalArticle> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<JournalArticle> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static JournalArticlePersistence |
getPersistence()
|
static JournalArticle |
remove(JournalArticle journalArticle)
|
static JournalArticle |
remove(long id)
Removes the journal article with the primary key from the database. |
static void |
removeAll()
Removes all the journal articles from the database. |
static void |
removeByC_ST(long companyId,
int status)
Removes all the journal articles where companyId = ? and status = ? from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the journal articles where companyId = ? from the database. |
static void |
removeByG_A_ST(long groupId,
String articleId,
int status)
Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. |
static void |
removeByG_A_V(long groupId,
String articleId,
double version)
Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. |
static void |
removeByG_A(long groupId,
String articleId)
Removes all the journal articles where groupId = ? and articleId = ? from the database. |
static void |
removeByG_S(long groupId,
String structureId)
Removes all the journal articles where groupId = ? and structureId = ? from the database. |
static void |
removeByG_ST(long groupId,
int status)
Removes all the journal articles where groupId = ? and status = ? from the database. |
static void |
removeByG_T(long groupId,
String templateId)
Removes all the journal articles where groupId = ? and templateId = ? from the database. |
static void |
removeByG_UT_ST(long groupId,
String urlTitle,
int status)
Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. |
static void |
removeByG_UT(long groupId,
String urlTitle)
Removes all the journal articles where groupId = ? and urlTitle = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the journal articles where groupId = ? from the database. |
static void |
removeByR_ST(long resourcePrimKey,
int status)
Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. |
static void |
removeByResourcePrimKey(long resourcePrimKey)
Removes all the journal articles where resourcePrimKey = ? from the database. |
static void |
removeBySmallImageId(long smallImageId)
Removes all the journal articles where smallImageId = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the journal article where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the journal articles where uuid = ? from the database. |
void |
setPersistence(JournalArticlePersistence persistence)
|
static JournalArticle |
update(JournalArticle journalArticle,
boolean merge)
|
static JournalArticle |
update(JournalArticle journalArticle,
boolean merge,
ServiceContext serviceContext)
|
static JournalArticle |
updateImpl(JournalArticle journalArticle,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JournalArticleUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(JournalArticle journalArticle)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<JournalArticle> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static JournalArticle remove(JournalArticle journalArticle) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static JournalArticle update(JournalArticle journalArticle, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static JournalArticle update(JournalArticle journalArticle, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(JournalArticle journalArticle)
journalArticle
- the journal article to cachepublic static void cacheResult(List<JournalArticle> journalArticles)
journalArticles
- the journal articles to cachepublic static JournalArticle create(long id)
id
- the primary key for the new journal article
public static JournalArticle remove(long id) throws SystemException, NoSuchArticleException
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 occurredpublic static JournalArticle updateImpl(JournalArticle journalArticle, boolean merge) throws SystemException
SystemException
public static JournalArticle findByPrimaryKey(long id) throws SystemException, NoSuchArticleException
NoSuchArticleException
if it could not be found.
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 static JournalArticle fetchByPrimaryKey(long id) throws SystemException
null
if it could not be found.
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 static List<JournalArticle> findByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByUuid_PrevAndNext(long id, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static JournalArticle findByUUID_G(String uuid, long groupId) throws SystemException, NoSuchArticleException
NoSuchArticleException
if it could not be found.
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 static JournalArticle fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
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 static JournalArticle fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
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 static List<JournalArticle> findByResourcePrimKey(long resourcePrimKey) throws SystemException
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByResourcePrimKey_First(long resourcePrimKey, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByResourcePrimKey_Last(long resourcePrimKey, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByResourcePrimKey_PrevAndNext(long id, long resourcePrimKey, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> findByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> findBySmallImageId(long smallImageId) throws SystemException
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findBySmallImageId_First(long smallImageId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findBySmallImageId_Last(long smallImageId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> findByR_ST(long resourcePrimKey, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByR_ST_First(long resourcePrimKey, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByR_ST_Last(long resourcePrimKey, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByR_ST_PrevAndNext(long id, long resourcePrimKey, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> findByG_A(long groupId, String articleId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_A_First(long groupId, String articleId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_A_Last(long groupId, String articleId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, String articleId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_A(long groupId, String articleId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByG_S(long groupId, String structureId) throws SystemException
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_S_First(long groupId, String structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_S_Last(long groupId, String structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, String structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_S(long groupId, String structureId) throws SystemException
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByG_T(long groupId, String templateId) throws SystemException
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_T_First(long groupId, String templateId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_T_Last(long groupId, String templateId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, String templateId, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_T(long groupId, String templateId) throws SystemException
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByG_UT(long groupId, String urlTitle) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_UT_First(long groupId, String urlTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_UT_Last(long groupId, String urlTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_UT_PrevAndNext(long id, long groupId, String urlTitle, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_UT(long groupId, String urlTitle) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByG_ST(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_ST_First(long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_ST_Last(long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_ST_PrevAndNext(long id, long groupId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_ST(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByC_ST(long companyId, int status) throws SystemException
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByC_ST_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByC_ST_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByC_ST_PrevAndNext(long id, long companyId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static JournalArticle findByG_A_V(long groupId, String articleId, double version) throws SystemException, NoSuchArticleException
NoSuchArticleException
if it could not be found.
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 static JournalArticle fetchByG_A_V(long groupId, String articleId, double version) throws SystemException
null
if it could not be found. Uses the finder cache.
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 static 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.
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 static List<JournalArticle> findByG_A_ST(long groupId, String articleId, int status) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_A_ST_First(long groupId, String articleId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_A_ST_Last(long groupId, String articleId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_A_ST_PrevAndNext(long id, long groupId, String articleId, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_A_ST(long groupId, String articleId, int status) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static JournalArticle findByG_UT_ST_First(long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle findByG_UT_ST_Last(long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 static JournalArticle[] findByG_UT_ST_PrevAndNext(long id, long groupId, String urlTitle, int status, OrderByComparator orderByComparator) throws SystemException, NoSuchArticleException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
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 occurredpublic static List<JournalArticle> filterFindByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static List<JournalArticle> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static 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.
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 static 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.
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 static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static void removeByUUID_G(String uuid, long groupId) throws SystemException, NoSuchArticleException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurred
NoSuchArticleException
public static void removeByResourcePrimKey(long resourcePrimKey) throws SystemException
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic static void removeByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static void removeBySmallImageId(long smallImageId) throws SystemException
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic static void removeByR_ST(long resourcePrimKey, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByG_A(long groupId, String articleId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic static void removeByG_S(long groupId, String structureId) throws SystemException
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic static void removeByG_T(long groupId, String templateId) throws SystemException
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic static void removeByG_UT(long groupId, String urlTitle) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic static void removeByG_ST(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByC_ST(long companyId, int status) throws SystemException
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByG_A_V(long groupId, String articleId, double version) throws SystemException, NoSuchArticleException
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 static void removeByG_A_ST(long groupId, String articleId, int status) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid to search with
SystemException
- if a system exception occurredpublic static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuid to search withgroupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByResourcePrimKey(long resourcePrimKey) throws SystemException
resourcePrimKey
- the resource prim key to search with
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group id to search with
SystemException
- if a system exception occurredpublic static int countByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredpublic static int countBySmallImageId(long smallImageId) throws SystemException
smallImageId
- the small image id to search with
SystemException
- if a system exception occurredpublic static int countByR_ST(long resourcePrimKey, int status) throws SystemException
resourcePrimKey
- the resource prim key to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_A(long groupId, String articleId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_A(long groupId, String articleId) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search with
SystemException
- if a system exception occurredpublic static int countByG_S(long groupId, String structureId) throws SystemException
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_S(long groupId, String structureId) throws SystemException
groupId
- the group id to search withstructureId
- the structure id to search with
SystemException
- if a system exception occurredpublic static int countByG_T(long groupId, String templateId) throws SystemException
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_T(long groupId, String templateId) throws SystemException
groupId
- the group id to search withtemplateId
- the template id to search with
SystemException
- if a system exception occurredpublic static int countByG_UT(long groupId, String urlTitle) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_UT(long groupId, String urlTitle) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search with
SystemException
- if a system exception occurredpublic static int countByG_ST(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_ST(long groupId, int status) throws SystemException
groupId
- the group id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByC_ST(long companyId, int status) throws SystemException
companyId
- the company id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_A_V(long groupId, String articleId, double version) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_A_V(long groupId, String articleId, double version) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withversion
- the version to search with
SystemException
- if a system exception occurredpublic static int countByG_A_ST(long groupId, String articleId, int status) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_A_ST(long groupId, String articleId, int status) throws SystemException
groupId
- the group id to search witharticleId
- the article id to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int filterCountByG_UT_ST(long groupId, String urlTitle, int status) throws SystemException
groupId
- the group id to search withurlTitle
- the url title to search withstatus
- the status to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static JournalArticlePersistence getPersistence()
public void setPersistence(JournalArticlePersistence persistence)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |