com.liferay.portlet.journal.service.persistence
Interface JournalArticlePersistence

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface JournalArticlePersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

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)
           
 int countByR_A(long resourcePrimKey, boolean approved)
           
 int countBySmallImageId(long smallImageId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 JournalArticle create(long id)
           
 JournalArticle fetchByG_A_V(long groupId, java.lang.String articleId, double version)
           
 JournalArticle fetchByPrimaryKey(long id)
           
 JournalArticle fetchByUUID_G(java.lang.String uuid, long groupId)
           
 java.util.List<JournalArticle> findAll()
           
 java.util.List<JournalArticle> findAll(int start, int end)
           
 java.util.List<JournalArticle> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByCompanyId_PrevAndNext(long id, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByCompanyId(long companyId)
           
 java.util.List<JournalArticle> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<JournalArticle> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_A_A_First(long groupId, java.lang.String articleId, boolean approved, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_A_A_Last(long groupId, java.lang.String articleId, boolean approved, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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<JournalArticle> findByG_A_A(long groupId, java.lang.String articleId, boolean approved)
           
 java.util.List<JournalArticle> findByG_A_A(long groupId, java.lang.String articleId, boolean approved, int start, int end)
           
 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)
           
 JournalArticle findByG_A_First(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_A_Last(long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByG_A_PrevAndNext(long id, long groupId, java.lang.String articleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_A_V(long groupId, java.lang.String articleId, double version)
           
 java.util.List<JournalArticle> findByG_A(long groupId, java.lang.String articleId)
           
 java.util.List<JournalArticle> findByG_A(long groupId, java.lang.String articleId, int start, int end)
           
 java.util.List<JournalArticle> findByG_A(long groupId, java.lang.String articleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_S_First(long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_S_Last(long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByG_S_PrevAndNext(long id, long groupId, java.lang.String structureId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByG_S(long groupId, java.lang.String structureId)
           
 java.util.List<JournalArticle> findByG_S(long groupId, java.lang.String structureId, int start, int end)
           
 java.util.List<JournalArticle> findByG_S(long groupId, java.lang.String structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_T_First(long groupId, java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByG_T_Last(long groupId, java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByG_T_PrevAndNext(long id, long groupId, java.lang.String templateId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByG_T(long groupId, java.lang.String templateId)
           
 java.util.List<JournalArticle> findByG_T(long groupId, java.lang.String templateId, int start, int end)
           
 java.util.List<JournalArticle> findByG_T(long groupId, java.lang.String templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByGroupId_PrevAndNext(long id, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByGroupId(long groupId)
           
 java.util.List<JournalArticle> findByGroupId(long groupId, int start, int end)
           
 java.util.List<JournalArticle> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByPrimaryKey(long id)
           
 JournalArticle findByR_A_First(long resourcePrimKey, boolean approved, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByR_A_Last(long resourcePrimKey, boolean approved, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByR_A_PrevAndNext(long id, long resourcePrimKey, boolean approved, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByR_A(long resourcePrimKey, boolean approved)
           
 java.util.List<JournalArticle> findByR_A(long resourcePrimKey, boolean approved, int start, int end)
           
 java.util.List<JournalArticle> findByR_A(long resourcePrimKey, boolean approved, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findBySmallImageId_First(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findBySmallImageId_Last(long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findBySmallImageId_PrevAndNext(long id, long smallImageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findBySmallImageId(long smallImageId)
           
 java.util.List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end)
           
 java.util.List<JournalArticle> findBySmallImageId(long smallImageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle findByUUID_G(java.lang.String uuid, long groupId)
           
 JournalArticle findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 JournalArticle[] findByUuid_PrevAndNext(long id, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalArticle> findByUuid(java.lang.String uuid)
           
 java.util.List<JournalArticle> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<JournalArticle> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 JournalArticle remove(JournalArticle journalArticle)
           
 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)
           
 void removeByR_A(long resourcePrimKey, boolean approved)
           
 void removeBySmallImageId(long smallImageId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 JournalArticle update(JournalArticle journalArticle)
          Deprecated. Use update(JournalArticle journalArticle, boolean merge).
 JournalArticle update(JournalArticle journalArticle, boolean merge)
          Add, update, or merge, the entity.
 JournalArticle updateImpl(JournalArticle journalArticle, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

create

JournalArticle create(long id)

remove

JournalArticle remove(long id)
                      throws com.liferay.portal.SystemException,
                             NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

remove

JournalArticle remove(JournalArticle journalArticle)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

JournalArticle update(JournalArticle journalArticle)
                      throws com.liferay.portal.SystemException
Deprecated. Use update(JournalArticle journalArticle, boolean merge).

Throws:
com.liferay.portal.SystemException

update

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 merge
merge - 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

JournalArticle updateImpl(JournalArticle journalArticle,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle findByPrimaryKey(long id)
                                throws com.liferay.portal.SystemException,
                                       NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

fetchByPrimaryKey

JournalArticle fetchByPrimaryKey(long id)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByUuid(java.lang.String uuid)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByUuid(java.lang.String uuid,
                                                        int start,
                                                        int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle findByUUID_G(java.lang.String uuid,
                                          long groupId)
                            throws com.liferay.portal.SystemException,
                                   NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

fetchByUUID_G

JournalArticle fetchByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByGroupId(long groupId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByGroupId(long groupId,
                                                           int start,
                                                           int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByCompanyId(long companyId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByCompanyId(long companyId,
                                                             int start,
                                                             int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findBySmallImageId(long smallImageId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySmallImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findBySmallImageId(long smallImageId,
                                                                int start,
                                                                int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySmallImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

findByR_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByR_A(long resourcePrimKey,
                                                       boolean approved)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByR_A(long resourcePrimKey,
                                                       boolean approved,
                                                       int start,
                                                       int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByR_A(long resourcePrimKey,
                                                       boolean approved,
                                                       int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByR_A_First

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle findByR_A_First(long resourcePrimKey,
                                             boolean approved,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

findByR_A_Last

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle findByR_A_Last(long resourcePrimKey,
                                            boolean approved,
                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

findByR_A_PrevAndNext

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle[] findByR_A_PrevAndNext(long id,
                                                     long resourcePrimKey,
                                                     boolean approved,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

findByG_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByG_A(long groupId,
                                                       java.lang.String articleId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByG_S(long groupId,
                                                       java.lang.String structureId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findByG_T(long groupId,
                                                       java.lang.String templateId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_T

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findAll()
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalArticle> findAll(int start,
                                                     int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.SystemException,
                           NoSuchArticleException
Throws:
com.liferay.portal.SystemException
NoSuchArticleException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeBySmallImageId

void removeBySmallImageId(long smallImageId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByR_A

void removeByR_A(long resourcePrimKey,
                 boolean approved)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A

void removeByG_A(long groupId,
                 java.lang.String articleId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_S

void removeByG_S(long groupId,
                 java.lang.String structureId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_T

void removeByG_T(long groupId,
                 java.lang.String templateId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A_V

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

void removeByG_A_A(long groupId,
                   java.lang.String articleId,
                   boolean approved)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByUUID_G(java.lang.String uuid,
                                long groupId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countBySmallImageId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countBySmallImageId(long smallImageId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByR_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByR_A(long resourcePrimKey,
                             boolean approved)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_A(long groupId,
                             java.lang.String articleId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_S

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_S(long groupId,
                             java.lang.String structureId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_T

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_T(long groupId,
                             java.lang.String templateId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A_V

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByG_A_A(long groupId,
                               java.lang.String articleId,
                               boolean approved)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException