1
14
15 package com.liferay.portlet.messageboards.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Transactional;
19 import com.liferay.portal.kernel.exception.PortalException;
20 import com.liferay.portal.kernel.exception.SystemException;
21
22
46 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
47 PortalException.class, SystemException.class})
48 public interface MBThreadService {
49 public void deleteThread(long threadId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException;
52
53 public com.liferay.portal.model.Lock lockThread(long threadId)
54 throws com.liferay.portal.kernel.exception.PortalException,
55 com.liferay.portal.kernel.exception.SystemException;
56
57 public com.liferay.portlet.messageboards.model.MBThread moveThread(
58 long categoryId, long threadId)
59 throws com.liferay.portal.kernel.exception.PortalException,
60 com.liferay.portal.kernel.exception.SystemException;
61
62 public com.liferay.portlet.messageboards.model.MBThread splitThread(
63 long messageId, com.liferay.portal.service.ServiceContext serviceContext)
64 throws com.liferay.portal.kernel.exception.PortalException,
65 com.liferay.portal.kernel.exception.SystemException;
66
67 public void unlockThread(long threadId)
68 throws com.liferay.portal.kernel.exception.PortalException,
69 com.liferay.portal.kernel.exception.SystemException;
70 }