@AccessControlled
@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
KBTemplateServiceUtil
Modifier and Type | Method and Description |
---|---|
KBTemplate |
addKBTemplate(java.lang.String portletId,
java.lang.String title,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KBTemplate |
deleteKBTemplate(long kbTemplateId) |
void |
deleteKBTemplates(long groupId,
long[] kbTemplateIds) |
java.util.List<KBTemplate> |
getGroupKBTemplates(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) |
int |
getGroupKBTemplatesCount(long groupId) |
KBTemplate |
getKBTemplate(long kbTemplateId) |
KBTemplateSearchDisplay |
getKBTemplateSearchDisplay(long groupId,
java.lang.String title,
java.lang.String content,
java.util.Date startDate,
java.util.Date endDate,
boolean andOperator,
int[] curStartValues,
int cur,
int delta,
com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
KBTemplate |
updateKBTemplate(long kbTemplateId,
java.lang.String title,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KBTemplate addKBTemplate(java.lang.String portletId, java.lang.String title, java.lang.String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
KBTemplate deleteKBTemplate(long kbTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
void deleteKBTemplates(long groupId, long[] kbTemplateIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBTemplate> getGroupKBTemplates(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBTemplate> orderByComparator)
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupKBTemplatesCount(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) KBTemplate getKBTemplate(long kbTemplateId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) KBTemplateSearchDisplay getKBTemplateSearchDisplay(long groupId, java.lang.String title, java.lang.String content, java.util.Date startDate, java.util.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
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
KBTemplate updateKBTemplate(long kbTemplateId, java.lang.String title, java.lang.String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException