Class KBFolderServiceWrapper
java.lang.Object
com.liferay.knowledge.base.service.KBFolderServiceWrapper
- All Implemented Interfaces:
KBFolderService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<KBFolderService>
public class KBFolderServiceWrapper
extends Object
implements KBFolderService, com.liferay.portal.kernel.service.ServiceWrapper<KBFolderService>
Provides a wrapper for
KBFolderService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
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) void
setWrappedService
(KBFolderService kbFolderService) updateKBFolder
(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
KBFolderServiceWrapper
public KBFolderServiceWrapper() -
KBFolderServiceWrapper
-
-
Method Details
-
addKBFolder
public 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 - Specified by:
addKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
public KBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
public KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFirstChildKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
public KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFirstChildKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolder
public KBFolder fetchKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolderByUrlTitle
public KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchKBFolderByUrlTitle
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolder
public KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByExternalReferenceCode
public KBFolder getKBFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolderByExternalReferenceCode
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByUrlTitle
public KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolderByUrlTitle
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolders
public List<KBFolder> getKBFolders(long groupId, long parentKBFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolders
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFoldersAndKBArticles
public List<Object> getKBFoldersAndKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) - Specified by:
getKBFoldersAndKBArticles
in interfaceKBFolderService
-
getKBFoldersAndKBArticlesCount
public int getKBFoldersAndKBArticlesCount(long groupId, long parentResourcePrimKey, int status) - Specified by:
getKBFoldersAndKBArticlesCount
in interfaceKBFolderService
-
getKBFoldersCount
public int getKBFoldersCount(long groupId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFoldersCount
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceKBFolderService
- Returns:
- the OSGi service identifier
-
moveKBFolder
public void moveKBFolder(long kbFolderId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBFolderToTrash
public KBFolder moveKBFolderToTrash(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBFolderToTrash
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBFolder
public 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 - Specified by:
updateKBFolder
in interfaceKBFolderService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBFolderService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBFolderService>
-