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

All Superinterfaces:
BasePersistence<MBBan>

public interface MBBanPersistence
extends BasePersistence<MBBan>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
MBBanPersistenceImpl, MBBanUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBBan> mbBans)
           
 void cacheResult(MBBan mbBan)
           
 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 fetchByG_B(long groupId, long banUserId, boolean retrieveFromCache)
           
 MBBan fetchByPrimaryKey(long banId)
           
 java.util.List<MBBan> findAll()
           
 java.util.List<MBBan> findAll(int start, int end)
           
 java.util.List<MBBan> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBBan findByBanUserId_First(long banUserId, OrderByComparator orderByComparator)
           
 MBBan findByBanUserId_Last(long banUserId, OrderByComparator orderByComparator)
           
 MBBan[] findByBanUserId_PrevAndNext(long banId, long banUserId, OrderByComparator orderByComparator)
           
 java.util.List<MBBan> findByBanUserId(long banUserId)
           
 java.util.List<MBBan> findByBanUserId(long banUserId, int start, int end)
           
 java.util.List<MBBan> findByBanUserId(long banUserId, int start, int end, OrderByComparator orderByComparator)
           
 MBBan findByG_B(long groupId, long banUserId)
           
 MBBan findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 MBBan findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 MBBan[] findByGroupId_PrevAndNext(long banId, long groupId, OrderByComparator orderByComparator)
           
 java.util.List<MBBan> findByGroupId(long groupId)
           
 java.util.List<MBBan> findByGroupId(long groupId, int start, int end)
           
 java.util.List<MBBan> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 MBBan findByPrimaryKey(long banId)
           
 MBBan findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 MBBan findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 MBBan[] findByUserId_PrevAndNext(long banId, long userId, OrderByComparator orderByComparator)
           
 java.util.List<MBBan> findByUserId(long userId)
           
 java.util.List<MBBan> findByUserId(long userId, int start, int end)
           
 java.util.List<MBBan> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 MBBan remove(long banId)
           
 void removeAll()
           
 void removeByBanUserId(long banUserId)
           
 void removeByG_B(long groupId, long banUserId)
           
 void removeByGroupId(long groupId)
           
 void removeByUserId(long userId)
           
 MBBan updateImpl(MBBan mbBan, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(MBBan mbBan)

cacheResult

void cacheResult(java.util.List<MBBan> mbBans)

create

MBBan create(long banId)

remove

MBBan remove(long banId)
             throws SystemException,
                    NoSuchBanException
Throws:
SystemException
NoSuchBanException

updateImpl

MBBan updateImpl(MBBan mbBan,
                 boolean merge)
                 throws SystemException
Throws:
SystemException

findByPrimaryKey

MBBan findByPrimaryKey(long banId)
                       throws SystemException,
                              NoSuchBanException
Throws:
SystemException
NoSuchBanException

fetchByPrimaryKey

MBBan fetchByPrimaryKey(long banId)
                        throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<MBBan> findByGroupId(long groupId)
                                    throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<MBBan> findByGroupId(long groupId,
                                    int start,
                                    int end)
                                    throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<MBBan> findByGroupId(long groupId,
                                    int start,
                                    int end,
                                    OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

findByGroupId_First

MBBan findByGroupId_First(long groupId,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByGroupId_Last

MBBan findByGroupId_Last(long groupId,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByGroupId_PrevAndNext

MBBan[] findByGroupId_PrevAndNext(long banId,
                                  long groupId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId

java.util.List<MBBan> findByUserId(long userId)
                                   throws SystemException
Throws:
SystemException

findByUserId

java.util.List<MBBan> findByUserId(long userId,
                                   int start,
                                   int end)
                                   throws SystemException
Throws:
SystemException

findByUserId

java.util.List<MBBan> findByUserId(long userId,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

findByUserId_First

MBBan findByUserId_First(long userId,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId_Last

MBBan findByUserId_Last(long userId,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByUserId_PrevAndNext

MBBan[] findByUserId_PrevAndNext(long banId,
                                 long userId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId

java.util.List<MBBan> findByBanUserId(long banUserId)
                                      throws SystemException
Throws:
SystemException

findByBanUserId

java.util.List<MBBan> findByBanUserId(long banUserId,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findByBanUserId

java.util.List<MBBan> findByBanUserId(long banUserId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

findByBanUserId_First

MBBan findByBanUserId_First(long banUserId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId_Last

MBBan findByBanUserId_Last(long banUserId,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByBanUserId_PrevAndNext

MBBan[] findByBanUserId_PrevAndNext(long banId,
                                    long banUserId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchBanException
Throws:
SystemException
NoSuchBanException

findByG_B

MBBan findByG_B(long groupId,
                long banUserId)
                throws SystemException,
                       NoSuchBanException
Throws:
SystemException
NoSuchBanException

fetchByG_B

MBBan fetchByG_B(long groupId,
                 long banUserId)
                 throws SystemException
Throws:
SystemException

fetchByG_B

MBBan fetchByG_B(long groupId,
                 long banUserId,
                 boolean retrieveFromCache)
                 throws SystemException
Throws:
SystemException

findAll

java.util.List<MBBan> findAll()
                              throws SystemException
Throws:
SystemException

findAll

java.util.List<MBBan> findAll(int start,
                              int end)
                              throws SystemException
Throws:
SystemException

findAll

java.util.List<MBBan> findAll(int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeByBanUserId

void removeByBanUserId(long banUserId)
                       throws SystemException
Throws:
SystemException

removeByG_B

void removeByG_B(long groupId,
                 long banUserId)
                 throws SystemException,
                        NoSuchBanException
Throws:
SystemException
NoSuchBanException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countByBanUserId

int countByBanUserId(long banUserId)
                     throws SystemException
Throws:
SystemException

countByG_B

int countByG_B(long groupId,
               long banUserId)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException