Interface KBFolderService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
KBFolderServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface KBFolderService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for KBFolder. 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 TypeMethodDescriptionaddKBFolder
(String externalReferenceCode, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) deleteKBFolder
(long kbFolderId) fetchFirstChildKBFolder
(long groupId, long kbFolderId) fetchFirstChildKBFolder
(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) fetchKBFolder
(long kbFolderId) fetchKBFolderByUrlTitle
(long groupId, long parentKbFolderId, String urlTitle) getKBFolder
(long kbFolderId) getKBFolderByExternalReferenceCode
(long groupId, String externalReferenceCode) getKBFolderByUrlTitle
(long groupId, long parentKbFolderId, String urlTitle) getKBFolders
(long groupId, long parentKBFolderId, int start, int end) getKBFoldersAndKBArticles
(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) int
getKBFoldersAndKBArticlesCount
(long groupId, long parentResourcePrimKey, int status) int
getKBFoldersCount
(long groupId, long parentKBFolderId) Returns the OSGi service identifier.void
moveKBFolder
(long kbFolderId, long parentKBFolderId) moveKBFolderToTrash
(long kbFolderId) updateKBFolder
(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Method Details
-
addKBFolder
KBFolder addKBFolder(String externalReferenceCode, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolder
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder fetchKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolderByUrlTitle
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolder
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder getKBFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByUrlTitle
@Transactional(propagation=SUPPORTS, readOnly=true) KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolders
@Transactional(propagation=SUPPORTS, readOnly=true) List<KBFolder> getKBFolders(long groupId, long parentKBFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFoldersAndKBArticles
-
getKBFoldersAndKBArticlesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBFoldersAndKBArticlesCount(long groupId, long parentResourcePrimKey, int status) -
getKBFoldersCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBFoldersCount(long groupId, long parentKBFolderId) 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
-
moveKBFolder
void moveKBFolder(long kbFolderId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBFolderToTrash
KBFolder moveKBFolderToTrash(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBFolder
KBFolder updateKBFolder(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-