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

All Superinterfaces:
BasePersistence<MBMessageFlag>

public interface MBMessageFlagPersistence
extends BasePersistence<MBMessageFlag>

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:
MBMessageFlagPersistenceImpl, MBMessageFlagUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBMessageFlag> mbMessageFlags)
           
 void cacheResult(MBMessageFlag mbMessageFlag)
           
 int countAll()
           
 int countByM_F(long messageId, int flag)
           
 int countByMessageId(long messageId)
           
 int countByT_F(long threadId, int flag)
           
 int countByThreadId(long threadId)
           
 int countByU_M_F(long userId, long messageId, int flag)
           
 int countByU_T_F(long userId, long threadId, int flag)
           
 int countByUserId(long userId)
           
 MBMessageFlag create(long messageFlagId)
           
 MBMessageFlag fetchByPrimaryKey(long messageFlagId)
           
 MBMessageFlag fetchByU_M_F(long userId, long messageId, int flag)
           
 MBMessageFlag fetchByU_M_F(long userId, long messageId, int flag, boolean retrieveFromCache)
           
 java.util.List<MBMessageFlag> findAll()
           
 java.util.List<MBMessageFlag> findAll(int start, int end)
           
 java.util.List<MBMessageFlag> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByM_F_First(long messageId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag findByM_F_Last(long messageId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByM_F_PrevAndNext(long messageFlagId, long messageId, int flag, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByM_F(long messageId, int flag)
           
 java.util.List<MBMessageFlag> findByM_F(long messageId, int flag, int start, int end)
           
 java.util.List<MBMessageFlag> findByM_F(long messageId, int flag, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByMessageId_First(long messageId, OrderByComparator orderByComparator)
           
 MBMessageFlag findByMessageId_Last(long messageId, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId, long messageId, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByMessageId(long messageId)
           
 java.util.List<MBMessageFlag> findByMessageId(long messageId, int start, int end)
           
 java.util.List<MBMessageFlag> findByMessageId(long messageId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByPrimaryKey(long messageFlagId)
           
 MBMessageFlag findByT_F_First(long threadId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag findByT_F_Last(long threadId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByT_F_PrevAndNext(long messageFlagId, long threadId, int flag, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByT_F(long threadId, int flag)
           
 java.util.List<MBMessageFlag> findByT_F(long threadId, int flag, int start, int end)
           
 java.util.List<MBMessageFlag> findByT_F(long threadId, int flag, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByThreadId_First(long threadId, OrderByComparator orderByComparator)
           
 MBMessageFlag findByThreadId_Last(long threadId, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByThreadId_PrevAndNext(long messageFlagId, long threadId, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByThreadId(long threadId)
           
 java.util.List<MBMessageFlag> findByThreadId(long threadId, int start, int end)
           
 java.util.List<MBMessageFlag> findByThreadId(long threadId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByU_M_F(long userId, long messageId, int flag)
           
 MBMessageFlag findByU_T_F_First(long userId, long threadId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag findByU_T_F_Last(long userId, long threadId, int flag, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByU_T_F_PrevAndNext(long messageFlagId, long userId, long threadId, int flag, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag)
           
 java.util.List<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag, int start, int end)
           
 java.util.List<MBMessageFlag> findByU_T_F(long userId, long threadId, int flag, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 MBMessageFlag findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId, long userId, OrderByComparator orderByComparator)
           
 java.util.List<MBMessageFlag> findByUserId(long userId)
           
 java.util.List<MBMessageFlag> findByUserId(long userId, int start, int end)
           
 java.util.List<MBMessageFlag> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
 MBMessageFlag remove(long messageFlagId)
           
 void removeAll()
           
 void removeByM_F(long messageId, int flag)
           
 void removeByMessageId(long messageId)
           
 void removeByT_F(long threadId, int flag)
           
 void removeByThreadId(long threadId)
           
 void removeByU_M_F(long userId, long messageId, int flag)
           
 void removeByU_T_F(long userId, long threadId, int flag)
           
 void removeByUserId(long userId)
           
 MBMessageFlag updateImpl(MBMessageFlag mbMessageFlag, 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(MBMessageFlag mbMessageFlag)

cacheResult

void cacheResult(java.util.List<MBMessageFlag> mbMessageFlags)

create

MBMessageFlag create(long messageFlagId)

remove

MBMessageFlag remove(long messageFlagId)
                     throws SystemException,
                            NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

updateImpl

MBMessageFlag updateImpl(MBMessageFlag mbMessageFlag,
                         boolean merge)
                         throws SystemException
Throws:
SystemException

findByPrimaryKey

MBMessageFlag findByPrimaryKey(long messageFlagId)
                               throws SystemException,
                                      NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

fetchByPrimaryKey

MBMessageFlag fetchByPrimaryKey(long messageFlagId)
                                throws SystemException
Throws:
SystemException

findByUserId

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

findByUserId

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

findByUserId

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

findByUserId_First

MBMessageFlag findByUserId_First(long userId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByUserId_Last

MBMessageFlag findByUserId_Last(long userId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByUserId_PrevAndNext

MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId,
                                         long userId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByThreadId

java.util.List<MBMessageFlag> findByThreadId(long threadId)
                                             throws SystemException
Throws:
SystemException

findByThreadId

java.util.List<MBMessageFlag> findByThreadId(long threadId,
                                             int start,
                                             int end)
                                             throws SystemException
Throws:
SystemException

findByThreadId

java.util.List<MBMessageFlag> findByThreadId(long threadId,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                             throws SystemException
Throws:
SystemException

findByThreadId_First

MBMessageFlag findByThreadId_First(long threadId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByThreadId_Last

MBMessageFlag findByThreadId_Last(long threadId,
                                  OrderByComparator orderByComparator)
                                  throws SystemException,
                                         NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByThreadId_PrevAndNext

MBMessageFlag[] findByThreadId_PrevAndNext(long messageFlagId,
                                           long threadId,
                                           OrderByComparator orderByComparator)
                                           throws SystemException,
                                                  NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByMessageId

java.util.List<MBMessageFlag> findByMessageId(long messageId)
                                              throws SystemException
Throws:
SystemException

findByMessageId

java.util.List<MBMessageFlag> findByMessageId(long messageId,
                                              int start,
                                              int end)
                                              throws SystemException
Throws:
SystemException

findByMessageId

java.util.List<MBMessageFlag> findByMessageId(long messageId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException

findByMessageId_First

MBMessageFlag findByMessageId_First(long messageId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByMessageId_Last

MBMessageFlag findByMessageId_Last(long messageId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByMessageId_PrevAndNext

MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId,
                                            long messageId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByT_F

java.util.List<MBMessageFlag> findByT_F(long threadId,
                                        int flag)
                                        throws SystemException
Throws:
SystemException

findByT_F

java.util.List<MBMessageFlag> findByT_F(long threadId,
                                        int flag,
                                        int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

findByT_F

java.util.List<MBMessageFlag> findByT_F(long threadId,
                                        int flag,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

findByT_F_First

MBMessageFlag findByT_F_First(long threadId,
                              int flag,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByT_F_Last

MBMessageFlag findByT_F_Last(long threadId,
                             int flag,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByT_F_PrevAndNext

MBMessageFlag[] findByT_F_PrevAndNext(long messageFlagId,
                                      long threadId,
                                      int flag,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByM_F

java.util.List<MBMessageFlag> findByM_F(long messageId,
                                        int flag)
                                        throws SystemException
Throws:
SystemException

findByM_F

java.util.List<MBMessageFlag> findByM_F(long messageId,
                                        int flag,
                                        int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

findByM_F

java.util.List<MBMessageFlag> findByM_F(long messageId,
                                        int flag,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

findByM_F_First

MBMessageFlag findByM_F_First(long messageId,
                              int flag,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByM_F_Last

MBMessageFlag findByM_F_Last(long messageId,
                             int flag,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByM_F_PrevAndNext

MBMessageFlag[] findByM_F_PrevAndNext(long messageFlagId,
                                      long messageId,
                                      int flag,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByU_T_F

java.util.List<MBMessageFlag> findByU_T_F(long userId,
                                          long threadId,
                                          int flag)
                                          throws SystemException
Throws:
SystemException

findByU_T_F

java.util.List<MBMessageFlag> findByU_T_F(long userId,
                                          long threadId,
                                          int flag,
                                          int start,
                                          int end)
                                          throws SystemException
Throws:
SystemException

findByU_T_F

java.util.List<MBMessageFlag> findByU_T_F(long userId,
                                          long threadId,
                                          int flag,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                          throws SystemException
Throws:
SystemException

findByU_T_F_First

MBMessageFlag findByU_T_F_First(long userId,
                                long threadId,
                                int flag,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByU_T_F_Last

MBMessageFlag findByU_T_F_Last(long userId,
                               long threadId,
                               int flag,
                               OrderByComparator orderByComparator)
                               throws SystemException,
                                      NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByU_T_F_PrevAndNext

MBMessageFlag[] findByU_T_F_PrevAndNext(long messageFlagId,
                                        long userId,
                                        long threadId,
                                        int flag,
                                        OrderByComparator orderByComparator)
                                        throws SystemException,
                                               NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

findByU_M_F

MBMessageFlag findByU_M_F(long userId,
                          long messageId,
                          int flag)
                          throws SystemException,
                                 NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

fetchByU_M_F

MBMessageFlag fetchByU_M_F(long userId,
                           long messageId,
                           int flag)
                           throws SystemException
Throws:
SystemException

fetchByU_M_F

MBMessageFlag fetchByU_M_F(long userId,
                           long messageId,
                           int flag,
                           boolean retrieveFromCache)
                           throws SystemException
Throws:
SystemException

findAll

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

findAll

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

findAll

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

removeByUserId

void removeByUserId(long userId)
                    throws SystemException
Throws:
SystemException

removeByThreadId

void removeByThreadId(long threadId)
                      throws SystemException
Throws:
SystemException

removeByMessageId

void removeByMessageId(long messageId)
                       throws SystemException
Throws:
SystemException

removeByT_F

void removeByT_F(long threadId,
                 int flag)
                 throws SystemException
Throws:
SystemException

removeByM_F

void removeByM_F(long messageId,
                 int flag)
                 throws SystemException
Throws:
SystemException

removeByU_T_F

void removeByU_T_F(long userId,
                   long threadId,
                   int flag)
                   throws SystemException
Throws:
SystemException

removeByU_M_F

void removeByU_M_F(long userId,
                   long messageId,
                   int flag)
                   throws SystemException,
                          NoSuchMessageFlagException
Throws:
SystemException
NoSuchMessageFlagException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUserId

int countByUserId(long userId)
                  throws SystemException
Throws:
SystemException

countByThreadId

int countByThreadId(long threadId)
                    throws SystemException
Throws:
SystemException

countByMessageId

int countByMessageId(long messageId)
                     throws SystemException
Throws:
SystemException

countByT_F

int countByT_F(long threadId,
               int flag)
               throws SystemException
Throws:
SystemException

countByM_F

int countByM_F(long messageId,
               int flag)
               throws SystemException
Throws:
SystemException

countByU_T_F

int countByU_T_F(long userId,
                 long threadId,
                 int flag)
                 throws SystemException
Throws:
SystemException

countByU_M_F

int countByU_M_F(long userId,
                 long messageId,
                 int flag)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException