@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface ScreensCommentService
extends com.liferay.portal.kernel.service.BaseService
ScreensCommentServiceUtil
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.json.JSONObject |
addComment(java.lang.String className,
long classPK,
java.lang.String body) |
com.liferay.portal.kernel.json.JSONObject |
getComment(long commentId) |
com.liferay.portal.kernel.json.JSONArray |
getComments(java.lang.String className,
long classPK,
int start,
int end) |
int |
getCommentsCount(java.lang.String className,
long classPK) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.json.JSONObject |
updateComment(long commentId,
java.lang.String body) |
com.liferay.portal.kernel.json.JSONObject addComment(java.lang.String className, long classPK, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.json.JSONObject getComment(long commentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.json.JSONArray getComments(java.lang.String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCommentsCount(java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
com.liferay.portal.kernel.json.JSONObject updateComment(long commentId, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException