com.liferay.portlet.journal.service.persistence
Class JournalArticleUtil
java.lang.Object
com.liferay.portlet.journal.service.persistence.JournalArticleUtil
public class JournalArticleUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
static int |
countByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
static int |
countByG_A(long groupId,
java.lang.String articleId)
|
static int |
countByG_S(long groupId,
java.lang.String structureId)
|
static int |
countByG_T(long groupId,
java.lang.String templateId)
|
static int |
countByGroupId(long groupId)
|
static int |
countBySmallImageId(long smallImageId)
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
static int |
countByUuid(java.lang.String uuid)
|
static JournalArticle |
create(long id)
|
static JournalArticle |
fetchByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
static JournalArticle |
fetchByPrimaryKey(long id)
|
static JournalArticle |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
static java.util.List<JournalArticle> |
findAll()
|
static java.util.List<JournalArticle> |
findAll(int start,
int end)
|
static java.util.List<JournalArticle> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByCompanyId(long companyId)
|
static java.util.List<JournalArticle> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_A_A_First(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_A_A_Last(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByG_A_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
static java.util.List<JournalArticle> |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByG_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
static java.util.List<JournalArticle> |
findByG_A(long groupId,
java.lang.String articleId)
|
static java.util.List<JournalArticle> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByG_A(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByG_S(long groupId,
java.lang.String structureId)
|
static java.util.List<JournalArticle> |
findByG_S(long groupId,
java.lang.String structureId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByG_S(long groupId,
java.lang.String structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_T_First(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByG_T_Last(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByG_T_PrevAndNext(long id,
long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByG_T(long groupId,
java.lang.String templateId)
|
static java.util.List<JournalArticle> |
findByG_T(long groupId,
java.lang.String templateId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByG_T(long groupId,
java.lang.String templateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByGroupId(long groupId)
|
static java.util.List<JournalArticle> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByPrimaryKey(long id)
|
static JournalArticle |
findBySmallImageId_First(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findBySmallImageId_Last(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findBySmallImageId_PrevAndNext(long id,
long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findBySmallImageId(long smallImageId)
|
static java.util.List<JournalArticle> |
findBySmallImageId(long smallImageId,
int start,
int end)
|
static java.util.List<JournalArticle> |
findBySmallImageId(long smallImageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle |
findByUUID_G(java.lang.String uuid,
long groupId)
|
static JournalArticle |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static JournalArticle[] |
findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<JournalArticle> |
findByUuid(java.lang.String uuid)
|
static java.util.List<JournalArticle> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
static java.util.List<JournalArticle> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static JournalArticlePersistence |
getPersistence()
|
static void |
registerListener(ModelListener listener)
|
static JournalArticle |
remove(JournalArticle journalArticle)
|
static JournalArticle |
remove(long id)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
static void |
removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
static void |
removeByG_A(long groupId,
java.lang.String articleId)
|
static void |
removeByG_S(long groupId,
java.lang.String structureId)
|
static void |
removeByG_T(long groupId,
java.lang.String templateId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeBySmallImageId(long smallImageId)
|
static void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(JournalArticlePersistence persistence)
|
static void |
unregisterListener(ModelListener listener)
|
static JournalArticle |
update(JournalArticle journalArticle)
Deprecated. Use update(JournalArticle journalArticle, boolean merge) . |
static JournalArticle |
update(JournalArticle journalArticle,
boolean merge)
Add, update, or merge, the entity. |
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 |
JournalArticleUtil
public JournalArticleUtil()
create
public static JournalArticle create(long id)
remove
public static JournalArticle remove(long id)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
remove
public static JournalArticle remove(JournalArticle journalArticle)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static JournalArticle update(JournalArticle journalArticle)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(JournalArticle journalArticle, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static JournalArticle update(JournalArticle journalArticle,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
journalArticle
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when journalArticle is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public static JournalArticle updateImpl(JournalArticle journalArticle,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static JournalArticle findByPrimaryKey(long id)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
fetchByPrimaryKey
public static JournalArticle fetchByPrimaryKey(long id)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<JournalArticle> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<JournalArticle> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
public static java.util.List<JournalArticle> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
public static JournalArticle findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByUuid_Last
public static JournalArticle findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByUuid_PrevAndNext
public static JournalArticle[] findByUuid_PrevAndNext(long id,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByUUID_G
public static JournalArticle findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
fetchByUUID_G
public static JournalArticle fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<JournalArticle> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<JournalArticle> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<JournalArticle> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static JournalArticle findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByGroupId_Last
public static JournalArticle findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByGroupId_PrevAndNext
public static JournalArticle[] findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByCompanyId
public static java.util.List<JournalArticle> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<JournalArticle> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<JournalArticle> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static JournalArticle findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByCompanyId_Last
public static JournalArticle findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByCompanyId_PrevAndNext
public static JournalArticle[] findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findBySmallImageId
public static java.util.List<JournalArticle> findBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySmallImageId
public static java.util.List<JournalArticle> findBySmallImageId(long smallImageId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySmallImageId
public static java.util.List<JournalArticle> findBySmallImageId(long smallImageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySmallImageId_First
public static JournalArticle findBySmallImageId_First(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findBySmallImageId_Last
public static JournalArticle findBySmallImageId_Last(long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findBySmallImageId_PrevAndNext
public static JournalArticle[] findBySmallImageId_PrevAndNext(long id,
long smallImageId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A
public static java.util.List<JournalArticle> findByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A
public static java.util.List<JournalArticle> findByG_A(long groupId,
java.lang.String articleId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A
public static java.util.List<JournalArticle> findByG_A(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_First
public static JournalArticle findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A_Last
public static JournalArticle findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A_PrevAndNext
public static JournalArticle[] findByG_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_S
public static java.util.List<JournalArticle> findByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
public static java.util.List<JournalArticle> findByG_S(long groupId,
java.lang.String structureId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S
public static java.util.List<JournalArticle> findByG_S(long groupId,
java.lang.String structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_S_First
public static JournalArticle findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_S_Last
public static JournalArticle findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_S_PrevAndNext
public static JournalArticle[] findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_T
public static java.util.List<JournalArticle> findByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
public static java.util.List<JournalArticle> findByG_T(long groupId,
java.lang.String templateId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T
public static java.util.List<JournalArticle> findByG_T(long groupId,
java.lang.String templateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_T_First
public static JournalArticle findByG_T_First(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_T_Last
public static JournalArticle findByG_T_Last(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_T_PrevAndNext
public static JournalArticle[] findByG_T_PrevAndNext(long id,
long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A_V
public static JournalArticle findByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
fetchByG_A_V
public static JournalArticle fetchByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public static java.util.List<JournalArticle> findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public static java.util.List<JournalArticle> findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public static java.util.List<JournalArticle> findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_A_A_First
public static JournalArticle findByG_A_A_First(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A_A_Last
public static JournalArticle findByG_A_A_Last(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findByG_A_A_PrevAndNext
public static JournalArticle[] findByG_A_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<JournalArticle> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<JournalArticle> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<JournalArticle> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
public static void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySmallImageId
public static void removeBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_A
public static void removeByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_S
public static void removeByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_T
public static void removeByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_A_V
public static void removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException,
NoSuchArticleException
- Throws:
com.liferay.portal.SystemException
NoSuchArticleException
removeByG_A_A
public static void removeByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
public static int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySmallImageId
public static int countBySmallImageId(long smallImageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_A
public static int countByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_S
public static int countByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_T
public static int countByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_A_V
public static int countByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_A_A
public static int countByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
registerListener
public static void registerListener(ModelListener listener)
unregisterListener
public static void unregisterListener(ModelListener listener)
getPersistence
public static JournalArticlePersistence getPersistence()
setPersistence
public void setPersistence(JournalArticlePersistence persistence)