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


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)
           
 MBBan create(long banId)
           
 MBBan fetchByG_B(long groupId, long banUserId)
           
 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)
           
 MBBan findByBanUserId_First(long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBBan findByBanUserId_Last(long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 MBBan findByG_B(long groupId, long banUserId)
           
 MBBan findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBBan findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 MBBan findByPrimaryKey(long banId)
           
 MBBan findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBBan findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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)
           
 MBBan remove(long banId)
           
 MBBan remove(MBBan mbBan)
           
 void removeAll()
           
 void removeByBanUserId(long banUserId)
           
 void removeByG_B(long groupId, long banUserId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 MBBan update(MBBan mbBan)
           
 MBBan update(MBBan mbBan, boolean merge)
           
 MBBan updateImpl(MBBan mbBan, boolean merge)
           
 

Method Detail

create

public MBBan create(long banId)

remove

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

remove

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

update

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

update

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

updateImpl

public MBBan updateImpl(MBBan mbBan,
                        boolean merge)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

public MBBan[] findByGroupId_PrevAndNext(long banId,
                                         long groupId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchBanException
Throws:
com.liferay.portal.SystemException
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 MBBan findByUserId_First(long userId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException,
                                NoSuchBanException
Throws:
com.liferay.portal.SystemException
NoSuchBanException

findByUserId_Last

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

findByUserId_PrevAndNext

public MBBan[] findByUserId_PrevAndNext(long banId,
                                        long userId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchBanException
Throws:
com.liferay.portal.SystemException
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 MBBan findByBanUserId_First(long banUserId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchBanException
Throws:
com.liferay.portal.SystemException
NoSuchBanException

findByBanUserId_Last

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

findByBanUserId_PrevAndNext

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

findByG_B

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

fetchByG_B

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