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:
com.liferay.portlet.messageboards.service.MBMessageFlagServiceFactory
,
com.liferay.portlet.messageboards.service.MBMessageFlagServiceUtil
addMBMessageFlag
public MBMessageFlag addMBMessageFlag(MBMessageFlag model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateMBMessageFlag
public MBMessageFlag updateMBMessageFlag(MBMessageFlag model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addReadFlags
public void addReadFlags(long userId,
java.util.List messages)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteFlags
public void deleteFlags(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasReadFlag
public boolean hasReadFlag(long userId,
long messageId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException