Class KBFolderServiceUtil
java.lang.Object
com.liferay.knowledge.base.service.KBFolderServiceUtil
Provides the remote service utility for KBFolder. This utility wraps
com.liferay.knowledge.base.service.impl.KBFolderServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. 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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KBFolder
addKBFolder
(String externalReferenceCode, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KBFolder
deleteKBFolder
(long kbFolderId) static KBFolder
fetchFirstChildKBFolder
(long groupId, long kbFolderId) static KBFolder
fetchFirstChildKBFolder
(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) static KBFolder
fetchKBFolder
(long kbFolderId) static KBFolder
fetchKBFolderByUrlTitle
(long groupId, long parentKbFolderId, String urlTitle) static KBFolder
getKBFolder
(long kbFolderId) static KBFolder
getKBFolderByExternalReferenceCode
(long groupId, String externalReferenceCode) static KBFolder
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) static int
getKBFoldersAndKBArticlesCount
(long groupId, long parentResourcePrimKey, int status) static int
getKBFoldersCount
(long groupId, long parentKBFolderId) static String
Returns the OSGi service identifier.static KBFolderService
static void
moveKBFolder
(long kbFolderId, long parentKBFolderId) static KBFolder
moveKBFolderToTrash
(long kbFolderId) static KBFolder
updateKBFolder
(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
KBFolderServiceUtil
public KBFolderServiceUtil()
-
-
Method Details
-
addKBFolder
public static 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
public static KBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
public static KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
public static 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
public static KBFolder fetchKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolderByUrlTitle
public static KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolder
public static KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByExternalReferenceCode
public static KBFolder getKBFolderByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByUrlTitle
public static KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolders
public static 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
public static int getKBFoldersAndKBArticlesCount(long groupId, long parentResourcePrimKey, int status) -
getKBFoldersCount
public static int getKBFoldersCount(long groupId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
moveKBFolder
public static void moveKBFolder(long kbFolderId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBFolderToTrash
public static KBFolder moveKBFolderToTrash(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBFolder
public static 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
-
getService
-