com.liferay.portlet.blogs.service.persistence
Interface BlogsEntryPersistence

All Known Implementing Classes:
BlogsEntryPersistenceImpl

public interface BlogsEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_U(long companyId, long userId)
           
 int countByCategoryId(long categoryId)
           
 int countByCompanyId(long companyId)
           
 int countByG_U(long groupId, long userId)
           
 int countByG_UT(long groupId, java.lang.String urlTitle)
           
 int countByGroupId(long groupId)
           
 com.liferay.portlet.blogs.model.BlogsEntry create(long entryId)
           
 com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(long groupId, java.lang.String urlTitle)
           
 com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(long entryId)
           
 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.blogs.model.BlogsEntry findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(long entryId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByC_U(long companyId, long userId)
           
 java.util.List findByC_U(long companyId, long userId, int begin, int end)
           
 java.util.List findByC_U(long companyId, long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry[] findByCategoryId_PrevAndNext(long entryId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCategoryId(long categoryId)
           
 java.util.List findByCategoryId(long categoryId, int begin, int end)
           
 java.util.List findByCategoryId(long categoryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(long entryId, 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.blogs.model.BlogsEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(long entryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByG_U(long groupId, long userId)
           
 java.util.List findByG_U(long groupId, long userId, int begin, int end)
           
 java.util.List findByG_U(long groupId, long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId, java.lang.String urlTitle)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(long entryId, 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.blogs.model.BlogsEntry findByPrimaryKey(long entryId)
           
 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)
           
 com.liferay.portlet.blogs.model.BlogsEntry remove(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
           
 void removeAll()
           
 void removeByC_U(long companyId, long userId)
           
 void removeByCategoryId(long categoryId)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByG_UT(long groupId, java.lang.String urlTitle)
           
 void removeByGroupId(long groupId)
           
 com.liferay.portlet.blogs.model.BlogsEntry update(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
           
 com.liferay.portlet.blogs.model.BlogsEntry update(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId)

remove

public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId)
                                                  throws com.liferay.portal.SystemException,
                                                         com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

remove

public com.liferay.portlet.blogs.model.BlogsEntry remove(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.blogs.model.BlogsEntry update(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.blogs.model.BlogsEntry update(com.liferay.portlet.blogs.model.BlogsEntry blogsEntry,
                                                         boolean merge)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(long entryId)
                                                            throws com.liferay.portal.SystemException,
                                                                   com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

fetchByPrimaryKey

public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(long entryId)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(long groupId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portal.SystemException,
                                                                      com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByGroupId_Last

public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(long groupId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.SystemException,
                                                                     com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByGroupId_PrevAndNext

public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(long entryId,
                                                                              long groupId,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portal.SystemException,
                                                                              com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(long companyId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCompanyId_Last

public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(long companyId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCompanyId_PrevAndNext

public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                                                long companyId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portal.SystemException,
                                                                                com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCategoryId

public java.util.List findByCategoryId(long categoryId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId

public java.util.List findByCategoryId(long categoryId,
                                       int begin,
                                       int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId

public java.util.List findByCategoryId(long categoryId,
                                       int begin,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId_First

public com.liferay.portlet.blogs.model.BlogsEntry findByCategoryId_First(long categoryId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portal.SystemException,
                                                                         com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCategoryId_Last

public com.liferay.portlet.blogs.model.BlogsEntry findByCategoryId_Last(long categoryId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByCategoryId_PrevAndNext

public com.liferay.portlet.blogs.model.BlogsEntry[] findByCategoryId_PrevAndNext(long entryId,
                                                                                 long categoryId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portal.SystemException,
                                                                                 com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByG_U

public java.util.List findByG_U(long groupId,
                                long userId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

public java.util.List findByG_U(long groupId,
                                long userId,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U

public java.util.List findByG_U(long groupId,
                                long userId,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_U_First

public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(long groupId,
                                                                  long userId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByG_U_Last

public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(long groupId,
                                                                 long userId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByG_U_PrevAndNext

public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(long entryId,
                                                                          long groupId,
                                                                          long userId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException,
                                                                          com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByG_UT

public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId,
                                                             java.lang.String urlTitle)
                                                      throws com.liferay.portal.SystemException,
                                                             com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

fetchByG_UT

public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(long groupId,
                                                              java.lang.String urlTitle)
                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_U

public java.util.List findByC_U(long companyId,
                                long userId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_U

public java.util.List findByC_U(long companyId,
                                long userId,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_U

public java.util.List findByC_U(long companyId,
                                long userId,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_U_First

public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First(long companyId,
                                                                  long userId,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portal.SystemException,
                                                                  com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByC_U_Last

public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(long companyId,
                                                                 long userId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findByC_U_PrevAndNext

public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(long entryId,
                                                                          long companyId,
                                                                          long userId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException,
                                                                          com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
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
Throws:
com.liferay.portal.SystemException

removeByGroupId

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

removeByCompanyId

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

removeByCategoryId

public void removeByCategoryId(long categoryId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_UT

public void removeByG_UT(long groupId,
                         java.lang.String urlTitle)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portlet.blogs.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.blogs.NoSuchEntryException

removeByC_U

public void removeByC_U(long companyId,
                        long userId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCategoryId

public int countByCategoryId(long categoryId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_UT

public int countByG_UT(long groupId,
                       java.lang.String urlTitle)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_U

public int countByC_U(long companyId,
                      long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException