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


public interface BlogsEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByC_U(long companyId, long userId)
           
 int countByCompanyId(long companyId)
           
 int countByG_U(long groupId, long userId)
           
 int countByG_UT(long groupId, java.lang.String urlTitle)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 BlogsEntry create(long entryId)
           
 BlogsEntry fetchByG_UT(long groupId, java.lang.String urlTitle)
           
 BlogsEntry fetchByPrimaryKey(long entryId)
           
 BlogsEntry fetchByUUID_G(java.lang.String uuid, long groupId)
           
 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)
           
 BlogsEntry findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsEntry findByG_UT(long groupId, java.lang.String urlTitle)
           
 BlogsEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsEntry findByPrimaryKey(long entryId)
           
 BlogsEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry findByUUID_G(java.lang.String uuid, long groupId)
           
 BlogsEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 BlogsEntry[] findByUuid_PrevAndNext(long entryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUuid(java.lang.String uuid)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end)
           
 java.util.List findByUuid(java.lang.String uuid, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 BlogsEntry remove(BlogsEntry blogsEntry)
           
 BlogsEntry remove(long entryId)
           
 void removeAll()
           
 void removeByC_U(long companyId, long userId)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_U(long groupId, long userId)
           
 void removeByG_UT(long groupId, java.lang.String urlTitle)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 BlogsEntry update(BlogsEntry blogsEntry)
           
 BlogsEntry update(BlogsEntry blogsEntry, boolean merge)
           
 BlogsEntry updateImpl(BlogsEntry blogsEntry, boolean merge)
           
 

Method Detail

create

public BlogsEntry create(long entryId)

remove

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

remove

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

update

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

update

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

updateImpl

public BlogsEntry updateImpl(BlogsEntry blogsEntry,
                             boolean merge)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

public java.util.List findByUuid(java.lang.String uuid)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public java.util.List findByUuid(java.lang.String uuid,
                                 int begin,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

public BlogsEntry findByUuid_First(java.lang.String uuid,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByUuid_Last

public BlogsEntry findByUuid_Last(java.lang.String uuid,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByUuid_PrevAndNext

public BlogsEntry[] findByUuid_PrevAndNext(long entryId,
                                           java.lang.String uuid,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByUUID_G

public BlogsEntry findByUUID_G(java.lang.String uuid,
                               long groupId)
                        throws com.liferay.portal.SystemException,
                               NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

fetchByUUID_G

public BlogsEntry fetchByUUID_G(java.lang.String uuid,
                                long groupId)
                         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 BlogsEntry findByGroupId_First(long groupId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.SystemException,
                                      NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByGroupId_Last

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

findByGroupId_PrevAndNext

public BlogsEntry[] findByGroupId_PrevAndNext(long entryId,
                                              long groupId,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchEntryException
Throws:
com.liferay.portal.SystemException
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 BlogsEntry findByCompanyId_First(long companyId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

public BlogsEntry[] findByCompanyId_PrevAndNext(long entryId,
                                                long companyId,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchEntryException
Throws:
com.liferay.portal.SystemException
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 BlogsEntry findByG_U_First(long groupId,
                                  long userId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByG_U_Last

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

findByG_U_PrevAndNext

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

findByG_UT

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

fetchByG_UT

public 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 BlogsEntry findByC_U_First(long companyId,
                                  long userId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.SystemException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByC_U_Last

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

findByC_U_PrevAndNext

public BlogsEntry[] findByC_U_PrevAndNext(long entryId,
                                          long companyId,
                                          long userId,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchEntryException
Throws:
com.liferay.portal.SystemException
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

removeByUuid

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

removeByUUID_G

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

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

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,
                         NoSuchEntryException
Throws:
com.liferay.portal.SystemException
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

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUUID_G

public int countByUUID_G(java.lang.String uuid,
                         long groupId)
                  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

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