com.liferay.portlet.messageboards.service
Interface MBMessageFlagLocalService
- All Known Implementing Classes:
- MBMessageFlagLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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
- Generated:
Method Summary |
MBMessageFlag |
addMBMessageFlag(MBMessageFlag mbMessageFlag)
|
void |
addQuestionFlag(long messageId)
|
void |
addReadFlags(long userId,
MBThread thread)
|
MBMessageFlag |
createMBMessageFlag(long messageFlagId)
|
void |
deleteAnswerFlags(long threadId,
long messageId)
|
void |
deleteFlags(long userId)
|
void |
deleteFlags(long messageId,
int flag)
|
void |
deleteMBMessageFlag(long messageFlagId)
|
void |
deleteMBMessageFlag(MBMessageFlag mbMessageFlag)
|
void |
deleteQuestionAndAnswerFlags(long threadId)
|
void |
deleteThreadFlags(long threadId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
MBMessageFlag |
getMBMessageFlag(long messageFlagId)
|
java.util.List<MBMessageFlag> |
getMBMessageFlags(int start,
int end)
|
int |
getMBMessageFlagsCount()
|
MBMessageFlag |
getReadFlag(long userId,
MBThread thread)
|
boolean |
hasAnswerFlag(long messageId)
|
boolean |
hasQuestionFlag(long messageId)
|
boolean |
hasReadFlag(long userId,
MBThread thread)
|
MBMessageFlag |
updateMBMessageFlag(MBMessageFlag mbMessageFlag)
|
MBMessageFlag |
updateMBMessageFlag(MBMessageFlag mbMessageFlag,
boolean merge)
|
addMBMessageFlag
MBMessageFlag addMBMessageFlag(MBMessageFlag mbMessageFlag)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createMBMessageFlag
MBMessageFlag createMBMessageFlag(long messageFlagId)
deleteMBMessageFlag
void deleteMBMessageFlag(long messageFlagId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteMBMessageFlag
void deleteMBMessageFlag(MBMessageFlag mbMessageFlag)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBMessageFlag
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag getMBMessageFlag(long messageFlagId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getMBMessageFlags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMessageFlag> getMBMessageFlags(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBMessageFlagsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
updateMBMessageFlag
MBMessageFlag updateMBMessageFlag(MBMessageFlag mbMessageFlag,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addQuestionFlag
void addQuestionFlag(long messageId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addReadFlags
void addReadFlags(long userId,
MBThread thread)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteAnswerFlags
void deleteAnswerFlags(long threadId,
long messageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteFlags
void deleteFlags(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteFlags
void deleteFlags(long messageId,
int flag)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteQuestionAndAnswerFlags
void deleteQuestionAndAnswerFlags(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteThreadFlags
void deleteThreadFlags(long threadId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReadFlag
@Transactional(propagation=SUPPORTS,
readOnly=true)
MBMessageFlag getReadFlag(long userId,
MBThread thread)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasAnswerFlag
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasAnswerFlag(long messageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasQuestionFlag
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasQuestionFlag(long messageId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasReadFlag
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasReadFlag(long userId,
MBThread thread)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException