com.liferay.portlet.journal.service.persistence
Class JournalArticlePersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.journal.service.persistence.JournalArticlePersistenceImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, JournalArticlePersistence
- public class JournalArticlePersistenceImpl
- extends BasePersistence
- implements JournalArticlePersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
int |
countByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
int |
countByG_A(long groupId,
java.lang.String articleId)
|
int |
countByG_S(long groupId,
java.lang.String structureId)
|
int |
countByG_T(long groupId,
java.lang.String templateId)
|
int |
countByGroupId(long groupId)
|
com.liferay.portlet.journal.model.JournalArticle |
create(long id)
|
com.liferay.portlet.journal.model.JournalArticle |
fetchByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
com.liferay.portlet.journal.model.JournalArticle |
fetchByPrimaryKey(long id)
|
java.util.List |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByCompanyId(long companyId)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_A_A_First(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_A_A_Last(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByG_A_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
java.util.List |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int begin,
int end)
|
java.util.List |
findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByG_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
java.util.List |
findByG_A(long groupId,
java.lang.String articleId)
|
java.util.List |
findByG_A(long groupId,
java.lang.String articleId,
int begin,
int end)
|
java.util.List |
findByG_A(long groupId,
java.lang.String articleId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_S(long groupId,
java.lang.String structureId)
|
java.util.List |
findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end)
|
java.util.List |
findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_T_First(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByG_T_Last(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByG_T_PrevAndNext(long id,
long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByG_T(long groupId,
java.lang.String templateId)
|
java.util.List |
findByG_T(long groupId,
java.lang.String templateId,
int begin,
int end)
|
java.util.List |
findByG_T(long groupId,
java.lang.String templateId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle[] |
findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.journal.model.JournalArticle |
findByPrimaryKey(long id)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portlet.journal.model.JournalArticle |
remove(com.liferay.portlet.journal.model.JournalArticle journalArticle)
|
com.liferay.portlet.journal.model.JournalArticle |
remove(long id)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
|
void |
removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
|
void |
removeByG_A(long groupId,
java.lang.String articleId)
|
void |
removeByG_S(long groupId,
java.lang.String structureId)
|
void |
removeByG_T(long groupId,
java.lang.String templateId)
|
void |
removeByGroupId(long groupId)
|
com.liferay.portlet.journal.model.JournalArticle |
update(com.liferay.portlet.journal.model.JournalArticle journalArticle)
|
com.liferay.portlet.journal.model.JournalArticle |
update(com.liferay.portlet.journal.model.JournalArticle journalArticle,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticlePersistenceImpl
public JournalArticlePersistenceImpl()
create
public com.liferay.portlet.journal.model.JournalArticle create(long id)
- Specified by:
create
in interface JournalArticlePersistence
remove
public com.liferay.portlet.journal.model.JournalArticle remove(long id)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.journal.model.JournalArticle remove(com.liferay.portlet.journal.model.JournalArticle journalArticle)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.journal.model.JournalArticle update(com.liferay.portlet.journal.model.JournalArticle journalArticle)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.journal.model.JournalArticle update(com.liferay.portlet.journal.model.JournalArticle journalArticle,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
update
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey(long id)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey(long id)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByGroupId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByGroupId_Last
public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByGroupId_PrevAndNext
public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext(long id,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByGroupId_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByCompanyId_Last
public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByCompanyId_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A
public java.util.List findByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A
public java.util.List findByG_A(long groupId,
java.lang.String articleId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A
public java.util.List findByG_A(long groupId,
java.lang.String articleId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A_First
public com.liferay.portlet.journal.model.JournalArticle findByG_A_First(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A_Last
public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A_PrevAndNext
public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext(long id,
long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_S
public java.util.List findByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Specified by:
findByG_S
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_S
public java.util.List findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_S
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_S
public java.util.List findByG_S(long groupId,
java.lang.String structureId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_S
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_S_First
public com.liferay.portlet.journal.model.JournalArticle findByG_S_First(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_S_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_S_Last
public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last(long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_S_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_S_PrevAndNext
public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext(long id,
long groupId,
java.lang.String structureId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_S_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String templateId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_T
public java.util.List findByG_T(long groupId,
java.lang.String templateId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_T
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_T_First
public com.liferay.portlet.journal.model.JournalArticle findByG_T_First(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_T_Last
public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last(long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_T_PrevAndNext
public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext(long id,
long groupId,
java.lang.String templateId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_T_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A_V
public com.liferay.portlet.journal.model.JournalArticle findByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_V
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
fetchByG_A_V
public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException
- Specified by:
fetchByG_A_V
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public java.util.List findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public java.util.List findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A_A
public java.util.List findByG_A_A(long groupId,
java.lang.String articleId,
boolean approved,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByG_A_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findByG_A_A_First
public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_First(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_A_First
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A_A_Last
public com.liferay.portlet.journal.model.JournalArticle findByG_A_A_Last(long groupId,
java.lang.String articleId,
boolean approved,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_A_Last
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findByG_A_A_PrevAndNext
public com.liferay.portlet.journal.model.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.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
findByG_A_A_PrevAndNext
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
removeByGroupId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
removeByCompanyId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByG_A
public void removeByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByG_S
public void removeByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_S
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByG_T
public void removeByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_T
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeByG_A_V
public void removeByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portlet.journal.NoSuchArticleException,
com.liferay.portal.SystemException
- Specified by:
removeByG_A_V
in interface JournalArticlePersistence
- Throws:
com.liferay.portlet.journal.NoSuchArticleException
com.liferay.portal.SystemException
removeByG_A_A
public void removeByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Specified by:
removeByG_A_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Specified by:
countByGroupId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
countByCompanyId
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByG_A
public int countByG_A(long groupId,
java.lang.String articleId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByG_S
public int countByG_S(long groupId,
java.lang.String structureId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_S
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByG_T
public int countByG_T(long groupId,
java.lang.String templateId)
throws com.liferay.portal.SystemException
- Specified by:
countByG_T
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByG_A_V
public int countByG_A_V(long groupId,
java.lang.String articleId,
double version)
throws com.liferay.portal.SystemException
- Specified by:
countByG_A_V
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countByG_A_A
public int countByG_A_A(long groupId,
java.lang.String articleId,
boolean approved)
throws com.liferay.portal.SystemException
- Specified by:
countByG_A_A
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface JournalArticlePersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()