com.liferay.portlet.messageboards.service.persistence
Interface MBBanPersistence

All Known Implementing Classes:
MBBanPersistenceImpl

public interface MBBanPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByBanUserId(long banUserId)
           
 int countByG_B(long groupId, long banUserId)
           
 int countByGroupId(long groupId)
           
 int countByUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBBan create(long banId)
           
 com.liferay.portlet.messageboards.model.MBBan fetchByG_B(long groupId, long banUserId)
           
 com.liferay.portlet.messageboards.model.MBBan fetchByPrimaryKey(long banId)
           
 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.messageboards.model.MBBan findByBanUserId_First(long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan findByBanUserId_Last(long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan[] findByBanUserId_PrevAndNext(long banId, long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByBanUserId(long banUserId)
           
 java.util.List findByBanUserId(long banUserId, int begin, int end)
           
 java.util.List findByBanUserId(long banUserId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan findByG_B(long groupId, long banUserId)
           
 com.liferay.portlet.messageboards.model.MBBan findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan[] findByGroupId_PrevAndNext(long banId, 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.messageboards.model.MBBan findByPrimaryKey(long banId)
           
 com.liferay.portlet.messageboards.model.MBBan findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBBan[] findByUserId_PrevAndNext(long banId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByUserId(long userId)
           
 java.util.List findByUserId(long userId, int begin, int end)
           
 java.util.List findByUserId(long userId, 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)
           
 com.liferay.portlet.messageboards.model.MBBan remove(long banId)
           
 com.liferay.portlet.messageboards.model.MBBan remove(com.liferay.portlet.messageboards.model.MBBan mbBan)
           
 void removeAll()
           
 void removeByBanUserId(long banUserId)
           
 void removeByG_B(long groupId, long banUserId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBBan update(com.liferay.portlet.messageboards.model.MBBan mbBan)
           
 com.liferay.portlet.messageboards.model.MBBan update(com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.messageboards.model.MBBan create(long banId)

remove

public com.liferay.portlet.messageboards.model.MBBan remove(long banId)
                                                     throws com.liferay.portal.SystemException,
                                                            com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

remove

public com.liferay.portlet.messageboards.model.MBBan remove(com.liferay.portlet.messageboards.model.MBBan mbBan)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.messageboards.model.MBBan update(com.liferay.portlet.messageboards.model.MBBan mbBan)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.messageboards.model.MBBan update(com.liferay.portlet.messageboards.model.MBBan mbBan,
                                                            boolean merge)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.messageboards.model.MBBan findByPrimaryKey(long banId)
                                                               throws com.liferay.portal.SystemException,
                                                                      com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

fetchByPrimaryKey

public com.liferay.portlet.messageboards.model.MBBan fetchByPrimaryKey(long banId)
                                                                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.messageboards.model.MBBan findByGroupId_First(long groupId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portal.SystemException,
                                                                         com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByGroupId_Last

public com.liferay.portlet.messageboards.model.MBBan findByGroupId_Last(long groupId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByGroupId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBBan[] findByGroupId_PrevAndNext(long banId,
                                                                                 long groupId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portal.SystemException,
                                                                                 com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByUserId

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

findByUserId

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

findByUserId

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

findByUserId_First

public com.liferay.portlet.messageboards.model.MBBan findByUserId_First(long userId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portal.SystemException,
                                                                        com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByUserId_Last

public com.liferay.portlet.messageboards.model.MBBan findByUserId_Last(long userId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByUserId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBBan[] findByUserId_PrevAndNext(long banId,
                                                                                long userId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portal.SystemException,
                                                                                com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByBanUserId

public java.util.List findByBanUserId(long banUserId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByBanUserId

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

findByBanUserId

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

findByBanUserId_First

public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_First(long banUserId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByBanUserId_Last

public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_Last(long banUserId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portal.SystemException,
                                                                          com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByBanUserId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBBan[] findByBanUserId_PrevAndNext(long banId,
                                                                                   long banUserId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException,
                                                                                   com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

findByG_B

public com.liferay.portlet.messageboards.model.MBBan findByG_B(long groupId,
                                                               long banUserId)
                                                        throws com.liferay.portal.SystemException,
                                                               com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

fetchByG_B

public com.liferay.portlet.messageboards.model.MBBan fetchByG_B(long groupId,
                                                                long banUserId)
                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByBanUserId

public void removeByBanUserId(long banUserId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_B

public void removeByG_B(long groupId,
                        long banUserId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portlet.messageboards.NoSuchBanException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchBanException

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

countByUserId

public int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByBanUserId

public int countByBanUserId(long banUserId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_B

public int countByG_B(long groupId,
                      long banUserId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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