Interface KBTemplateService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
KBTemplateServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface KBTemplateService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for KBTemplate. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionaddKBTemplate
(String portletId, String title, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteKBTemplate
(long kbTemplateId) void
deleteKBTemplates
(long groupId, long[] kbTemplateIds) getGroupKBTemplates
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) int
getGroupKBTemplatesCount
(long groupId) getKBTemplate
(long kbTemplateId) getKBTemplateSearchDisplay
(long groupId, String title, String content, Date startDate, Date endDate, boolean andOperator, int[] curStartValues, int cur, int delta, com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) Returns the OSGi service identifier.updateKBTemplate
(long kbTemplateId, String title, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addKBTemplate
KBTemplate addKBTemplate(String portletId, String title, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBTemplate
KBTemplate deleteKBTemplate(long kbTemplateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBTemplates
void deleteKBTemplates(long groupId, long[] kbTemplateIds) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupKBTemplates
@Transactional(propagation=SUPPORTS, readOnly=true) List<KBTemplate> getGroupKBTemplates(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) -
getGroupKBTemplatesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupKBTemplatesCount(long groupId) -
getKBTemplate
@Transactional(propagation=SUPPORTS, readOnly=true) KBTemplate getKBTemplate(long kbTemplateId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBTemplateSearchDisplay
@Transactional(propagation=SUPPORTS, readOnly=true) KBTemplateSearchDisplay getKBTemplateSearchDisplay(long groupId, String title, String content, Date startDate, Date endDate, boolean andOperator, int[] curStartValues, int cur, int delta, com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateKBTemplate
KBTemplate updateKBTemplate(long kbTemplateId, String title, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-