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:
MBMessageFlagLocalServiceFactory
,
MBMessageFlagLocalServiceUtil
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,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
dynamicQuery
java.util.List<MBMessageFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<MBMessageFlag> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException