com.liferay.portlet.messageboards.service
Interface MBMessageFlagLocalService


public interface MBMessageFlagLocalService

View Source

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

This interface defines the service. The default implementation is com.liferay.portlet.messageboards.service.impl.MBMessageFlagLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
MBMessageFlagLocalServiceUtil

Method Summary
 MBMessageFlag addMBMessageFlag(MBMessageFlag mbMessageFlag)
           
 void addReadFlags(long userId, java.util.List<MBMessage> messages)
           
 void deleteFlags(long userId)
           
 void deleteMBMessageFlag(long messageFlagId)
           
 void deleteMBMessageFlag(MBMessageFlag mbMessageFlag)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 MBMessageFlag getMBMessageFlag(long messageFlagId)
           
 java.util.List<MBMessageFlag> getMBMessageFlags(int start, int end)
           
 int getMBMessageFlagsCount()
           
 boolean hasReadFlag(long userId, long messageId)
           
 MBMessageFlag updateMBMessageFlag(MBMessageFlag mbMessageFlag)
           
 

Method Detail

addMBMessageFlag

MBMessageFlag addMBMessageFlag(MBMessageFlag mbMessageFlag)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteMBMessageFlag

void deleteMBMessageFlag(long messageFlagId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteMBMessageFlag

void deleteMBMessageFlag(MBMessageFlag mbMessageFlag)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getMBMessageFlag

MBMessageFlag getMBMessageFlag(long messageFlagId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getMBMessageFlags

java.util.List<MBMessageFlag> getMBMessageFlags(int start,
                                                int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getMBMessageFlagsCount

int getMBMessageFlagsCount()
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateMBMessageFlag

MBMessageFlag updateMBMessageFlag(MBMessageFlag mbMessageFlag)
                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addReadFlags

void addReadFlags(long userId,
                  java.util.List<MBMessage> messages)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFlags

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

hasReadFlag

boolean hasReadFlag(long userId,
                    long messageId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException