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

All Known Implementing Classes:
MBMessageFlagPersistenceImpl

public interface MBMessageFlagPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByMessageId(long messageId)
           
 int countByU_M(long userId, long messageId)
           
 int countByUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag create(long messageFlagId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag fetchByPrimaryKey(long messageFlagId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag fetchByU_M(long userId, long messageId)
           
 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.MBMessageFlag findByMessageId_First(long messageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag findByMessageId_Last(long messageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId, long messageId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByMessageId(long messageId)
           
 java.util.List findByMessageId(long messageId, int begin, int end)
           
 java.util.List findByMessageId(long messageId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag findByPrimaryKey(long messageFlagId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag findByU_M(long userId, long messageId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag[] findByUserId_PrevAndNext(long messageFlagId, 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.MBMessageFlag remove(long messageFlagId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag remove(com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
           
 void removeAll()
           
 void removeByMessageId(long messageId)
           
 void removeByU_M(long userId, long messageId)
           
 void removeByUserId(long userId)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag update(com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
           
 com.liferay.portlet.messageboards.model.MBMessageFlag update(com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.messageboards.model.MBMessageFlag create(long messageFlagId)

remove

public com.liferay.portlet.messageboards.model.MBMessageFlag remove(long messageFlagId)
                                                             throws com.liferay.portal.SystemException,
                                                                    com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

remove

public com.liferay.portlet.messageboards.model.MBMessageFlag remove(com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.messageboards.model.MBMessageFlag update(com.liferay.portlet.messageboards.model.MBMessageFlag mbMessageFlag)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByPrimaryKey

public com.liferay.portlet.messageboards.model.MBMessageFlag findByPrimaryKey(long messageFlagId)
                                                                       throws com.liferay.portal.SystemException,
                                                                              com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

fetchByPrimaryKey

public com.liferay.portlet.messageboards.model.MBMessageFlag fetchByPrimaryKey(long messageFlagId)
                                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

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.MBMessageFlag findByUserId_First(long userId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                         throws com.liferay.portal.SystemException,
                                                                                com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

findByUserId_Last

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

findByUserId_PrevAndNext

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

findByMessageId

public java.util.List findByMessageId(long messageId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByMessageId

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

findByMessageId

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

findByMessageId_First

public com.liferay.portlet.messageboards.model.MBMessageFlag findByMessageId_First(long messageId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException,
                                                                                   com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

findByMessageId_Last

public com.liferay.portlet.messageboards.model.MBMessageFlag findByMessageId_Last(long messageId,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                           throws com.liferay.portal.SystemException,
                                                                                  com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

findByMessageId_PrevAndNext

public com.liferay.portlet.messageboards.model.MBMessageFlag[] findByMessageId_PrevAndNext(long messageFlagId,
                                                                                           long messageId,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                    throws com.liferay.portal.SystemException,
                                                                                           com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

findByU_M

public com.liferay.portlet.messageboards.model.MBMessageFlag findByU_M(long userId,
                                                                       long messageId)
                                                                throws com.liferay.portal.SystemException,
                                                                       com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

fetchByU_M

public com.liferay.portlet.messageboards.model.MBMessageFlag fetchByU_M(long userId,
                                                                        long messageId)
                                                                 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

removeByUserId

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

removeByMessageId

public void removeByMessageId(long messageId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByU_M

public void removeByU_M(long userId,
                        long messageId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portlet.messageboards.NoSuchMessageFlagException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.messageboards.NoSuchMessageFlagException

removeAll

public void removeAll()
               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

countByMessageId

public int countByMessageId(long messageId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_M

public int countByU_M(long userId,
                      long messageId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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